This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/20646] sysmalloc incorrectly fails with custom morecore function
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 04 Oct 2016 10:47:04 +0000
- Subject: [Bug malloc/20646] sysmalloc incorrectly fails with custom morecore function
- Auto-submitted: auto-generated
- References: <bug-20646-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20646
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
The header file says:
/* Underlying allocation function; successive calls should return
contiguous pieces of memory. */
I think this means that if you “switch heaps”, you do not return contiguous
pieces of memory, so you do not fulfill the API contract.
--
You are receiving this mail because:
You are on the CC list for the bug.