D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23215 - calling std.file.remove with null string segfaults in strlen
Summary: calling std.file.remove with null string segfaults in strlen
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P1 major
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-06-26 16:49 UTC by Jan Jurzitza
Modified: 2022-06-28 13:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jan Jurzitza 2022-06-26 16:49:11 UTC
To reproduce:

```d
string s;
remove(s);
```
Comment 1 Dlang Bot 2022-06-26 16:52:15 UTC
@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 Dlang Bot 2022-06-28 13:16:35 UTC
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