summaryrefslogtreecommitdiffstats
path: root/libdwfl/linux-core-attach.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-03-24 12:15:02 +0100
committerMark Wielaard <[email protected]>2017-04-03 23:40:41 +0200
commit9d84fdd78705d7a1b9947a9f4ca77fbccdd76d4a (patch)
tree5e9f4663a68cb18965acf8ba2abcc1f20c9a190a /libdwfl/linux-core-attach.c
parent93c51144c3f664d4e9709da75a1d0fa00ea0fe95 (diff)
readelf: Fix off by one sanity check in handle_gnu_hash.
We sanity check to make sure we don't index outside the chain array by testing inner > max_nsyms. But inner is a zero-based index, while max_nsyms is the maximum number. Change the check to inner >= max_nsyms. https://sourceware.org/bugzilla/show_bug.cgi?id=21299 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdwfl/linux-core-attach.c')
0 files changed, 0 insertions, 0 deletions