This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] fix out-of-bounds access in elf.c:find_link
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 25 Jun 2017 01:22:19 -0400
- Subject: [binutils-gdb] fix out-of-bounds access in elf.c:find_link
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 5cc4ca837deac7dc962d8a3741aa120c50ab41da ***
Author: Sergei Trofimovich <slyfox@gentoo.org>
Branch: master
Commit: 5cc4ca837deac7dc962d8a3741aa120c50ab41da
fix out-of-bounds access in elf.c:find_link
The out-of-bounds access is reproducible on 'ia64-strip' command
(see sample from https://bugs.gentoo.org/show_bug.cgi?id=622500)
The output file contains less section than original one.
This tricks 'hint' access to go out-of-bounds:
* elf.c (find_link): Bounds check "hint".