PR29170, divide by zero displaying fuzzed .debug_names
authorAlan Modra <amodra@gmail.com>
Tue, 24 May 2022 00:52:50 +0000 (10:22 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 24 May 2022 01:22:05 +0000 (10:52 +0930)
commit5fbb38fcc5b2157729407f182287b93531066890
tree0a64bbeb298368a6451cd49784f8fb1a8fe5e7f4
parent244e19c79111eed017ee38ab1d44fb2a6cd1b636
PR29170, divide by zero displaying fuzzed .debug_names

PR 29170
* dwarf.c (display_debug_names): Don't attempt to display bucket
clashes when bucket count is zero.
binutils/dwarf.c