summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mep
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-05 13:13:33 -0700
committerTom Tromey <tom@tromey.com>2021-12-05 13:13:33 -0700
commit33af066d07d495c81c7c102125aec8dbac62c27b (patch)
tree8b5490d3eb5add969f8df4a9cf471f2fa1f7c2d9 /ld/testsuite/ld-mep
parent843bf75416dd11d91a5d617f7a49f6e9e5025b42 (diff)
downloadbinutils-gdb-33af066d07d495c81c7c102125aec8dbac62c27b.tar.gz
Preserve artificial CU name in process_psymtab_comp_unit_reader
This fixes a use-after-free that Simon pointed out. process_psymtab_comp_unit_reader was allocating an artificial name for a CU, and then discarding it. However, this name was preserved in the cached file_and_directory. This patch arranges for the allocated name to be preserved there.
Diffstat (limited to 'ld/testsuite/ld-mep')
0 files changed, 0 insertions, 0 deletions