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

Mike Frysinger vapier@gentoo.org
Thu Jun 9 20:19:00 GMT 2016


On 09 Jun 2016 21:45, Florian Weimer wrote:
> 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.

np then
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160609/50fdfee0/attachment.sig>


More information about the Libc-alpha mailing list