2007-08-01 Michael Snyder <msnyder@access-company.com>

* i386-dis.c (print_insn): Guard against NULL.
This commit is contained in:
Michael Snyder 2007-08-02 00:40:02 +00:00
parent b49412aab8
commit 7a3c21c92f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-08-01 Michael Snyder <msnyder@access-company.com>
* i386-dis.c (print_insn): Guard against NULL.
2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4834

View File

@ -3782,7 +3782,7 @@ print_insn (bfd_vma pc, disassemble_info *info)
}
}
if (putop (dp->name, sizeflag) == 0)
if (dp->name != NULL && putop (dp->name, sizeflag) == 0)
{
for (i = 0; i < MAX_OPERANDS; ++i)
{