[Issue 15586] std.utf.toUTF8() segfaults when fed an invalid dchar
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jan 21 15:07:07 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15586
--- Comment #6 from thomas.bockman at gmail.com ---
I may have reduced this one too far:
https://github.com/D-Programming-Language/phobos/pull/3943#issuecomment-173381348
Arguably, the real bug is that certain other functions in Phobos call
`toUTF8()` without verifying that the input they are supplying satisfies the
contract. This will be a bit more work to fix, though.
--
More information about the Digitalmars-d-bugs
mailing list