aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp_state_hdlr.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-01-24 19:25:28 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-01-24 19:25:28 +0000
commit000ed1ead40766196bb522cb68426ba0101ab0b8 (patch)
tree54a5ebc28b17d313a46e65d5cb42e6e31a14bcf0 /epan/sigcomp_state_hdlr.c
parentbfcea098638e562deb129f43bc46ca84c5182053 (diff)
Bugfix incorect while condition from Mutsuya Irie
svn path=/trunk/; revision=13166
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);