This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Stephen,
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.
Anyway I have gone ahead and applied your patch along with this changelog entry.
Cheers Nick binutils/ChangeLog 2015-05-29 Stephen Kitt <steve@sk2.org> * dlltool.c (main): Fail if the output file specified by the -z option cannot be opened.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |