[PATCH] linux: Use stat_overflow to check overflow in fstatat
Andreas Schwab
schwab@linux-m68k.org
Thu Jan 14 09:29:17 GMT 2021
On Jan 14 2021, Stafford Horne via Libc-alpha wrote:
> This seems to be caused by 6073bae64c ("linux: Disentangle fstatat from
> fxstatat"). Which introduced the checks for overflow using the
> stat->__st_*_pad fields. These do not exist on all architectures, I
> cannot even find any that do exist by grepping code.
See __field64 in sysdeps/unix/sysv/linux/generic/bits/struct_stat.h.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list