commit | 268e805de045c5ec28be952c7c6b05bb997f217e | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Fri Jan 24 21:55:48 2020 |
committer | Mark Wielaard <mark@klomp.org> | Thu Feb 06 20:29:55 2020 |
tree | e5ed64f2bd13c703aa4c4edc4fa5949e8776861e | |
parent | 9b0fb4440ad62189dd38687ad3aabe9d1ebcb67e [diff] |
libdwfl: Fix some GCC10 -Wnull-dereference issues. 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. Signed-off-by: Mark Wielaard <mark@klomp.org>