]> granicus.if.org Git - clang/commit
Static analyzer: Catch calls to malloc() with
authorTed Kremenek <kremenek@apple.com>
Tue, 16 Nov 2010 18:47:04 +0000 (18:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 16 Nov 2010 18:47:04 +0000 (18:47 +0000)
commitb12fbc216f77bd309f8c416834b341ff43325aab
tree1e7525dc08db692e03cacee61e8f924b2aa1be88
parent4383e18fc3d79fd536c6992432e180a11bcb657d
Static analyzer: Catch calls to malloc() with
allocation sizes of 0 bytes.

Fixes PR 2899.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/UnixAPIChecker.cpp
test/Analysis/unix-fns.c