diff options
author | pascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-01 19:00:13 +0000 |
---|---|---|
committer | pascal <pascal@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-01 19:00:13 +0000 |
commit | 8939205068db0502019e04408b9d68fed2f92d08 (patch) | |
tree | a40b474eb53a3b875eb470758f7ac0db43915b71 /epan/dissectors/packet-gsm_a_rr.c | |
parent | 6f726e80094577166261a499b9f050eed7946a91 (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.c | 2 |
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 */ |