summaryrefslogtreecommitdiff
path: root/epan/sigcomp-udvm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-21 01:39:00 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-21 01:39:00 +0000
commite3482b057634e7fb726b8a3ae43e3027ce4b1178 (patch)
treeb9700e5c8c71564e0ed9deab219e8e2b0882157a /epan/sigcomp-udvm.c
parent75082d182f4ca8be61732303f8db171f6e7ccdd9 (diff)
downloadwireshark-e3482b057634e7fb726b8a3ae43e3027ce4b1178.tar.gz
I think this is the check that was intended....
svn path=/trunk/; revision=15919
Diffstat (limited to 'epan/sigcomp-udvm.c')
-rw-r--r--epan/sigcomp-udvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/sigcomp-udvm.c b/epan/sigcomp-udvm.c
index 664fad1b45..ef960a74b7 100644
--- a/epan/sigcomp-udvm.c
+++ b/epan/sigcomp-udvm.c
@@ -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;