Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434614 - sys-devel/llvm-3.1-r2: Exception table generation does not retry on buffer overflow
Summary: sys-devel/llvm-3.1-r2: Exception table generation does not retry on buffer ov...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 17:19 UTC by wbrana
Modified: 2013-05-01 16:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wbrana 2012-09-10 17:19:14 UTC
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.
upstream bug: http://llvm.org/bugs/show_bug.cgi?id=13678
Comment 1 Bernard Cafarelli gentoo-dev 2012-09-20 08:11:37 UTC
Thanks for the report! Do you have a link to the llvm-dev mailing discussion? Or if feedback was positive, we can add it to our patchs