diff options
author | Adam Mitz <mitza@ociweb.com> | 2017-01-23 14:15:42 -0600 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-01-24 14:00:38 +0000 |
commit | 4e2b2d4292243f13e5fe1638a12704d43dbd07df (patch) | |
tree | d9795f5b67b7e46a289125a791b0eb594e3275a3 /epan/dissectors/packet-rtps.h | |
parent | 87f24a78e62431bbe0e22c1e7f42e1e94c1d79b0 (diff) |
RTPS: avoid errors when encountering empty sequences of strings
Change-Id: Ida9d2e6d632104ec3c6594f5ec500fec49a971a4
Reviewed-on: https://code.wireshark.org/review/19754
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rtps.h')
-rw-r--r-- | epan/dissectors/packet-rtps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtps.h b/epan/dissectors/packet-rtps.h index ee3a0be24c..c934f4fd92 100644 --- a/epan/dissectors/packet-rtps.h +++ b/epan/dissectors/packet-rtps.h @@ -586,7 +586,7 @@ extern void rtps_util_add_durability_service_qos(proto_tree *tree, tvbuff_t * tv extern void rtps_util_add_liveliness_qos(proto_tree *tree, tvbuff_t * tvb, gint offset, const guint encoding); extern gint rtps_util_add_seq_string(proto_tree *tree, tvbuff_t* tvb, gint offset, - const guint encoding, int param_length, int hf_numstring, + const guint encoding, int hf_numstring, int hf_string, const char *label); extern gint rtps_util_add_seq_octets(proto_tree *tree, packet_info *pinfo, tvbuff_t* tvb, gint offset, const guint encoding, int param_length, int hf_id); |