Endless getdents() in vfat filesystem
From: Vegard Nossum
Date: Fri Nov 13 2015 - 20:20:43 EST
Hi,
Using the attached disk image I observe that getdents() never returns
the end of the directory, i.e. mounting the disk image on a loopback
device and running 'ls' under strace shows an endless stream of:
getdents(3, /* 2 entries */, 32768) = 48
getdents(3, /* 2 entries */, 32768) = 48
getdents(3, /* 2 entries */, 32768) = 48
...
Vegard
Attachment:
vfat.img.bz2
Description: application/bzip