summaryrefslogtreecommitdiffstats
path: root/libelf/elf32_updatefile.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2016-02-13 19:36:50 +0100
committerMark Wielaard <[email protected]>2016-02-22 12:11:48 +0100
commite93e6f9279c34820bed6af17e6df51e1dcb6a8e0 (patch)
tree6ccc22e427089c09fe3d3fc0a929cbeef2b98df8 /libelf/elf32_updatefile.c
parent6993d408fac1ff9aa23281cb6ab010920f7d624c (diff)
libdw: Fix bad free on invalid data in dwarf_getsrclines.c.
If the last dir name wasn't zero terminated we goto invalid_data and might free the wrong data because we believe ndirlist is valid. Don't update ndirlist until we are sure we will use all dirs. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/elf32_updatefile.c')
0 files changed, 0 insertions, 0 deletions