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

Ted Kremenek kremenek at apple.com
Thu Apr 28 10:42:53 PDT 2011


Looks good to me!

On Apr 28, 2011, at 8:38 AM, Lenny Maiorani wrote:

> 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
> 
> <strncpy-strncat-fix-bz9806.diff>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list