From Pascal Quantin:

The attached patch fixes the dissection of the PDN Disconnect Request message
in case the optional Protocol Configuration Options IE is not present.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5065

svn path=/trunk/; revision=33654
This commit is contained in:
Anders Broman 2010-07-28 21:13:05 +00:00
parent 0319e1f71a
commit 02738f27b6
1 changed files with 2 additions and 0 deletions

View File

@ -3872,6 +3872,8 @@ nas_esm_pdn_disc_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len)
/* Fix the lengths */
curr_len--;
curr_offset++;
if (curr_len == 0)
return;
/* 27 Protocol configuration options Protocol configuration options 9.9.4.11 O TLV 3-253 */
ELEM_OPT_TLV( 0x27 , GSM_A_PDU_TYPE_GM, DE_PRO_CONF_OPT , "" );