[Issue 3305] Segfault(expression.c) with recursive struct template alias expressions
https://issues.dlang.org/show_bug.cgi?id=3305 Andrei Alexandrescu changed: What|Removed |Added Version|2.022 |D2 --
[Issue 3305] Segfault(expression.c) with recursive struct template alias expressions
http://d.puremagic.com/issues/show_bug.cgi?id=3305 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #2 from Walter Bright 2009-10-06 02:18:14 PDT --- Fixed dmd 1.048 and 2.033 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3305] Segfault(expression.c) with recursive struct template alias expressions
http://d.puremagic.com/issues/show_bug.cgi?id=3305 Don changed: What|Removed |Added Keywords||patch --- Comment #1 from Don 2009-09-25 06:52:20 PDT --- This is trivial. expression.c, line 1246. It's already an error, we just need to prevent it from crashing. Expression *Expression::deref() { //printf("Expression::deref()\n"); -if (type->ty == Treference) +if (type && type->ty == Treference) {Expression *e; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---