[PATCH] Prevent ld segementation fault
Nick Clifton
nickc@redhat.com
Thu Dec 16 15:42:00 GMT 2004
Hi Martin,
> Can something like the following patch be applied to the CVS?
> (All it does, is to print a default value, if abfd is NULL).
Yes it can and in fact yes it has been.
> Or is there a better solution to fix this problem?
In theory users of vinfo() should check before passing a NULL BFD, but
that is no reason for vinfo() itself not being able to cope gracefully
with the problem.
Cheers
Nick
More information about the Binutils
mailing list