[PATCH dlltool] Avoid segfaulting if output_def can't be opened for writing

Stephen Kitt steve@sk2.org
Sat Jun 6 16:28:00 GMT 2015


Hi Nick,

On Fri, 29 May 2015 11:09:23 +0100, Nicholas Clifton <nickc@redhat.com> wrote:
> > As reported in https://bugs.debian.org/519788, dlltool segfaults if the
> > output-def file can't be opened for writing. The following patch checks
> > the result of the corresponding fopen. (It may fuzz by one line depending
> > on whether my previous patch is applied or not.)
> 
> Thanks.  With bugs like this, it is nice if you can use the bugzilla 
> reporting system to log them.  That way we can keep track of the problem 
> and we have something to refer back to if the issue ever comes up again.

Sorry about that, I'll do so in future.

Regards,

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20150606/81c67a24/attachment.sig>


More information about the Binutils mailing list