diff options
| author | Florian Weimer <fweimer@redhat.com> | 2018-12-10 14:14:45 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2018-12-10 16:25:09 +0100 |
| commit | 8d20a2f414fa52aceef8a0e3675415df54a840db (patch) | |
| tree | 5b2999ee9361ad4b89d85a51253a8e6bfd5d242f /ChangeLog | |
| parent | 80472e2fba099c8da559bd524486354636ed0c4f (diff) | |
| download | glibc-8d20a2f414fa52aceef8a0e3675415df54a840db.tar.xz glibc-8d20a2f414fa52aceef8a0e3675415df54a840db.zip | |
compat getdents64: Use correct offset for retry [BZ #23972]
d_off is the offset of the *next* entry, not the offset of the current
entry.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2018-12-10 Florian Weimer <fweimer@redhat.com> + + [BZ #23972] + * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check + offset instead of count for clarity. Fix typo in comment. + (__old_getdents64): Keep track of previous offset. Use it to call + handle_overflow. + * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check + that d_off is never zero. + 2018-12-10 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to |
