URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=50ceaefd5628f275860e8c2bbc5d0bfd62b341a0 Submitter: "Guy Harris <ghar...@sonic.net>" Changed: branch: master-2.6 Repository: wireshark
Commits: 50ceaef by Guy Harris (g...@alum.mit.edu): 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 <ghar...@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <ghar...@sonic.net> (cherry picked from commit c5215707d47082c1de2459dc9d1e4be7ad2d974e) Reviewed-on: https://code.wireshark.org/review/37146 Actions performed: from bec65cb pcapng (dissector): don't assume the endianness doesn't change. add 50ceaef Infiniband: skip past the undissected vendor header. Summary of changes: epan/dissectors/packet-infiniband.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe