Invalid read in process_netbsd_elf_note
authorAlan Modra <amodra@gmail.com>
Thu, 19 Mar 2020 01:49:50 +0000 (12:19 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Mar 2020 01:52:00 +0000 (12:22 +1030)
commitb966f55ffa570a05081b2030577b2158e8116c5a
tree452474212c576adaa21ae1702e27084270d2a983
parent645ba68105ee79511a79386811dd932be8becafa
Invalid read in process_netbsd_elf_note

* readelf.c (process_netbsd_elf_note): Validate descsz before
accessing descdata.  Formatting.
binutils/ChangeLog
binutils/readelf.c