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/21019] New: [mips] n32 lseek incorrect on overflow


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.

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