aboutsummaryrefslogtreecommitdiff
path: root/gold/aarch64.cc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-09-26 17:55:08 +0930
committerAlan Modra <amodra@gmail.com>2016-09-26 18:02:44 +0930
commit7358f4cbaf3c6fafbbbc9703a5e2884470643bfa (patch)
tree93a9d9e5ee6ee789b6f4624536e3530c4279dc88 /gold/aarch64.cc
parentedeeb6024373d865284903f0b96b9811afde0441 (diff)
downloadgdb-7358f4cbaf3c6fafbbbc9703a5e2884470643bfa.zip
gdb-7358f4cbaf3c6fafbbbc9703a5e2884470643bfa.tar.gz
gdb-7358f4cbaf3c6fafbbbc9703a5e2884470643bfa.tar.bz2
Fix nm potential buffer overflow
get_coff_symbol_type had a potenial buffer overflow even with untranslated messages. * nm.c (get_elf_symbol_type): Don't use sprintf with translated strings, use asprintf instead. (get_coff_symbol_type): Likewise.
Diffstat (limited to 'gold/aarch64.cc')
0 files changed, 0 insertions, 0 deletions