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/18873] New: posix_fallocate overflow check ineffective


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.


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