[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22216] infinite loop in process_symbol_table in readelf.c
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/22216] infinite loop in process_symbol_table in readelf.c in binutils 2.30(HEAD) |
Date: |
Wed, 27 Sep 2017 08:02:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22216
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bd6a03d6975a96802b37741a99644570e52a72b
commit 6bd6a03d6975a96802b37741a99644570e52a72b
Author: Alan Modra <address@hidden>
Date: Wed Sep 27 15:14:00 2017 +0930
PR22216, infinite loop in readelf process_symbol_table
This should make readelf bombproof given a fuzzed DT_HASH. Also
removes a bogus check that would have resulted in wrong histograms.
PR 22216
* readelf.c (process_symbol_table): Check that DT_HASH symbol
chains are only visited once, and report an error if not. Display
invalid symbol index if chain is out of range. Use the same logic
when calculating histograms rather than the PR 17531 fix. Delete
bogus check that chained index is less than number of buckets.
--
You are receiving this mail because:
You are on the CC list for the bug.