Skip to content
Commit 9c1ce108 authored by Alan Modra's avatar Alan Modra
Browse files

PR22552, readelf heap buffer overflow in load_debug_section

	PR 22552
	* readelf.c (process_file_header): Don't assume XINDEX case
	value for e_shstrndx is within bounds.
	(load_debug_section): Sanity test e_shstrndx before attempting
	to read .shstrtab.  Wrap long lines.
parent 07d6d2b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment