aboutsummaryrefslogtreecommitdiff
path: root/bfd/po
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-06-19 12:31:07 +0100
committerNick Clifton <nickc@redhat.com>2017-06-19 12:31:07 +0100
commit72e84f969481f52daf6741c6bb4d0e92f9668389 (patch)
tree92a0bf7a2384b737565c3115d7d58bca57d84b28 /bfd/po
parent875ffa3edc5f27f0ad5e3d95d96782832edad00e (diff)
downloadgdb-72e84f969481f52daf6741c6bb4d0e92f9668389.zip
gdb-72e84f969481f52daf6741c6bb4d0e92f9668389.tar.gz
gdb-72e84f969481f52daf6741c6bb4d0e92f9668389.tar.bz2
Fix access violation when disassembling a corrupt VMS binary.
PR 21615 * vms-alpha.c (_bfd_vms_slurp_egsd): Use unsigned int for gsd_size. Check that there are enough bytes remaining to read the type and size of the next egsd. Check that the size of the egsd does not exceed the size of the record.
Diffstat (limited to 'bfd/po')
0 files changed, 0 insertions, 0 deletions