Wireshark-commits: [Wireshark-commits] master 4e6d4b9: zbee-security: fix keyring memleaks
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 05 May 2018 16:44:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4e6d4b94e2e7f56ac1e1144714cb6acd926291bd
Submitter: Dario Lombardo (lomato@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4e6d4b9 by Peter Wu (peter@xxxxxxxxxxxxx):

    zbee-security: fix keyring memleaks
    
    If zbee_security_parse_key fails, the cloned label was leaked. Updating
    The keyring contents was also leaked. Found by Clang Static Analyzer.
    
    Change-Id: I5ef8e890f5b2b37d562b7f7a85b046bea9559841
    Reviewed-on: https://code.wireshark.org/review/27347
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    

Actions performed:

    from  84c200a   travis: update to gcc-8 and clang-5
    adds  4e6d4b9   zbee-security: fix keyring memleaks


Summary of changes:
 epan/dissectors/packet-zbee-security.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)