Wireshark-commits: [Wireshark-commits] master 6168d8b: Qt: fix a NULL pointer dereference in extcap
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 4 Aug 2016 16:47:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6168d8bf809edf514f6356c2c35afb41e6eedf36
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6168d8b by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Qt: fix a NULL pointer dereference in extcap_argument_multiselect.cpp
    
    Guard treeView dereference by a cehck on viewModel (as it is done elsewhere in
    the file, both are allocated at the same time).
    This can happen for example when USBPcap lists a USB Hub with no devices connected.
    
    Change-Id: Iee412b8c95539e9e3d65706c14f62194cafcaffc
    Reviewed-on: https://code.wireshark.org/review/16885
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  d21295f   Bump GLib minimum required version to 2.22.0
    adds  6168d8b   Qt: fix a NULL pointer dereference in extcap_argument_multiselect.cpp


Summary of changes:
 ui/qt/extcap_argument_multiselect.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)