This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix crash on stale addrinfo->sectindex
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Feb 2010 20:01:05 -0700
- Subject: Re: [patch] Fix crash on stale addrinfo->sectindex
- References: <20100218092203.GA31309@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> Curiously it is not reproducible for me on FSF GDB HEAD but it is
Jan> reproducible on gdb-7.0.50.20100203-15.fc13.
Yes, odd.
Jan> /* This is the index used by BFD. */
Jan> - addrs->other[i].sectindex = sect->index;
I think you ought to move this comment as well.
It appears to just be hanging at the end of a block after the patch.
This is ok with that change. Thanks.
Tom