summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_getsrclines.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-06-05 21:52:46 +0200
committerMark Wielaard <[email protected]>2018-06-08 12:03:14 +0200
commit50478b80cede080891996cf080581ca2a0611ce8 (patch)
treed41987bb7431d22e4b8b914714aceec8516c9c5a /libdw/dwarf_getsrclines.c
parent0393dccf9a346c9ecd8753bcbe0b31f8a1edbe5b (diff)
readelf: Don't leak lengths array when detecting an invalid hash chain.
In both handle_sysv_hash and handle_sysv_hash64 we check the has chain isn't too long. If it is we would report an error and leak the lengths array. Just clean up the array even in the error case. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf_getsrclines.c')
0 files changed, 0 insertions, 0 deletions