Wireshark-commits: [Wireshark-commits] master d2016c6: RPC Netlogon: do not leak memory each time a
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 12 Feb 2018 08:20:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d2016c6a1bb9a1688da684825cbda889d95238a6
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d2016c6 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    RPC Netlogon: do not leak memory each time a hash is generated
    
    Use copy_address_swallow() instead of copy_address().
    When inserting the key in the hash map, copy it in wmem file scope.
    
    Bug: 14407
    Change-Id: Ida524d314c943f480dd0e1bf44fd0ded01aafaeb
    Reviewed-on: https://code.wireshark.org/review/25731
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  a958533   fuzzshark: disable protocol in fuzzer if it's used by other fuzzer.
    adds  d2016c6   RPC Netlogon: do not leak memory each time a hash is generated


Summary of changes:
 epan/dissectors/packet-dcerpc-netlogon.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)