[PATCH 3/4] sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)

Florian Weimer fweimer@redhat.com
Mon Jan 17 09:32:12 GMT 2022


* Siddhesh Poyarekar:

> On 17/01/2022 14:45, Florian Weimer wrote:
>> It has in linkobj/libc.so:
>> $ eu-readelf --symbols=.dynsym linkobj/libc.so | grep clnt_create
>>   3126: 000387a0    465 FUNC    GLOBAL DEFAULT       14 clnt_create@@GLIBC_2.0
>
> That's weird, shouldn't it be non-default given that it is deprecated?
> Why is it needed for internal linking?  For tests?

Yes.  linkobj/libc.so and libc.so are different.  It's a compatibility
symbol in libc.so.

Thanks,
Florian



More information about the Libc-alpha mailing list