Bug 5817 – rt.lifetime: no generic overflow catching code for _d_newarray(i)T

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-04-07T08:46:00Z
Last change time
2015-06-09T05:11:56Z
Assigned to
schveiguy
Creator
ibuclaw

Attachments

IDFilenameSummaryContent-TypeSize
940overflow.patchcatch size overflowstext/plain1161

Comments

Comment #0 by ibuclaw — 2011-04-07T08:46:15Z
Created attachment 940 catch size overflows Without, no OOM exception is thrown and a SEGV occurs in memset. Regards
Comment #1 by ibuclaw — 2011-04-07T08:48:12Z
See testgc2.d in the testsuite for testcase that triggers SEGV.
Comment #2 by schveiguy — 2011-04-07T10:10:53Z
This one's a no-brainer. Thanks
Comment #3 by ibuclaw — 2011-06-15T23:17:46Z
Comment #4 by schveiguy — 2011-06-16T08:10:02Z
Thanks, Iain. Sorry I didn't get to this.