PING: PATCH: [BZ #14562] Properly handle fencepost with MALLOC_ALIGN_MASK

Siddhesh Poyarekar siddhesh@redhat.com
Mon Sep 24 12:54:00 GMT 2012


On Wed, 12 Sep 2012 08:37:56 -0700, H.J. wrote:
> >
> >         [BZ #14562]
> >         * malloc/arena.c (heap_trim): Properly get fencepost and
> > adjust new chunk size with MALLOC_ALIGN_MASK.

Have you figured out how the misalignment happens?  It looks as though
heap->size should be aligned to page mask, and any grow/shrink requests
(coming from int_malloc) should also pass correctly aligned parameters,
so any such misalignment should probably be a bug elsewhere?

Regards,
Siddhesh



More information about the Libc-alpha mailing list