This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix access violation when parsing a corrupt IEEE binary.


*** TEST RESULTS FOR COMMIT acb56a83016611bcb5f0a32368fddc8c213f7dd0 ***

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

Fix access violation when parsing a corrupt IEEE binary.

	PR binutils/21612
	* libieee.h (struct common_header_type): Add end_p field.
	* ieee.c (this_byte_and_next): Do not advance input_p beyond
	end_p.
	(read_id): Check for a length that exceeds the remaining bytes in
	the input buffer.
	(ieee_seek): Initialise end_p.
	(ieee_archive_p): Likewise.
	(ieee_object_p): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]