[PATCH] opcodes/i386-dis.c, print_insn, null ptr.

msnyder@sonic.net msnyder@sonic.net
Thu Aug 2 00:40:00 GMT 2007


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

Committed, thanks.




More information about the Binutils mailing list