[Bug malloc/20646] sysmalloc incorrectly fails with custom morecore function

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue Oct 4 10:47:00 GMT 2016


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.


More information about the Glibc-bugs mailing list