[Bug libc/18873] New: posix_fallocate overflow check ineffective

eggert at gnu dot org sourceware-bugzilla@sourceware.org
Wed Aug 26 00:52:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=18873

            Bug ID: 18873
           Summary: posix_fallocate overflow check ineffective
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: eggert at gnu dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 8554
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8554&action=edit
Fix broken overflow check in posix_fallocate

A Coverity scan found typos in the recent changes to posix_fallocate that
render the overflow check ineffective.  GCC no doubt just optimizes it away. 
Proposed patch attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list