Wireshark-commits: [Wireshark-commits] master 0b0bc14: Qt: Fix NULL pointer dereference on mouse cl
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 25 Sep 2019 07:15:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0b0bc1441a48acb4a9af21df496ea79f27bf6e6d
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0b0bc14 by Tomasz Moń (desowin@xxxxxxxxx):

    Qt: Fix NULL pointer dereference on mouse click
    
    The call to model() returns nullptr if executed while file is still
    loading. This won't happen if current model index is valid.
    
    Change-Id: I2b5b084f0d2092af2b0e78b58e1e17983e01351d
    Reviewed-on: https://code.wireshark.org/review/34597
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  3c245f2   randpktdump: Remove misleading tooltip
     add  0b0bc14   Qt: Fix NULL pointer dereference on mouse click


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