Wireshark-commits: [Wireshark-commits] master-2.2 5b02289: multipart: use packet scope memory to av
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Mar 2018 09:16:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5b0228945dc74ee82d2ab4a4e7af2bdfe7b75910
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

5b02289 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    multipart: use packet scope memory to avoid leaking in case an exception is triggered by subdissectors
    
    Bug: 14486
    Change-Id: I275f8c962f126ad55fc7086012e7b67cc0dc60b3
    Reviewed-on: https://code.wireshark.org/review/26291
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 05c4705a19448646ca316ba3b1eb333a05482956)
    Reviewed-on: https://code.wireshark.org/review/26314
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    

Actions performed:

    from  976be71   Fix another leak, which happens with -E occurrence=l.
    adds  5b02289   multipart: use packet scope memory to avoid leaking in case an exception is triggered by subdissectors


Summary of changes:
 epan/dissectors/packet-multipart.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)