Wireshark-commits: [Wireshark-commits] master-2.6 245b8fe: print: remove leak in ek_check_protocolf

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

Commits:

245b8fe 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 bc4ffefdadea3724993a30fa58901720bc7a9ff8)
    Reviewed-on: https://code.wireshark.org/review/33105
    

Actions performed:

    from  cd33b10   Fix dissection of DDP length and checksum fields.
     add  245b8fe   print: remove leak in ek_check_protocolfilter().


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