www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23215] New: calling std.file.remove with null string

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

          Issue ID: 23215
           Summary: calling std.file.remove with null string segfaults in
                    strlen
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: d.bugs webfreak.org

To reproduce:

```d
string s;
remove(s);
```

--
Jun 26 2022