asan: readelf: stack buffer overflow
authorAlan Modra <amodra@gmail.com>
Sun, 5 Jul 2020 23:30:29 +0000 (09:00 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Jul 2020 02:00:06 +0000 (11:30 +0930)
commitddb43bab174c50656331e5460b18bd8e8be5f522
tree56abcfacedf24c89f7ed9f8728d1f7e5d5d83f34
parentc56374d118209b8d9fe4caccf595710dd6198a60
asan: readelf: stack buffer overflow

* readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
find string length.
binutils/ChangeLog
binutils/readelf.c