http://llvm.org/bugs/show_bug.cgi?id=13131
Bug #: 13131
Summary: warn on NULL as vararg argument
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Consider:
execl("/bin/true", "true", NULL);
We do not warn on this, but the code is broken if NULL is defined as 0. We
should warn whenever NULL is passed through a vararg (and expands to an
integer).
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs