display_debug_lines_decoded
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:24:55 +0000 (14:54 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:27:38 +0000 (14:57 +0930)
commit56051e28a33aa6b3c37a61d4647da324c21bc64d
treefce14f639ebb42ed84b91a376c1b8d86887da75a
parent37195e23e731744d2d61c97844e884634b592f77
display_debug_lines_decoded

The directory_table strnlen used the negative of the proper size.  After
fixing that I realised we don't need strnlen here.

* dwarf.c (display_debug_lines_decoded): Don't use strnlen when
we have already checked for NUL termination.
binutils/ChangeLog
binutils/dwarf.c