Prevent a buffer overrun whilst displaying corrupt ARM tags.
authorNick Clifton <nickc@redhat.com>
Tue, 11 Nov 2014 16:15:47 +0000 (16:15 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 11 Nov 2014 16:15:47 +0000 (16:15 +0000)
commit541a3cbda9de8ae8888906cfe14887c394a3f772
treed0b25201e4436fcd704c014f2e2a4126531f7a11
parent201159ecec7e17600df4153e5d4e7a145f0c7cfe
Prevent a buffer overrun whilst displaying corrupt ARM tags.

PR binutils/17531
* readelf.c (display_arm_attribute): Avoid reading off the end of
the buffer when processing a Tag_nodefaults.
binutils/ChangeLog
binutils/readelf.c