PR binutils/15191

* binutils-all/readelf.n: Updare expected output from readelf.

	* readelf.c (process_corefile_note_segment): Prevent attempts to
	read beyond the end of the note buffer.
This commit is contained in:
Nick Clifton
2013-02-26 16:59:52 +00:00
parent 282bbdf358
commit 9dd3a467af
4 changed files with 49 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
Notes at offset 0x0*0.. with length 0x0*018:
Displaying notes found at file offset 0x0*0.. with length 0x0*018:
Owner[ ]*Data size[ ]*Description
Version 1.0[ ]*0x0*0[ ]*NT_VERSION \(version\)
#pass