This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR22067, x86 check_relocs invalid read
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 4 Sep 2017 08:44:47 +0930
- Subject: Re: PR22067, x86 check_relocs invalid read
- Authentication-results: sourceware.org; auth=none
- References: <20170903124411.GP28143@bubble.grove.modra.org> <CAMe9rOovG1Aj6t=F2HY2QGHkrqL_VfJrhHaQSDVY9e7wRUBjGA@mail.gmail.com>
On Sun, Sep 03, 2017 at 06:08:02AM -0700, H.J. Lu wrote:
> > PR 22067
> > * elfxx-x86.h (elf_x86_hash_table): Check is_elf_hash_table first.
>
> Do we need a similar fix for 2.29 branch?
Yes, same patch in two places. Committed with this ChangeLog.
PR 22067
* elf32-i386.c (elf_i386_hash_table): Check is_elf_hash_table first.
* elf64-x86-64.c (elf_x86_64_hash_table): Likewise.
--
Alan Modra
Australia Development Lab, IBM