diff options
author | Nick Clifton <nickc@redhat.com> | 2013-02-26 16:59:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-02-26 16:59:52 +0000 |
commit | 9dd3a467af683ccaf2bfadd34e53bcd3b4669709 (patch) | |
tree | 86030604fb4167d44f9a5c29dbec1ea03154a9d6 /binutils/testsuite | |
parent | 282bbdf358a7320c4a60cc63b94f013d74772569 (diff) | |
download | gdb-9dd3a467af683ccaf2bfadd34e53bcd3b4669709.zip gdb-9dd3a467af683ccaf2bfadd34e53bcd3b4669709.tar.gz gdb-9dd3a467af683ccaf2bfadd34e53bcd3b4669709.tar.bz2 |
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.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/readelf.n | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index b8daec6..06fd5e4 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-02-26 Nick Clifton <nickc@redhat.com> + + PR binutils/15191 + * binutils-all/readelf.n: Updare expected output from readelf. + 2013-02-14 Maciej W. Rozycki <macro@codesourcery.com> * binutils-all/mips/mixed-mips16.s: Add missing stack adjustment. diff --git a/binutils/testsuite/binutils-all/readelf.n b/binutils/testsuite/binutils-all/readelf.n index 80723cd..7a44731 100644 --- a/binutils/testsuite/binutils-all/readelf.n +++ b/binutils/testsuite/binutils-all/readelf.n @@ -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 |