aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-01-23 15:40:32 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-01-23 15:40:32 +0000
commitc94d02cf851795a3c3a46ce4034007f6120b58b5 (patch)
tree13e47a1c95321e9452455fe5e6a608cb176db5a7 /epan
parent79c7687b87a9b12ec5e784269ef897ec2ba10940 (diff)
svn path=/trunk/; revision=47229
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-gsm_a_gm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c
index 3cf2bf8172..cf1b07a4cf 100644
--- a/epan/dissectors/packet-gsm_a_gm.c
+++ b/epan/dissectors/packet-gsm_a_gm.c
@@ -4401,6 +4401,9 @@ qos_calc_ext2_bitrate(guint8 oct)
return 10000;
}
+/*
+ * 10.5.6.5 Quality of service
+ */
guint16
de_sm_qos(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
{
@@ -4652,6 +4655,7 @@ de_sm_qos(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, g
curr_offset, 1, oct, "%s (%u)", str, oct);
curr_offset += 1;
+ NO_MORE_DATA_CHECK(len);
/* Maximum bit rate for downlink (extended-2) Octet 19 */
oct = tvb_get_guint8(tvb, curr_offset);