Wireshark-commits: [Wireshark-commits] master-2.0 f12d242: Qt: fix heap-use-after-free when double-
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 28 Nov 2016 18:08:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f12d2422bcfe1d5cfcd2fbe6832362b7bee37e66
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

f12d242 by Peter Wu (peter@xxxxxxxxxxxxx):

    Qt: fix heap-use-after-free when double-clicking a packet number
    
    On double-clicking a packet number, the current field item is
    invalidated by goToPacket. Skip the URL since a field can either have a
    URL or a frame number (but not both).
    
    Change-Id: I58e5445fa74071fa0fd203df77ebdecdd1478d31
    Reviewed-on: https://code.wireshark.org/review/18971
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 1239336af00215172c94d5d2af3926a72ea998c3)
    Reviewed-on: https://code.wireshark.org/review/18974
    

Actions performed:

    from  0eed360   [Automatic update for 2016-11-27]
    adds  f12d242   Qt: fix heap-use-after-free when double-clicking a packet number


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