Wireshark-commits: [Wireshark-commits] master 54fac1e: SNMP: handle Net-SNMP Engine Id of 12 octets

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Oct 2019 16:37:54 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=54fac1e3097142062f5ed8e1d34ed5a247d9ed70
Submitter: "Jaap Keuter <jaap.keuter@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

54fac1e by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    SNMP: handle Net-SNMP Engine Id of 12 octets
    
    The Net-SNMP code creates an Engine Id size based on the compilation
    size, either 8 or 12 octets long. The initial change added handling of
    the '4B/8B random, 4B epoch seconds' format. A different format seems
    more likely though, hence this change, implementing handling of the
    '4B random, 4B/8B epoch seconds' format instead.
    
    Bug: 16051
    Change-Id: I8105b0ba69004f6c15e6b1926c677cb4c5b76f17
    Reviewed-on: https://code.wireshark.org/review/34816
    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  3f105ca   Qt: Move reset to contextmenu
     add  54fac1e   SNMP: handle Net-SNMP Engine Id of 12 octets


Summary of changes:
 epan/dissectors/asn1/snmp/packet-snmp-template.c | 15 ++++++++++-----
 epan/dissectors/packet-snmp.c                    | 21 +++++++++++++--------
 2 files changed, 23 insertions(+), 13 deletions(-)