forked from osmocom/wireshark
GTP: Bad bytes read for extended rnc id value
offset+=2; is missing and bytes used for extended rnc id value are the same that for rnc id value. Bug:10877 Change-Id: I2830191e434812d42ab625e7a6e0478a191b7d95 Signed-off-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-on: https://code.wireshark.org/review/6738 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
f8fa70f4e8
commit
39a984e649
|
@ -5304,6 +5304,7 @@ decode_gtp_target_id(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree
|
|||
offset++;
|
||||
/* Octet 10-11 RNC-ID*/
|
||||
proto_tree_add_item(ext_tree, hf_gtp_target_rnc_id, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
offset+=2;
|
||||
/* If the optional Extended RNC-ID is not included, then the length variable 'n' = 8 and the overall length of the IE is 11
|
||||
* octets. Otherwise, 'n' = 10 and the overall length of the IE is 13 octets
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue