# std.c: Fix incorrect dirent structure \(\#11602\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/43373e61fa4ff7098b7b481fa72c1d205c530421)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 43373e61fa4ff7098b7b481fa72c1d205c530421

Requested commit: 43373e61fa4ff7098b7b481fa72c1d205c530421

Commit: 43373e61fa4ff7098b7b481fa72c1d205c530421

Tree: 10087b9f20000365b15eefcda7c562bc62b5644d

Author: Yuto Oguchi

Committer: GitHub

## Message

```
std.c: Fix incorrect dirent structure (#11602)

d_name is a null-terminated string, but it is not guaranteed that the
last byte of the array is null.
```

## Parents

- [e0a0df5a8a815ce99b40fd97a74b51d3fa9ab35d](https://git.cafe/gitcafe/zig/commit/e0a0df5a8a815ce99b40fd97a74b51d3fa9ab35d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/43373e61fa4ff7098b7b481fa72c1d205c530421?format=markdown)
