[Bug libc/21019] New: [mips] n32 lseek incorrect on overflow
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Jan 2 22:59:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=21019
Bug ID: 21019
Summary: [mips] n32 lseek incorrect on overflow
Product: glibc
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Host: mips64*-*-linux*
The MIPS n32 version of lseek fails to detect results that overflow 32-bit
off_t. Formerly (before Adhemerval's lseek consolidation) it incorrectly
aliased lseek64, so returning results outside the range of the return type; now
it truncates the 64-bit return from the lseek syscall to 32 bits (and now,
after that consolidation, lseek64 wrongly truncates as well, but that bug
hasn't appeared in a release so this report is specifically for lseek not
lseek64).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list