linker segfaults after PR ld/15146 fix

Alan Modra amodra@gmail.com
Tue Feb 19 03:44:00 GMT 2013


On Mon, Feb 18, 2013 at 08:23:48PM -0700, Sandra Loosemore wrote:
> 	* plugin.c (plugin_notice): Add null check before dereferencing
> 	pointer.

This is OK.

> 1000c1000,1001
> < 	      && (h->u.undef.abfd->flags & BFD_PLUGIN) != 0)
> ---
> > 	      && (h->u.undef.abfd == NULL
> > 		  || (h->u.undef.abfd->flags & BFD_PLUGIN) != 0))

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list