]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Don't use a FDE if it doesn't actually cover a real code range.
authorMark Wielaard <mjw@redhat.com>
Tue, 1 Dec 2015 23:21:07 +0000 (00:21 +0100)
committerMark Wielaard <mjw@redhat.com>
Sat, 2 Jan 2016 19:37:45 +0000 (20:37 +0100)
commite04da0e6bab6c6cca2d6e1657d18666f50d2ecfa
tree06cd08334bb817cb02d7d1d830350b1240830024
parent69d68dd50282469ddc45fc462a2506176b8f3289
libdw: Don't use a FDE if it doesn't actually cover a real code range.

If the FDE end <= start then it doesn't actually cover a valid code range.
Don't use and cache such FDEs (it will cause memory leaks if there is
another FDE that has the same start address and a valid code range).

Such FDEs have been seen in the backtrace.ppc.exec testfile.

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