GSM A: allow a length of 3 bytes when using the 'no identity' type

As stated in 3GPP 24.008 §10.5.1.4, for GMM and EMM procedures the
length should be set to 3 when using the 'no identity' type.

Change-Id: Ib2d5930416b0d26853f4cc430df0ce2f29488877
Reviewed-on: https://code.wireshark.org/review/18707
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2016-11-08 11:52:17 +01:00
parent c12280f804
commit 1ae0c1ebfa
1 changed files with 1 additions and 1 deletions

View File

@ -2170,7 +2170,7 @@ de_mid(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guin
curr_offset++;
if (len > 1)
if (len != 1 && len != 3)
{
expert_add_info(pinfo, tree, &ei_gsm_a_format_not_supported);
}