aboutsummaryrefslogtreecommitdiff
path: root/binutils/budbg.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-30 18:15:49 +1030
committerAlan Modra <amodra@gmail.com>2023-04-03 07:29:01 +0930
commit31991eaaeee55fbf077e5c7ed1bc5deece050933 (patch)
tree758fed1761d71b37fda5bf9967714e7573fe4bbf /binutils/budbg.h
parentc4e37fa8e520c0e3b1e713085306d91e3fa3b78b (diff)
downloadbinutils-31991eaaeee55fbf077e5c7ed1bc5deece050933.zip
binutils-31991eaaeee55fbf077e5c7ed1bc5deece050933.tar.gz
binutils-31991eaaeee55fbf077e5c7ed1bc5deece050933.tar.bz2
Memory leak in process_abbrev_set
We may have added some abbrevs to the list before hitting an error. Free the list elements too. free_abbrev_list returns list->next so we need to init it earlier to avoid an uninitialised memory access. * dwarf.c (process_abbrev_set): Call free_abbrev_list on errors. Set list->next earlier.
Diffstat (limited to 'binutils/budbg.h')
0 files changed, 0 insertions, 0 deletions