asan: buffer overflow in peXXigen.c
authorAlan Modra <amodra@gmail.com>
Tue, 15 Feb 2022 01:43:40 +0000 (12:13 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Feb 2022 08:45:40 +0000 (19:15 +1030)
commitfe69d4fcf0194a37a151f513e56ec31e106f3002
treeb96aa1c7ccdd46dd58b89abb8b6774e82940ebea
parente94b2738a1510462b481ef44901d7e91739b1f4f
asan: buffer overflow in peXXigen.c

* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Properly
sanity check DataDirectory[PE_DEBUG_DATA].Size.
bfd/peXXigen.c