[PATCH] libdwfl: add check for elf_memory return value

Mark Wielaard mark@klomp.org
Thu Jan 26 20:48:39 GMT 2023


Hi Aleksei,

On Wed, Jan 25, 2023 at 02:16:57PM +0000, Aleksei Vetrov via Elfutils-devel wrote:
> From: Aleksei Vetrov <vvvvvv@google.com>
> 
> elf_memory call in __libdw_open_elf_memory can return NULL. It was not
> checked and led to the null pointer dereference.

Looks good. Pushed.
Thanks for finding this,

Cheers,

Mark



More information about the Elfutils-devel mailing list