[Issue 19252] Templated format with variable width allocates 2GB of RAM per call.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 6 09:38:37 UTC 2018


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

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/c156f4ad95c2053ebcd2e6ced9d37ce5af8cc470
Fix issue 19252: avoid ridiculous format length overestimate; dynamic-width
strings should estimate width 0, not int.max

https://github.com/dlang/phobos/commit/f12924e8e21cc2c0ef9a54178611c242a4aa8178
Merge pull request #6713 from
FeepingCreature/fix/avoid-ludicrous-overallocation

Fix issue 19252: avoid ludicrous format length overestimate

--


More information about the Digitalmars-d-bugs mailing list