]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Check mod is not NULL in check_module.
authorMark Wielaard <mjw@redhat.com>
Sat, 23 May 2015 22:07:33 +0000 (00:07 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 27 May 2015 21:15:11 +0000 (23:15 +0200)
commite115bda377091bc211a786cdc7474337dd5508b6
tree212dc6203775cf044974fd355d5a5529fe62a11e
parent712f3c8930a372345b94270ede67233f94a7263b
libdwfl: Check mod is not NULL in check_module.

check_module is called from dwfl_module_relocate_address and from
dwfl_module_address_section. Both could take a NULL Dwfl_Module if
an earlier error had occured. Make check_module return immediately
indicating an issue in that case.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/derelocate.c