[PATCH] [BZ #18422] elf/tst-audit tests fail without PLT entries
Carlos O'Donell
carlos@redhat.com
Wed May 27 08:12:00 GMT 2015
On 05/26/2015 04:00 AM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
>
>> In summary:
>> - My next worry is about free of calloc'd data that is now using dl-minimal.c
>
> Anything allocated with dl-minimal must strictly be kept inside ld.so
> and never be freed.
I agree.
However, now that we are delaying the interposition until we process the
GOT relocs, the tst-audit2 test fails because what was once a call to libc.so's
calloc is now a call to dl-minimal. I haven't debugged this so I don't know if
we're tracking that calloc correctly such that we don't attempt to free it.
Did I get something wrong?
Cheers,
Carlos.
More information about the Libc-alpha
mailing list