]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: When we find a compressed image, use that, don't search for others
authorMark Wielaard <mark@klomp.org>
Tue, 16 Jun 2020 16:19:45 +0000 (18:19 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 19 Jun 2020 17:03:14 +0000 (19:03 +0200)
commit6e3693687850c538204f781e4e0fecbaa5adacdc
treefb8c5c4dc779bed21b50241f850f1a95422e4f3a
parent3ba91e83e2b6b1e062e5c7ff8ab2d26e276f2987
libdwfl: When we find a compressed image, use that, don't search for others

We try to find a compressed vmlinux image ending with either .gz, bz2 or
xz. Stop searching if we find one. Otherwise we will leak a file descriptor
for an earlier one we opened.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/linux-kernel-modules.c