[Issue 21256] New: The toString() in Appender will crash the app

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 16 09:20:31 UTC 2020


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

          Issue ID: 21256
           Summary: The toString() in Appender will crash the app
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: bitworld at qq.com

Here is the simple test code:

import std.array;
import std.stdio;

void main() {
    Appender!string sb;
    writeln(sb.toString()); // crash here
}

--


More information about the Digitalmars-d-bugs mailing list