Wireshark-commits: [Wireshark-commits] master 34cbff3: LNET: fix malformed packet error on RDMA Rea

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Dec 2019 21:17:02 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=34cbff30e9e5cfd7df2e0bf89e4cfe3048a457df
Submitter: "Jaap Keuter <jaap.keuter@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

34cbff3 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>
    

Actions performed:

    from  e8aa574   Revert "extcap: Pass --extcap-version if extcap supports it"
     add  34cbff3   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(-)