Re: ar exception in getname?

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
01 Dec 1997 11:07:43 +0100


Bill Hawes <whawes@star.net> writes:

|> For quite a while I've noticed sporadic exceptions from the ar utility
|> when compiling a kernel. Currently have a completely reproducible
|> example when compiling a kernel under NFS.

|> The address listed for the exception is in getname, which puzzles me as
|> getname seems to go to some length to ensure valid addresses.

This is a bug in binutils that has been fixed a long time ago. The
problem is that ar is passing a NULL filename to fopen when there are no
arguments beside the archive name.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org