Wireshark-commits: [Wireshark-commits] master-2.2 d8582bc: Fix Access Violation in plugin_if_mainwi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 18 Jan 2017 19:58:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d8582bc8e8739d53d506639dd52739289d0fb137
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

d8582bc by Paul Offord (paul.offord@xxxxxxxxxxxx):

    Fix Access Violation in plugin_if_mainwindow_get_ws_info(...)
    
    Call to plugin_if_get_ws_info when no packets are being displayed
    causes an Access Violation in plugin_if_mainwindow_get_ws_info
    as the pointer in cf->current_frame is NULL.
    
    Bug: 12973
    Change-Id: I33e8fe6f3894963a6f1f1ec9aa9169f85e1e3b18
    Reviewed-on: https://code.wireshark.org/review/19659
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    (cherry picked from commit cf941613da659ce2590ae51cdf90b78e8a5116c9)
    Reviewed-on: https://code.wireshark.org/review/19665
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  bd25ebf   [Automatic update for 2017-01-15]
    adds  d8582bc   Fix Access Violation in plugin_if_mainwindow_get_ws_info(...)


Summary of changes:
 ui/gtk/main_toolbar.c |    2 +-
 ui/qt/main_window.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)