[patch] Warn on memcmp(a, b, sizeof(a) != 0) & co
thakis at chromium.org
Wed Jan 8 16:41:48 PST 2014
On Wed, Jan 8, 2014 at 12:13 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> On Wed, Jan 08, 2014 at 11:48:05AM -0800, Nico Weber wrote:
> > I did experiment with this extension a bit. It finds another 1.5 bugs in
> > chromium (a real bug in NSS, and somewhat questionable code in chromium
> > itself), with 0.5 false positives (it's actually 0, but in 1 case it's
> > fairly easy to accidentally enable the warning) – see
> > http://llvm.org/bugs/show_bug.cgi?id=18297 , comments 6 and later.
> For NetBSD, I think we had two bugs in non-critical branches and no
> false positives. That's for the committed version.
Thanks, but the committed version is already committed :-) I'm wondering if
making this warning broader is useful.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits