summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 01:00:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 01:37:14 +0200
commitfaf7bbc2d051f7351af5761e3f84f1c3c8b6479f (patch)
tree027dde053f3e55520554dc81576f1f86b9061386 /ChangeLog
parent298a8b59d43cf9a75c44e9b2836e07282a6d34ed (diff)
downloadglibc-faf7bbc2d051f7351af5761e3f84f1c3c8b6479f.tar.gz
glibc-faf7bbc2d051f7351af5761e3f84f1c3c8b6479f.tar.xz
glibc-faf7bbc2d051f7351af5761e3f84f1c3c8b6479f.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 74c14d4f84..0a2e082d73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 	of sendfile.
 	* sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
 	(sendfile64): New strong alias.
+	* 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.
 
 2018-06-15  Joseph Myers  <joseph@codesourcery.com>