Work around integer overflows when readelf is checking for corrupt ELF notes when...
authorMingi Cho <mgcho.minic@gmail.com>
Thu, 2 Nov 2017 17:01:08 +0000 (17:01 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 2 Nov 2017 17:01:08 +0000 (17:01 +0000)
commit6ab2c4ed51f9c4243691755e1b1d2149c6a426f4
treee93dfa25aa08ff1322bb84542d18fe678a61a5da
parentf26ae15b471aaddee81d9d6c03af1cb0f2081735
Work around integer overflows when readelf is checking for corrupt ELF notes when run on a 32-bit host.

PR 22384
* readelf.c (print_gnu_property_note): Improve overflow checks so
that they will work on a 32-bit host.
binutils/ChangeLog
binutils/readelf.c