This is the mail archive of the binutils@sourceware.org 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: some more tidy-ups


On Tue, May 09, 2006 at 11:39:27AM +1000, Ben Elliston wrote:
> A couple of more tidy-ups.  My change to linker.c should now prevent
> the possibility of a segfault in BFD due to a null pointer dereference
> (well, at least, it at least pushes it up a level!)

I don't see any dereference.

> Tested with an all-targets build.  Okay for mainline?
> 
> 
> 2006-05-09  Ben Elliston  <bje@au.ibm.com>
> 
> 	* linker.c (archive_hash_newfunc): Guard against a null return
> 	value from bfd_hash_newfunc.
> 	* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
> 	local variable `dynobj'.

The elf64-ppc.c change is OK, thanks!

-- 
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]