← Back to index
|
Original Bugzilla link
Bug 5320 – gcstub/gc.d: SEGV because of missing returns
Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2010-12-04T14:05:00Z
Last change time
2011-01-16T21:53:18Z
Keywords
patch
Assigned to
sean
Creator
ibuclaw
Comments
Comment #0
by ibuclaw — 2010-12-04T14:05:13Z
Patch: --- druntime-trunk~/src/gcstub/gc.d 2010-07-22 22:53:04.000000000 +0100 +++ druntime-trunk/src/gcstub/gc.d 2010-12-04 21:42:17.513486612 +0000 @@ -292,7 +292,7 @@ onOutOfMemoryError(); r[nroots++] = p; roots = r; - + return; } return proxy.gc_addRoot( p ); } @@ -309,6 +309,7 @@ r[nranges].len = sz; ranges = r; ++nranges; + return; } return proxy.gc_addRange( p, sz ); }
Comment #1
by bugzilla — 2011-01-16T21:53:18Z
http://www.dsource.org/projects/druntime/changeset/516