Wireshark-commits: [Wireshark-commits] master-2.6 f656eb2: LNET: fix malformed packet error on RDMA
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f656eb2a10ae0f52710e011318042173251ff05e
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
f656eb2 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/35397
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 502985d radiotap: Detect 11ad based on the frequency.
add f656eb2 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(-)