This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/23972] __old_getdents64 uses wrong d_off value on overflow


https://sourceware.org/bugzilla/show_bug.cgi?id=23972

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.28/master has been updated
       via  5f1ae50a78d3f66b195668f1b863832d85d27f2f (commit)
      from  8c89e6b02d95cb4c0155eb3efc18fbd9c0f4582f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5f1ae50a78d3f66b195668f1b863832d85d27f2f

commit 5f1ae50a78d3f66b195668f1b863832d85d27f2f
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Dec 10 16:50:37 2018 +0100

    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)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                      |   10 ++++++++++
 NEWS                                           |    1 +
 sysdeps/unix/sysv/linux/getdents64.c           |   16 +++++++++++++---
 sysdeps/unix/sysv/linux/tst-readdir64-compat.c |    4 ++++
 4 files changed, 28 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]