I think this is the check that was intended....

svn path=/trunk/; revision=15919
This commit is contained in:
Guy Harris 2005-09-21 01:39:00 +00:00
parent 75082d182f
commit e3482b0576
1 changed files with 1 additions and 1 deletions

View File

@ -2907,7 +2907,7 @@ dissect_udvm_reference_operand(guint8 *buff,guint operand_address, guint16 *valu
offset ++;
}
if (offset >= UDVM_MEMORY_SIZE || result_dest >= UDVM_MEMORY_SIZE - 1 )
if (offset >= UDVM_MEMORY_SIZE || *result_dest >= UDVM_MEMORY_SIZE - 1 )
THROW(ReportedBoundsError);
return offset;