[Issue 7972] std.file.read allocate a buffer the size of the file even when given a upper limit

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Mar 20 16:40:51 PDT 2016


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/832928adafe372b7fd920b0d7c2e2cf433984b47
Don't allocate more than upTo bytes in std.file.read

Fixes Issue 7972

--


More information about the Digitalmars-d-bugs mailing list