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] opcodes/i386-dis.c, print_insn, null ptr.


On Wed, Aug 01, 2007 at 02:15:36PM -0700, msnyder@sonic.net wrote:
> If we come to this point via the default case in the switch
> statement above, we will not have updated 'dp' and dp->name
> will still be null.  Then putop will dereference it.
> 

> 2007-08-01  Michael Snyder  <msnyder@access-company.com>
> 
> 	* i386-dis.c (print_insn): Guard against NULL.
> 

It is OK.

Thanks.


H.J.


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