[cfe-commits] [PATCH] review request - strcmp/strcasecmp security checker

Lenny Maiorani lenny at Colorado.EDU
Wed Apr 6 15:25:21 PDT 2011

Add security syntax checker for strcmp() and strcasecmp() which causes the Static Analyzer to generate a warning any time the strcmp() function is used with a note suggesting to use a function which provides bounded buffers such as strncmp() or strncasecmp(). CWE-119.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: strcmp-and-strcasecmp-security-checker.diff
Type: text/x-patch
Size: 5935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110406/6d352bc8/attachment.bin>

More information about the cfe-commits mailing list