aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorS. Shapira <sswsdev@gmail.com>2017-02-10 16:42:38 +0200
committerMichael Mann <mmann78@netscape.net>2017-02-11 14:15:08 +0000
commita2b48ad1203bb5fd102029666f65941aa212dc6e (patch)
tree9138680762910b326532708710956a8a299c1631 /epan/dissectors/packet-umts_fp.c
parent6cc7a7031d039facf4e3d39a322589ec39807424 (diff)
Fixing the MAC tvb creation in FP's tb dissection method
Bug: 13392 Change-Id: I387a6715164180487606ba3e9e4aaf64695aa543 Reviewed-on: https://code.wireshark.org/review/20050 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index e6e0ef995b..236a4b083d 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -806,8 +806,8 @@ dissect_tb_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
if (crci_bit == 0 || !p_fp_info->is_uplink) {
- next_tvb = tvb_new_subset_length_caplen(tvb, offset + bit_offset/8,
- ((bit_offset % 8) + p_fp_info->chan_tf_size[chan] + 7) / 8, -1);
+ next_tvb = tvb_new_subset_length(tvb, offset + bit_offset/8,
+ ((bit_offset % 8) + p_fp_info->chan_tf_size[chan] + 7) / 8);
/****************/