December 17, 2008 [Issue 2519] New: Segfault when >> used in an invalid slice | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2519 Summary: Segfault when >> used in an invalid slice Product: D Version: 1.030 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: clugdbug@yahoo.com.au A one-liner. Applies to << and >>> as well. Happens in both D1.038 and D2.022; not a recent regression (happens in D1.030 as well). Happens every time there's an invalid slice with >> in it. --- int x = x[0..x>>1]; --- //bug.d(1): Error: int cannot be sliced with [] //SEGFAULT -- |
February 03, 2009 [Issue 2519] Segfault when >> used in an invalid slice | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2519 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from clugdbug@yahoo.com.au 2009-02-03 08:01 ------- Fixed D1.039 -- |
Copyright © 1999-2021 by the D Language Foundation