[LLVMbugs] [Bug 8331] New: The return value of realloc should be checked before the next write
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Oct 7 11:36:07 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8331
Summary: The return value of realloc should be checked before
the next write
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: tom.care at uqconnect.edu.au
ReportedBy: tom.care at uqconnect.edu.au
CC: kremenek at apple.com, llvmbugs at cs.uiuc.edu
After a realloc, the return value should be null checked, especially if there
is an offset write to the pointer afterwards. A checker for this should be
relatively simple.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list