Wireshark-commits: [Wireshark-commits] master-1.12 dc625e9: gtk: Fix crash on Analyze RTP stream

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 1 Oct 2015 19:18:41 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc625e90d9d11513a7b33314ce8e461368522e97
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

dc625e9 by Peter Wu (peter@xxxxxxxxxxxxx):

    gtk: Fix crash on Analyze RTP stream
    
    When updating the RTP streams list, the data associated with the current
    selection becomes invalid when the old list is cleared.
    gtk_list_store_clear somehow triggers the selection callback which
    attempts to access the invalid memory.
    
    Avoid this by disabling selectability while clearing the list.
    
    Bug: 10016
    Change-Id: Id5126ec5ffa41fa6a65339f4453546223124ed67
    Reviewed-on: https://code.wireshark.org/review/10690
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 01bd832b9df9570ddfd81ab4985f71ff6abd9b12)
    Reviewed-on: https://code.wireshark.org/review/10725
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  4cbcbbc   [ieee80211] Fix: "DSCP Range description user priority" off by 1
    adds  dc625e9   gtk: Fix crash on Analyze RTP stream


Summary of changes:
 ui/gtk/rtp_stream_dlg.c |    6 ++++++
 1 file changed, 6 insertions(+)