Wireshark-commits: [Wireshark-commits] master 29283de: Qt: unchecked dynamic cast
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 May 2019 16:18:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=29283decd7f312e54560cf53398a0809aac37803
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

29283de by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    Qt: unchecked dynamic cast
    
    Dynamic cast may yield NULL pointer, hence must be checked before
    dereferencing it. Easy enough in a conditional.
    
    CID 1435488
    
    Change-Id: I8359ab5865795f1b1bea6980b023ff636d6719a6
    Reviewed-on: https://code.wireshark.org/review/33316
    Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  f12ec0c   wsutil+macOS: Use realpath() to resolve our program path.
     add  29283de   Qt: unchecked dynamic cast


Summary of changes:
 ui/qt/wlan_statistics_dialog.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)