Wireshark-commits: [Wireshark-commits] master-3.0 8126222: print: remove leak in ek_check_protocolf

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 08 May 2019 01:49:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=812622296dd4268430216d2ccd556f75dc4dd0cf
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

8126222 by Dario Lombardo (lomato@xxxxxxxxx):

    print: remove leak in ek_check_protocolfilter().
    
    Small rework while here to prevent the creation of str_escaped if
    the input string is enough for the check.
    
    Bug: 15758
    Change-Id: I5facf0307d1e0fed882bbe3ef91463164cf3440c
    Reviewed-on: https://code.wireshark.org/review/33100
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 41e2a6b9f717aa4993162c2635cf586427f5365c)
    Reviewed-on: https://code.wireshark.org/review/33104
    

Actions performed:

    from  2869e3f   Release notes: Add an item about macOS notarization.
     add  8126222   print: remove leak in ek_check_protocolfilter().


Summary of changes:
 epan/print.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)