display_loc_list
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:40:44 +0000 (15:10 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:43:45 +0000 (15:13 +0930)
commit7848009791cd1598f8c19ab52ccd25a78bc0c789
tree1f865d033e08107b4116372190f5eeb4d1d134fa
parentb0d461ec373e35fd380a060e6027d781f8a3f752
display_loc_list

* dwarf.c (display_loc_list): Avoid pointer UB.  Correct check
before reading uleb length.  Warn on excess length.
binutils/ChangeLog
binutils/dwarf.c