Wireshark-commits: [Wireshark-commits] master-1.10 d8075e7: Don't mix emem and glib memory and init
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Feb 2014 23:54:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d8075e79f7dc435d68b942695d3d1604f3e166b7
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

d8075e7 by Evan Huus (eapache@xxxxxxxxx):

    Don't mix emem and glib memory and init routines.
    
    The seasonal memory is freed before the init routine is called, leading to a
    whole bunch of use-after-free errors.
    
    Fixes bug #9802 (and duplicates).
    
    This introduces a few minor leaks but I can't find an easy way to add additional
    free calls that doesn't lead to double-free errors.
    
    Change-Id: Idda79cb643d46d29253165cdeefeed189db6b078
    Reviewed-on: https://code.wireshark.org/review/406
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  9201ee0   Release note updates for 1.10.6.
    adds  d8075e7   Don't mix emem and glib memory and init routines.


Summary of changes:
 epan/dissectors/packet-rlc.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)