This is the mail archive of the binutils@sources.redhat.com 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]

Re: [PATCH] Prevent ld segementation fault


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]