Fix readelf writing to illegal addresses whilst processing corrupt input files contai...
authorNick Clifton <nickc@redhat.com>
Mon, 13 Feb 2017 13:08:32 +0000 (13:08 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 13 Feb 2017 13:08:32 +0000 (13:08 +0000)
commit03f7786e2f440b9892b1c34a58fb26222ce1b493
tree971cf273051f9b7249a1e3ac3287109160a52eae
parent13a590ca65f744c8fa55d6e0748cb12f443493f0
Fix readelf writing to illegal addresses whilst processing corrupt input files containing symbol-difference relocations.

PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
binutils/ChangeLog
binutils/readelf.c
This page took 0.030436 seconds and 4 git commands to generate.