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 use-after-free error when parsing a corrupt nested archive.


*** TEST RESULTS FOR COMMIT 909e4e716c4d77e33357bbe9bc902bfaf2e1af24 ***

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

Fix use-after-free error when parsing a corrupt nested archive.

	PR 21787
	* archive.c (bfd_generic_archive_p): If the bfd does not have the
	correct magic bytes at the start, set the error to wrong format
	and clear the format selector before returning NULL.


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