This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21270] mmap64 silently truncates large offset values


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]