http://llvm.org/bugs/show_bug.cgi?id=13678
Bug #: 13678
Summary: Exception table generation does not retry on buffer
overflow
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
JITEmitter::finishFunction() calls EmitDwarfTable() to generate the exception
tables for the function, but doesn't check for a buffer overflow afterwards.
As a result of this, we can end up with a partial exception record for a
function which can result in a seg-fault during exception handling.
The attached patch fixes it, I haven't figured out how to implement a unit test
for it yet.
--
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