[LLVMbugs] [Bug 14242] New: typeid() on dereferenced null pointer does not throw std::bad_typeid
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 2 06:46:26 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14242
Bug #: 14242
Summary: typeid() on dereferenced null pointer does not throw
std::bad_typeid
Product: clang
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ulfalizer at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
No exception is thrown for
#include <typeinfo>
int main() { typeid(*(int*)0); }
--
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