URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9ccd6b0520d311c3ec627d81dfd3843c2bfe0e97
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
9ccd6b0 by Guy Harris (guy@xxxxxxxxxxxx):
Infiniband: skip past the undissected vendor header.
In parse_VENDOR() get the length of the raw data (presumed to be
vendor-specific data) by using proto_tree_add_item_ret_length(), and add
that to the offset.
Should addresses PVS-Studio complaint
/opt/SourceCode/wireshark/epan/dissectors/packet-infiniband.c 2782 warn
V1048 The '* offset' variable was assigned the same value.
Change-Id: Icac567e3ef2ad0484aaa111e5bc8a5cd83d9d8a5
Reviewed-on: https://code.wireshark.org/review/37143
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
(cherry picked from commit b35a2c96258a021585ed831712ee94fef940412a)
Reviewed-on: https://code.wireshark.org/review/37144
Actions performed:
from 8d2600d pcapng (dissector): don't assume the endianness doesn't change.
add 9ccd6b0 Infiniband: skip past the undissected vendor header.
Summary of changes:
epan/dissectors/packet-infiniband.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)