[Issue 17102] std.write.file generates a segmentation fault when the file name is a string with a default value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 21 09:48:15 PST 2017


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

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

https://github.com/dlang/phobos/commit/e80d3b5745e7875980f6c69a2c09cccb647fa9a6
Fix Issue 17102: std.write.file generates a segmentation fault when the
file name is a string with a default value

While trying to build the file name for exception
from 0terminated namez, don't pass null to strlen

https://github.com/dlang/phobos/commit/c6d33505dc5be6c2e47ebdbd653876eb2ac566e9
Merge pull request #5049 from Burgos/fix-17102

fix issue 17102 - Don't pass null to strlen in std.file.cenforce
merged-on-behalf-of: Jack Stouffer <jack at jackstouffer.com>

--


More information about the Digitalmars-d-bugs mailing list