This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix segmentation fault after opening an existing BFD for update PR gdb/20948
- From: Nick Clifton <nickc at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at mittosystems dot com>, binutils at sourceware dot org
- Cc: Simon Marchi <simark at simark dot ca>
- Date: Wed, 21 Mar 2018 16:55:04 +0000
- Subject: Re: [PATCH] Fix segmentation fault after opening an existing BFD for update PR gdb/20948
- References: <9a80296b-05d1-4ec9-3f9c-330f7089301e@mittosystems.com>
Hi Jozef,
> The attached patch fixes the above seg fault, and therefore the GDB segfault
> with --write, by initializing elf_shstrtab(bfd) when a bfd is opened for update.
I am looking over this patch at the moment, but I do have one question first -
do you - or your employer - have an FSF copyright assignment in place for binutils
contributions ? If not then we unfortunately will not be able to accept the patch.
If you need details on how to obtain a copyright assignment, I can provide you with
the information that you will need.
Cheers
Nick