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: Return NULL on NULL bfd (Problem with linker with binutils-040414)


On Mon, Apr 19, 2004 at 04:50:48PM -0400, Ian Lance Taylor wrote:
> I actually see that bfd_archive_filename hides a bfd_malloc failure by
> returning an incorrect value.  I also see that it unpredictably causes
> a space leak.  I think this function needs some more attention in any
> case.  If the comment is true that it is only used when building error
> messages, then none of this matters very much.

The comment is true.  What space leak?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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