This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[commit] [patch] asan error on bfd bfd_simple_get_relocated_section_contents
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 17 Feb 2014 08:33:52 +0100
- Subject: [commit] [patch] asan error on bfd bfd_simple_get_relocated_section_contents
- Authentication-results: sourceware.org; auth=none
- References: <20140216182840 dot GA20551 at host2 dot jankratochvil dot net> <20140216230619 dot GV3386 at bubble dot grove dot modra dot org>
On Mon, 17 Feb 2014 00:06:19 +0100, Alan Modra wrote:
> On Sun, Feb 16, 2014 at 07:28:40PM +0100, Jan Kratochvil wrote:
> > bfd/
> > 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > PR binutils/16595
> > * simple.c (struct saved_offsets): New.
> > (simple_save_output_info): Use it for ptr.
> > (simple_restore_output_info): Use it for ptr. Check section_count.
> > (bfd_simple_get_relocated_section_contents): Use it for saved_offsets.
>
> OK, thanks!
Checked in:
024a23103f04282872d4352302b1bfe04391a7a4
Jan