Wireshark-commits: [Wireshark-commits] master-2.6 2ae17b8: Fix SMB2 decryption on big-endian machin
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 May 2019 01:31:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2ae17b88bcd915b07b6df01d6185b5e79045ac1b
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

2ae17b8 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix SMB2 decryption on big-endian machines.
    
    Convert the host-endian session ID passed to seskey_find_sid_key()
    before comparing it with the little-endian session IDs in the UAT.
    
    While we're at it, tag session ID fields in various structures with the
    byte order.
    
    Bug: 15772
    Change-Id: Ib1e7323bad1dfdb1ac24a08998205650f2744097
    Reviewed-on: https://code.wireshark.org/review/33188
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 3234152bec1d1245cc0a8288c9be90242e2a11ed)
    Reviewed-on: https://code.wireshark.org/review/33190
    

Actions performed:

    from  c8b70ca   Fix the length of the item added for the value field of undissected CLVs.
     add  2ae17b8   Fix SMB2 decryption on big-endian machines.


Summary of changes:
 epan/dissectors/packet-smb2.c | 21 +++++++++++++++++++--
 epan/dissectors/packet-smb2.h |  8 ++++----
 2 files changed, 23 insertions(+), 6 deletions(-)