This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] compat getdents64: Use correct offset for retry [BZ #23972]
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 10 Dec 2018 16:11:50 +0100
- Subject: Re: [PATCH] compat getdents64: Use correct offset for retry [BZ #23972]
- References: <87efap5x5n.fsf@oldenburg2.str.redhat.com>
On Dez 10 2018, Florian Weimer <fweimer@redhat.com> wrote:
> [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.
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."