This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21270] mmap64 silently truncates large offset values
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 20 Mar 2017 12:15:44 +0000
- Subject: [Bug libc/21270] mmap64 silently truncates large offset values
- Auto-submitted: auto-generated
- References: <bug-21270-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21270
Szabolcs Nagy <nszabolcs at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nszabolcs at gmail dot com
--- Comment #2 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
posix allows EINVAL if ".. off is not a multiple of the page size as returned
by sysconf(), or is considered invalid by the implementation".
so EINVAL is conforming too, silently truncating is not. (musl libc uses
EINVAL).
--
You are receiving this mail because:
You are on the CC list for the bug.