[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2018-03-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #10 from anonymous4 --- (In reply to Walter Bright from comment #6) > This check is limited to @safe code to avoid breaking too much existing code. For the record: escaping scoped data should stay allowed is

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2018-03-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 Walter Bright changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #7 from Walter Bright --- (In reply to timon.gehr from comment #2) > The issue is that "it compiles and runs without error". (the second > assertion asserts that there is memory corruption) The compiler has to >

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #6 from Walter Bright --- (In reply to hsteoh from comment #4) > Another failing case that illustrates the problem: > -- > int delegate() globDg; > > void func(scope int delegate() dg) { > globDg =

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2014-10-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 Mike slavo5...@yahoo.com changed: What|Removed |Added CC||slavo5...@yahoo.com --

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2014-07-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2014-07-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #4 from hst...@quickfur.ath.cx --- Another failing case that illustrates the problem: -- int delegate() globDg; void func(scope int delegate() dg) { globDg = dg; // should be rejected but isn't globDg(); } void sub()

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2014-06-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 David Nadlinger c...@klickverbot.at changed: What|Removed |Added Keywords||safe

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2012-01-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5270 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2012-01-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5270 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED