Wireshark-commits: [Wireshark-commits] master 021e994: Handle some weirdness with the primary domai

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 04 Jun 2019 21:28:02 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=021e994293449ac263b0b234660847e27363a660
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

021e994 by Guy Harris (guy@xxxxxxxxxxxx):

    Handle some weirdness with the primary domain field in NegProt replies.
    
    Sometimes there appears to be an extra byte before that field; try to
    catch some of those cases.
    
    Expand comments discussing various weirdness with that field, including
    a note that clients might not pay any attention to it, so maybe we just
    have buggy servers talking to clients that don't care about those
    particular bugs.
    
    Change-Id: I4d35d2e2c475d4da37debedfed31b891e6f3cfa8
    Reviewed-on: https://code.wireshark.org/review/33481
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  cdaa04c   Add some comments indicating what protocol was selected.
     add  021e994   Handle some weirdness with the primary domain field in NegProt replies.


Summary of changes:
 epan/dissectors/packet-smb.c | 66 ++++++++++++++++++++++++++++++++++++++------
 1 file changed, 58 insertions(+), 8 deletions(-)