aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp_state_hdlr.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-24 19:25:28 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-24 19:25:28 +0000
commit4bff2a4af8fc554a15571bbbb2cb972195624dca (patch)
tree54a5ebc28b17d313a46e65d5cb42e6e31a14bcf0 /epan/sigcomp_state_hdlr.c
parent590f6a9edc8373cc8602e9ab90eb2b8ef4a6eb56 (diff)
Bugfix incorect while condition from Mutsuya Irie
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13166 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/sigcomp_state_hdlr.c')
-rw-r--r--epan/sigcomp_state_hdlr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c
index 01d583e0a3..553c20b5c7 100644
--- a/epan/sigcomp_state_hdlr.c
+++ b/epan/sigcomp_state_hdlr.c
@@ -3,7 +3,7 @@
* used for Signaling Compression (SigComp) dissection.
* Copyright 2004, Anders Broman <anders.broman@ericsson.com>
*
- * $Id: udvm.c 11445 2004-07-20 19:04:48Z etxrab $
+ * $Id: sigcomp_state_hdlr.c 12788 2004-12-20 10:56:25Z jmayer $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -540,7 +540,7 @@ int udvm_state_access(tvbuff_t *tvb, proto_tree *tree,guint8 *buff,guint16 p_id_
/* debug
*g_warning(" state_begin %u state_address %u",state_begin , *state_address);
*/
- while ( n < (*state_length + 8)){
+ while ( n < (state_begin + *state_length + 8)){
buff[k] = state_buff[n];
/* debug
* g_warning(" Loading 0x%x at address %u",buff[k] , k);