diff options
author | Juanjo Martin <juanjo@rti.com> | 2016-03-30 16:53:17 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2016-03-30 19:40:32 +0000 |
commit | 3f6381fe2ab786ea564dc4db6260e3b281c3399d (patch) | |
tree | ae5eeb38ff8a9069a846455a84aefeea5ffeb57d | |
parent | 0e8e4914faa9471044dea6b91eaf2029847cc34e (diff) |
RTPS: Fixed ACKNACK mask processing
Change-Id: I81a83638c2318ba0d806263dbf692cd19b30ce9b
Reviewed-on: https://code.wireshark.org/review/14707
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: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r-- | epan/dissectors/packet-rtps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c index 4437840898..7c8dd73fb2 100644 --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -2778,7 +2778,7 @@ static int rtps_util_add_bitmap(proto_tree *tree, /* removes all the ending '0' */ last_one = strrchr(wmem_strbuf_get_str(temp_buff), '1'); if (last_one) { - wmem_strbuf_truncate(temp_buff, (gsize) (last_one - wmem_strbuf_get_str(temp_buff))); + wmem_strbuf_truncate(temp_buff, (gsize) (last_one - wmem_strbuf_get_str(temp_buff)) + 1); } if (wmem_strbuf_get_len(temp_buff) > 0) { |