diff options
author | Jorge Mora <jmora1300@gmail.com> | 2017-10-06 09:40:01 -0600 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-10-06 18:00:17 +0000 |
commit | 53706c80d61003d05dc0116d4a171d554e04dbe4 (patch) | |
tree | e0c59d880d4a77c9665f58c51187b181c403f277 /epan/dissectors/packet-rpcrdma.c | |
parent | 471736ece003e80bb47e9a9b29099d7ab6200d04 (diff) |
RPC-over-RDMA: fix write list chunk count
Add the chunk_size to the offset to get the correct write list
count, this issue was introduced by the fix for Bug: 13558
Change-Id: I306a9c0c9d601f7bdf4cc0e49eacd5466a6adb89
Reviewed-on: https://code.wireshark.org/review/23851
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-rpcrdma.c')
-rw-r--r-- | epan/dissectors/packet-rpcrdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rpcrdma.c b/epan/dissectors/packet-rpcrdma.c index ddcdc62176..d6cdef37ba 100644 --- a/epan/dissectors/packet-rpcrdma.c +++ b/epan/dissectors/packet-rpcrdma.c @@ -204,6 +204,7 @@ static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) chunk_size = get_write_chunk_size(tvb, offset); if ((offset + chunk_size) < offset) break; + offset += chunk_size; } return num_chunks; |