[PATCH] Don't crash on invalid .def file
Filip Navara
xnavara@volny.cz
Tue Sep 28 00:11:00 GMT 2004
Filip Navara wrote:
> Abstract:
>
> When an unparsable .def file is passed on command line to "ld" an crash
> happens. This is because def_file_parse deletes the def_file context
> that was passed to it and gld_i386pe_unrecognized_file still treats it
> as a valid pointer and operates with it...
>
Sorry, use the attached patch instead...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld3.diff
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040928/512e102e/attachment.bin>
More information about the Binutils
mailing list