asan: readelf: wild read in get_num_dynamic_syms
authorAlan Modra <amodra@gmail.com>
Thu, 21 May 2020 00:18:35 +0000 (09:48 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 May 2020 00:41:57 +0000 (10:11 +0930)
commitc31ab5a0010ac9e3d31fd218fffcff1b9696363e
treeaf9bd31b04d1446486b80be3f3a8cafb2f37e1c1
parent1484644d3597a98be824220ca290de84408eeb3f
asan: readelf: wild read in get_num_dynamic_syms

* readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
access.
binutils/ChangeLog
binutils/readelf.c