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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 4 12:44:15 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=5270

--- Comment #10 from anonymous4 <dfj1esp02 at sneakemail.com> ---
(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 unsafe code, it's a
useful pattern, the code would just respect scoping manually.

--


More information about the Digitalmars-d-bugs mailing list