[Issue 5320] New: gcstub/gc.d: SEGV because of missing returns
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 4 14:06:47 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5320
Summary: gcstub/gc.d: SEGV because of missing returns
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: druntime
AssignedTo: sean at invisibleduck.org
ReportedBy: ibuclaw at ubuntu.com
--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-12-04 14:05:13 PST ---
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 );
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list