[PATCH] malloc/tst-posix_memalign.c: Tidy up code.
Will Newton
will.newton@linaro.org
Wed Oct 9 13:48:00 GMT 2013
On 9 October 2013 12:11, Andreas Jaeger <aj@suse.com> wrote:
> On 10/03/2013 02:24 PM, Will Newton wrote:
>>
>> Add some comments and call free on all potentially allocated pointers.
>
> Will, does the test work for you?
Yes, it works in my testing so far.
> I get:
>
> *** Error in `/home/aj/build/glibc/x86-64/malloc/tst-posix_memalign':
> free(): invalid next size (normal): 0x00007f7c3ba94010 ***
>
> Note that I use MALLOC_CHECK_=3 in my environment.
>
> Could you fix it the test, please?
The test is working as expected, the problem is caused by a bug in the
malloc check implementation. I have submitted a patch, thanks for
picking this up!
--
Will Newton
Toolchain Working Group, Linaro
More information about the Libc-alpha
mailing list