[Issue 21729] rawRead derefences null pointer if invoked on closed File (segfault)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 18 14:14:57 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21729
Berni44 <bugzilla at bernis-buecher.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at bernis-buecher.de
--- Comment #1 from Berni44 <bugzilla at bernis-buecher.de> ---
I think, before doing this "trustedFread" in (currently) line 1057, there needs
to be an `enforce(_p !is null, some message)`. But I'm not firm enough in
std.stdio, so I don't want to file a fixing PR. Might fix 21728 too.
--
More information about the Digitalmars-d-bugs
mailing list