Wireshark-commits: [Wireshark-commits] master-2.2 2ace9b2: Qt: Avoid crashes in IAX2 Stream Analysi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 16 Sep 2016 07:36:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2ace9b2f3aa64394b9625a6cfe19a2625c38de6f
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

2ace9b2 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Avoid crashes in IAX2 Stream Analysis
    
    Avoid crash when opening IAX2 Stream Analysis without having any
    packets and when not having a selected packet.  Also disable the
    Save Audio options if not having any IAX2 packets.
    
    Also set Close as default button.
    
    Change-Id: I1da04e3f907d9d562fa227ab9f0428aa6097131e
    Reviewed-on: https://code.wireshark.org/review/17708
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit f674ef75d765a7933774b8659ca20ef0ef16e78d)
    Reviewed-on: https://code.wireshark.org/review/17726
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  3a1f272   Don't pick up junk from an unset error-number variable.
    adds  2ace9b2   Qt: Avoid crashes in IAX2 Stream Analysis


Summary of changes:
 ui/qt/iax2_analysis_dialog.cpp |   15 +++++++++++++--
 ui/qt/iax2_analysis_dialog.h   |    1 +
 2 files changed, 14 insertions(+), 2 deletions(-)