diff options
author | Alan Modra <amodra@gmail.com> | 2016-09-26 17:55:08 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-09-26 18:02:44 +0930 |
commit | 7358f4cbaf3c6fafbbbc9703a5e2884470643bfa (patch) | |
tree | 93a9d9e5ee6ee789b6f4624536e3530c4279dc88 /COPYING.LIB | |
parent | edeeb6024373d865284903f0b96b9811afde0441 (diff) | |
download | gdb-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 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions