[patch] Warn on memcmp(a, b, sizeof(a) != 0) & co
joerg at britannica.bec.de
Wed Jan 8 12:13:19 PST 2014
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.
More information about the cfe-commits