Bug 23215 – calling std.file.remove with null string segfaults in strlen
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2022-06-26T16:49:11Z
Last change time
2022-06-28T13:16:35Z
Keywords
pull
Assigned to
No Owner
Creator
Jan Jurzitza
Comments
Comment #0 by d.bugs — 2022-06-26T16:49:11Z
To reproduce:
```d
string s;
remove(s);
```
Comment #1 by dlang-bot — 2022-06-26T16:52:15Z
@WebFreak001 created dlang/phobos pull request #8483 "fix Issue 23215: segfault in std.file.remove" fixing this issue:
- fix Issue 23215: segfault in std.file.remove
https://github.com/dlang/phobos/pull/8483
Comment #2 by dlang-bot — 2022-06-28T13:16:35Z
dlang/phobos pull request #8483 "fix Issue 23215: segfault in std.file.remove" was merged into master:
- 73589e6f818d4aada51d1fddd347f887f979d4da by WebFreak001:
fix Issue 23215: segfault in std.file.remove
https://github.com/dlang/phobos/pull/8483