Wireshark-bugs: [Wireshark-bugs] [Bug 8168] New: NAS-EPS_plain: wrong message decoding

Date: Mon, 07 Jan 2013 10:37:58 +0000
Bug ID 8168
Summary NAS-EPS_plain: wrong message decoding
Classification Unclassified
Product Wireshark
Version 1.8.4
Hardware x86
OS Windows XP
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:

--
Hi

File: epan\dissectors\packet-nas_eps.c
Function: dissect_nas_eps_plain

There is an error in 1.8.4 version.
This error was not present in 1.8.0 version.

Please remove these lines:

    /* SERVICE REQUEST (security header type equal to 12 or greater) is not a
plain NAS message */
    if (pd >= 0xc0) {
        col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Service request");
        /* Security header type Security header type 9.3.1 M V 1/2 */
        proto_tree_add_item(nas_eps_tree, hf_nas_eps_security_header_type, tvb,
0, 1, ENC_BIG_ENDIAN);
        /* Protocol discriminator Protocol discriminator 9.2 M V 1/2 */
        proto_tree_add_item(nas_eps_tree, hf_gsm_a_L3_protocol_discriminator,
tvb, 0, 1, ENC_BIG_ENDIAN);
        offset++;
        nas_emm_service_req(tvb, nas_eps_tree, pinfo, offset,
tvb_length(tvb)-offset);
        return;
    }


=> for plain NAS messages, there are no security header type.


You are receiving this mail because:
  • You are watching all bug changes.