diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-19 12:31:07 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-19 12:31:07 +0100 |
commit | 72e84f969481f52daf6741c6bb4d0e92f9668389 (patch) | |
tree | 92a0bf7a2384b737565c3115d7d58bca57d84b28 /bfd/plugin.c | |
parent | 875ffa3edc5f27f0ad5e3d95d96782832edad00e (diff) | |
download | gdb-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/plugin.c')
0 files changed, 0 insertions, 0 deletions