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: linker segfaults after PR ld/15146 fix


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


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