Correct readelf dynamic section buffer overlow test
authorAlan Modra <amodra@gmail.com>
Thu, 16 Jul 2015 14:43:22 +0000 (00:13 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Jul 2015 14:57:10 +0000 (00:27 +0930)
commit53c3012ccc25ecfc4fa1f52e341e19b30d1e57db
treef5a74a8e116a664c99769fbf143f1e3fa8db1984
parent77a69ff840d60cca73624e16e5b2dd5217a6037e
Correct readelf dynamic section buffer overlow test

PR binutils/18672
* readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
(get_64bit_dynamic_section): Likewise.
binutils/ChangeLog
binutils/readelf.c