tags 852018 +patch
thanks
Hello Bernhard,
On Thu, Jan 26, 2017 at 05:30:07PM +0100, Bernhard Übelacker wrote:
> Hello Helge,
> net being the zapping maintainer, I just tried to have a look at it.
Thanks!
> It looks like alloc_aligned does truncate the pointer to 32 bits.
>
> Therefore storing the original pointer, for being able to free it later,
> fails.
>
> common/alloc.c:
> 37 p = (void *)(((long)((char *) b + align)) & -align);
>
> 1: b = (void *) 0x555555c04a20
> 2: p = (void *) 0x55c04a40
>
> Attached patch should fix the issue.
> Even better would probably be build with HAVE_MEMALIGN defined.
Yes, this patch works. I'll see that I get it into Debian testing as
fast as possible.
Thanks again
Helge
--
Dr. Helge Kreutzmann debian@helgefjell.de
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
Attachment:
signature.asc
Description: Digital signature