[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1807140750040.3356@hadrien>
Date: Sat, 14 Jul 2018 07:54:29 -0400 (EDT)
From: Julia Lawall <julia.lawall@...6.fr>
To: Dominique Martinet <asmadeus@...ewreck.org>
cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Ville Syrjälä <ville.syrjala@...ux.intel.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
Gilles Muller <Gilles.Muller@...6.fr>,
Nicolas Palix <nicolas.palix@...g.fr>,
Michal Marek <michal.lkml@...kovi.net>, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org, fengguang.wu@...el.com
Subject: Re: [PATCH v2] coccinelle: strncpy+truncation by strscpy
> +msg = "SUGGESTION: strncpy followed by truncation can be strscpy, if the destination buffer does not need to be fully overwritten"
> +coccilib.report.print_report(p[0], msg)
This is the first SUGGESTION. I don't know if anyone out there is relying
on it always being WARNING or ERROR.
julia
Powered by blists - more mailing lists