[PATCH] unstrip: Fix deref-of-null in copy_elided_sections()

Mark Wielaard mark@klomp.org
Tue Jul 2 11:25:06 GMT 2024


On Mon, Jul 01, 2024 at 11:53:13PM +0300, Maks Mishin wrote:
> Pointer `symstrdata` is dereferenced at unstrip.c:1977 without checking for NULL.

If there has to be a NULL check then it needs to be when symstrdata is
assigned a value from elf_getdata.

Cheers,

Mark


More information about the Elfutils-devel mailing list