elflint: Fix check_sysv_hash[64] sanity checks to not overflow.
authorMark Wielaard <mark@klomp.org>
Sat, 18 Aug 2018 11:17:45 +0000 (13:17 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 18 Aug 2018 11:17:45 +0000 (13:17 +0200)
commitc9f90a70900e753dde15cc9348dcf7de08b031eb
treea4bb16d47292b931b90016af4580c6c303bbc3f9
parent56b18521fb8d46d40fc090c0de9d11a08bc982fa
elflint: Fix check_sysv_hash[64] sanity checks to not overflow.

The sanity checks for how many words were needed in the section could
overflow causing errors. Fix the checks.

https://sourceware.org/bugzilla/show_bug.cgi?id=23542

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/elflint.c