display_debug_names
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:59:47 +0000 (15:29 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 06:06:53 +0000 (15:36 +0930)
commitd7870f6304cc62bd3a30ebc9c98dceff2bb50fbb
tree15fb0c82762c027e51b247fc23fd569628f02515
parent5897a389841a67317309213b95bb503d43fbf16c
display_debug_names

* dwarf.c (display_debug_names): Complain when header length is
too small.  Avoid pointer UB.  Sanity check augmentation string,
CU table, TU table and foreign TU table sizes.
binutils/ChangeLog
binutils/dwarf.c