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/22457] New: Generic preadv/pwritev incorrectly calls __posix_memalign


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

            Bug ID: 22457
           Summary: Generic preadv/pwritev incorrectly calls
                    __posix_memalign
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: Hurd

An interposed malloc will not override __posix_memalign, so these functions
free an invalid pointer.

This is not a problem on Linux because the system calls are always used.

My advice would be to replace these functions with an ENOSYS stub until Hurd
implements them.

-- 
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]