diff options
| author | Evan Haas <evan@lagerdata.com> | 2022-04-06 23:48:30 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-04-15 11:19:23 +0300 |
| commit | 618398b7d3c0df13dcb3d87540e400665b2c02dc (patch) | |
| tree | 3bd67392b54ffcbc38ed178bbff0119abdce1811 /src/type.zig | |
| parent | d66c61a2cf69665223815a1a12a1f93b30b99571 (diff) | |
| download | zig-618398b7d3c0df13dcb3d87540e400665b2c02dc.tar.gz zig-618398b7d3c0df13dcb3d87540e400665b2c02dc.zip | |
std.fs: prevent possible integer overflow in Dir.makePath
The call to `makeDir` for the top-level component of `sub_path`
can return `error.FileNotFound` if the directory represented by
`self` has been deleted.
Fixes #11397
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
