[PATCH] elf: sanitize objname in _dl_signal_error
Jiangfeng Xiao
xiaojiangfeng@huawei.com
Tue Apr 2 15:06:28 GMT 2024
On 2024/4/2 23:00, H.J. Lu wrote:
>>>
>>
>> Maybe. However, the glibc code may reference null pointers,
>> which should be fixed.
>
> Not if a null pointer should never happen.
>
If the fatal_error(0, NULL, NULL, NULL, "invalid mode parameter")
code in the _dl_signal_error function will never be executed,
delete the redundant code. If it is possible, even if the
possibility is very low, it should be fixed.
More information about the Libc-alpha
mailing list