[PATCH] libdwfl: Fix some GCC10 -Wnull-dereference issues.

Mark Wielaard mark@klomp.org
Thu Feb 6 20:31:00 GMT 2020


On Fri, 2020-01-24 at 23:28 +0100, Mark Wielaard wrote:
> GCC10 on some arches will warn about possible NULL derefences.
> In the libdwfl linux-kernel-modules.c cases it might be caught already
> by earlier calls to get_release (). But it is hard to see that will
> really always happen. So do an explicit NULL check just in case.

I pushed this to master.



More information about the Elfutils-devel mailing list