PR25822, Invalid read in process_symbol_table
authorAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 07:08:01 +0000 (16:38 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 07:33:22 +0000 (17:03 +0930)
commit001890e1f9269697f7e0212430a51479271bdab2
tree1b511a57cd6257fb859dca98c3761094e75d2b36
parentb71d4fa7c35c1918e96bc3c297f940b5c1624e21
PR25822, Invalid read in process_symbol_table

PR 25822
* readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
reading buckets or chains fails.
binutils/ChangeLog
binutils/readelf.c