]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Initialize filelist early in read_srclines.
authorMark Wielaard <mjw@redhat.com>
Wed, 3 Jun 2015 15:42:38 +0000 (17:42 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 8 Jun 2015 09:44:44 +0000 (11:44 +0200)
commit20956b84ef14a4ca110e1b23754b756c09bb2ee9
tree45159cc5984b01d2077f68affe7c58fcdcdb095e
parentc5022e5e3b74d579d44fcf599577e2a2a4c93f15
libdw: Initialize filelist early in read_srclines.

We might jump to "out" early on error. Then filelist might not be set yet
and we might try to free garbage. Set it to the null_file early.

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