[PATCH 3/4] sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
Siddhesh Poyarekar
siddhesh@gotplt.org
Mon Jan 17 09:42:35 GMT 2022
On 17/01/2022 15:02, Florian Weimer wrote:
> * 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.
OK then.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
More information about the Libc-alpha
mailing list