]> git.ipfire.org Git - thirdparty/glibc.git/commit
compat getdents64: Use correct offset for retry [BZ #23972]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 10 Dec 2018 15:50:37 +0000 (16:50 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 10 Dec 2018 15:50:37 +0000 (16:50 +0100)
commit5f1ae50a78d3f66b195668f1b863832d85d27f2f
tree6ddec18300169cb469b0570b61ba36ccff0afb4b
parent8c89e6b02d95cb4c0155eb3efc18fbd9c0f4582f
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.

(cherry picked from commit 8d20a2f414fa52aceef8a0e3675415df54a840db)
ChangeLog
NEWS
sysdeps/unix/sysv/linux/getdents64.c
sysdeps/unix/sysv/linux/tst-readdir64-compat.c