Skip to content
Commit faf7bbc2 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

hurd: Detect 32bit overflow in value returned by lseek

	* sysdeps/mach/hurd/lseek.c: Include <errno.h>.
	* sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value returned
	by __lseek64 can fit off_t, return EOVERFLOW otherwise.
parent 298a8b59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment