Wireshark-commits: [Wireshark-commits] master cf94161: Fix Access Violation in plugin_if_mainwindow

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 18 Jan 2017 15:07:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cf941613da659ce2590ae51cdf90b78e8a5116c9
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cf94161 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>
    

Actions performed:

    from  3138dad   Gigamon Trailer support for new chassis types
    adds  cf94161   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(-)