[PATCH] malloc: Correct size computation in realloc for dumped fake mmapped chunks

Florian Weimer fweimer@redhat.com
Thu Jun 9 19:45:00 GMT 2016


On 06/09/2016 09:22 PM, Mike Frysinger wrote:
> On 08 Jun 2016 20:51, Florian Weimer wrote:
>> For regular mmapped chunks there are two size fields (hence a reduction
>> by 2 * SIZE_SZ bytes), but for fake chunks, we only have one size field,
>> so we need to subtract SIZE_SZ bytes.
>>
>> This was initially reported as Emacs bug 23726.
>
> is it normally user visible ?  if so, i think we'd want a bug on our side
> too for it.

Well, it was, unless you were a vi user.

But the bug was never part of a released version, and the patch isn't 
exactly backporting material.  So it doesn't really matter from a 
release documentation and tracking perspective.

I can file a bug and put it into the appropriate state.  I normally file 
such bugs only if there's a risk I get side-tracked and fail to fix the bug.

Thanks,
Florian



More information about the Libc-alpha mailing list