This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22457] New: Generic preadv/pwritev incorrectly calls __posix_memalign
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 18 Nov 2017 15:21:23 +0000
- Subject: [Bug libc/22457] New: Generic preadv/pwritev incorrectly calls __posix_memalign
- Auto-submitted: auto-generated
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.