[PATCH] size: Fix deref-of-null in handle_ar() function

Mark Wielaard mark@klomp.org
Tue Jul 2 11:21:10 GMT 2024


Hi,

On Mon, Jul 01, 2024 at 09:54:46PM +0100, Sam James wrote:
> Maks Mishin <maks.mishinfz@gmail.com> writes:
> 
> > Pointer, returned from function 'elf_getarhdr' at size.c:362,
> > may be NULL and is dereferenced at size.c:367.
> >
> 
> Your other patch has "Found by RASU JSC." but the rest don't. Are they
> all found by it? If so, please say that.

Also please explain why a patch is needed.  Last time you submitted
patches I just gave up reviewing them because most of them were just
bogus. Using a tool to find issues is fine, but you do need to explain
why you believe the tool reports are correct.

https://inbox.sourceware.org/elfutils-devel/20240405190452.GH1292@gnu.wildebeest.org/

Cheers,

Mark


More information about the Elfutils-devel mailing list