[binutils-gdb] Fix access violation when disassembling a corrupt VMS binary.

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Mon Jun 19 11:58:00 GMT 2017


*** TEST RESULTS FOR COMMIT 72e84f969481f52daf6741c6bb4d0e92f9668389 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 72e84f969481f52daf6741c6bb4d0e92f9668389

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.



More information about the Gdb-testers mailing list