[Bug libc/22457] New: Generic preadv/pwritev incorrectly calls __posix_memalign
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Sat Nov 18 15:21:00 GMT 2017
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.
More information about the Glibc-bugs
mailing list