forked from osmocom/wireshark
MBIM: fix GSM SMS transmitted PDU length
Change-Id: I5568d6048f620f5332577e2cf0d36ffa20200ebf Reviewed-on: https://code.wireshark.org/review/8556 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
9ac0337157
commit
22aa241eff
|
@ -3197,6 +3197,7 @@ mbim_dissect_sms_send_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g
|
|||
sc_address_size, NULL, 0);
|
||||
}
|
||||
if (pdu_data_size > (guint32)(sc_address_size + 1)) {
|
||||
pdu_data_size -= sc_address_size + 1;
|
||||
sms_tvb = tvb_new_subset_length(tvb, base_offset + pdu_data_offset + 1 + sc_address_size,
|
||||
pdu_data_size);
|
||||
pinfo->p2p_dir = P2P_DIR_RECV;
|
||||
|
|
Loading…
Reference in New Issue