aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authorpascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-01 19:00:13 +0000
committerpascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-01 19:00:13 +0000
commit8939205068db0502019e04408b9d68fed2f92d08 (patch)
treea40b474eb53a3b875eb470758f7ac0db43915b71 /epan/dissectors/packet-gsm_a_rr.c
parent6f726e80094577166261a499b9f050eed7946a91 (diff)
The minimum CCCH size is 3 bytes (L2 pseudo length + protocol discriminator + message type)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44192 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index b7bb02f205..cb4545c1c1 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -10137,7 +10137,7 @@ dissect_ccch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
len = tvb_length(tvb);
- if (len < 2){
+ if (len < 3){
/*
* too short to be CCCH
*/