[Issue 21730] null ptr dereferenced in ChunksImpl.opApply (SIGSEGV)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 1 15:28:36 UTC 2021


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

--- Comment #2 from kdevel <kdevel at vogtner.de> ---
> - Fix Issue 21730 - null ptr dereferenced in ChunksImpl.opApply (SIGSEGV)
> 
> https://github.com/dlang/phobos/pull/8025

https://github.com/dlang/phobos/pull/8025/commits/ce741c13f5dd0975b87c3ab69fc0ac1318d344f7

The "x" in 

   File(deleteme, "w+x");

is a GNU extension. POSIXly correct is

   File(deleteme, "w+");

--


More information about the Digitalmars-d-bugs mailing list