Wireshark-commits: [Wireshark-commits] master-3.2 7534e1e: LNET: fix malformed packet error on RDMA
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 11 Dec 2019 04:30:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7534e1ece3be250b50dcd88f078927cb67ff9808
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

7534e1e 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/35395
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  c22560b   radiotap: Detect 11ad based on the frequency.
     add  7534e1e   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(-)