diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-11-04 13:49:19 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-11-04 13:49:19 +0000 |
commit | 83231fe94a1e07a6994bff7f135e73f0a69409da (patch) | |
tree | 372a79818a8b9e23d8ae27dba5d30b05bd7c26da /epan/dissectors/packet-nas_eps.c | |
parent | 9b1cbfea87b70b6b0b48e224fb1dda9aba0e93b8 (diff) |
From Pascal Quantin:
[NAS EPS] Expert Info error triggered when decoding a Security Mode Complete message
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4203
svn path=/trunk/; revision=30820
Diffstat (limited to 'epan/dissectors/packet-nas_eps.c')
-rw-r--r-- | epan/dissectors/packet-nas_eps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c index aeb8a9ad96..84fb1e2a35 100644 --- a/epan/dissectors/packet-nas_eps.c +++ b/epan/dissectors/packet-nas_eps.c @@ -2873,6 +2873,9 @@ nas_emm_sec_mode_comp(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len curr_offset = offset; curr_len = len; + if (curr_len == 0) + return; + /* 23 IMEISV Mobile identity 9.9.2.3 O TLV 11 */ ELEM_OPT_TLV(0x23, NAS_PDU_TYPE_COMMON, DE_EPS_CMN_MOB_ID, "IMEISV"); |