[PATCH] compat getdents64: Use correct offset for retry [BZ #23972]

Andreas Schwab schwab@suse.de
Mon Dec 10 15:13:00 GMT 2018


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."



More information about the Libc-alpha mailing list