]> git.ipfire.org Git - thirdparty/elfutils.git/commit
addr2line: Set scopes to NULL after free in handle_address.
authorMark Wielaard <mjw@redhat.com>
Thu, 21 May 2015 14:05:18 +0000 (16:05 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 27 May 2015 15:17:51 +0000 (17:17 +0200)
commit6f2e64a03bdf10d5b0ab730e58aedb8dfb76b6d8
treeebae8912d927848997d51f411c3c83c1f27c802c
parentb23a5b2dda2a0beaaa12c8174808b5d0bd5996ea
addr2line: Set scopes to NULL after free in handle_address.

If dwarf_getscopes_die () fails then scopes might not be reset and we
could cause a double free.

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