http://llvm.org/bugs/show_bug.cgi?id=3047
Summary: llvmc2 $ENV(...) segfaults when the environment variable
is missing
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
When the environment variable in question is missing, the generated code for
llvmc2 tries to create a std::string from a NULL pointer, which causes a
segfault. The attached patch fixes this problem.
--
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