mirror of
https://passt.top/passt
synced 2024-12-22 21:55:22 +00:00
pasta: Check for zero d_reclen returned by getdents64() syscall
Seen on PPC with some older kernel versions: we seemingly have bytes left to read from the returned array of dirent structs, but d_reclen is zero: this, and all the subsequent entries, are not valid. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
64f7d81d9a
commit
34872fadec