This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Check result of gelf_get* calls in relocate.c
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 18 Feb 2016 14:53:41 +0100
- Subject: Re: [PATCH] libdwfl: Check result of gelf_get* calls in relocate.c
On Thu, 2016-02-11 at 13:24 +0100, Mark Wielaard wrote:
> For corrupted ELF files gelf_get calls might fail in which case it
> is better to immediately return an error instead of using the NULL
> result and crashing.
Pushed to master.