Wireshark-commits: [Wireshark-commits] master-3.0 d3592d7: LNET: fix malformed packet error on RDMA
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d3592d7e2e88b657cbc9c137c2b866105c50ceab
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
d3592d7 by Jorge Mora (jmora1300@xxxxxxxxx):
LNET: fix malformed packet error on RDMA Read Request
Check the number of remaining bytes before comparing the
next four bytes to the LNet magic number to find out
whether or not this is an LNet layer.
In the case for an RDMA Read Request which does not have
any payload data, the LNet dissector now gracefully will
not process this packet as an LNet layer instead of
labeling it as a malformed packet.
Bug: 16269
Change-Id: I5d6abea8b79619849e8fbc1bc6b585995736b56e
Reviewed-on: https://code.wireshark.org/review/35392
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
(cherry picked from commit 34cbff30e9e5cfd7df2e0bf89e4cfe3048a457df)
Reviewed-on: https://code.wireshark.org/review/35396
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 275529f radiotap: Detect 11ad based on the frequency.
add d3592d7 LNET: fix malformed packet error on RDMA Read Request
Summary of changes:
epan/dissectors/packet-lnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)