[PATCH] Ignore report when the argument to malloc is assigned known value
hiraditya at msn.com
Thu May 21 16:21:37 PDT 2015
Also replaced isa with dyn_cast.
Reject multiplication by zero cases in MallocOverflowSecurityChecker
Currently MallocOverflowSecurityChecker does not catch cases like: malloc(n * 0 * sizeof(int));
This patch rejects such cases.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10327 bytes
Desc: not available
More information about the cfe-commits