mirror of
https://github.com/golang/go
synced 2024-11-05 11:56:12 -07:00
b3f10971cb
Darwin's syscall.Dirent is declared as larger than the kernel may actually return. Don't assume that we can copy the whole thing out of a buffer. Fixes golang/go#37269 Change-Id: I7f2b273f3a14071df8b5ff5bd70e59d784f6d187 Reviewed-on: https://go-review.googlesource.com/c/tools/+/221381 Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
fastwalk_dirent_fileno.go | ||
fastwalk_dirent_ino.go | ||
fastwalk_dirent_namlen_bsd.go | ||
fastwalk_dirent_namlen_linux.go | ||
fastwalk_portable.go | ||
fastwalk_test.go | ||
fastwalk_unix.go | ||
fastwalk.go |