[cfe-commits] [PATCH] review request - bugzilla 9806 - fix assert in strncpy/strncat checker

Lenny Maiorani lenny at Colorado.EDU
Thu Apr 28 08:38:21 PDT 2011


Attached is a patch with eliminates an assert in the strncpy/strncat 
checker caused by not validating a cast was successful. If the value of 
an argument was unknown, the cast would result in a NULL pointer which 
was later being dereferenced.

Please review. This patch is also attached to bugzilla #9806.

-Lenny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: strncpy-strncat-fix-bz9806.diff
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110428/72626ff4/attachment.bin>


More information about the cfe-commits mailing list