[Issue 16535] writeln("a") is safe, stdout.writeln("a") is not

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 25 06:03:54 PDT 2016


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

Jack Stouffer <jack at jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack at jackstouffer.com

--- Comment #1 from Jack Stouffer <jack at jackstouffer.com> ---
Currently, stdout.writeln("a") should be unsafe.

This is another example of the root cause of both
https://issues.dlang.org/show_bug.cgi?id=15768 and
https://issues.dlang.org/show_bug.cgi?id=13727

The root cause being that large parts of std.stdio are not, in reality, memory
safe and are still marked as @trusted.

--


More information about the Digitalmars-d-bugs mailing list