diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-05 06:43:47 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-05 06:43:47 +0000 |
commit | 8649f3704addb2bacc78aebc81d11192a03e151f (patch) | |
tree | d408f2f6fc6495039febfe99f58e04989addefd9 /epan/sigcomp_state_hdlr.c | |
parent | 649856e30c8dc79c61f23cfa9932080b1bf6ad8e (diff) |
From Cristian Constantin:
As a workarond for the problem that accsessing a state with a state id > the stored
minimum access length fail, only store and compare the state with the minimum access
lengt specified in the standard of 6 bytes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20041 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/sigcomp_state_hdlr.c')
-rw-r--r-- | epan/sigcomp_state_hdlr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c index bc21fb0f14..bc9550e6b0 100644 --- a/epan/sigcomp_state_hdlr.c +++ b/epan/sigcomp_state_hdlr.c @@ -457,7 +457,7 @@ int udvm_state_access(tvbuff_t *tvb, proto_tree *tree,guint8 *buff,guint16 p_id_ * state handler. */ - if (( p_id_length < 6 ) || ( p_id_length > 20 )){ + if (( p_id_length < STATE_MIN_ACCESS_LEN ) || ( p_id_length > STATE_BUFFER_SIZE )){ result_code = 1; return result_code; } |