Wireshark-commits: [Wireshark-commits] master-2.0 7a711e5: Qt: Fix crash in Conversations and Endpo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 23 Jun 2016 03:43:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7a711e5c628e19ac8ff4533248c432d005c39969
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

7a711e5 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Fix crash in Conversations and Endpoints dialogs
    
    Don't assume that conv_item_t or hostlist_talker_t pointers never
    change. GArrays can reallocate their data, and in our case this can
    happen when we have more than 10,000 items (which is the size that the
    conversation table code passes to_array_sized_new).
    
    Bug: 12288
    Change-Id: I88e58be830e35dde272f81fe9250b054fb87facf
    Reviewed-on: https://code.wireshark.org/review/16078
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit f9cf660e6e4fc0e52e6ed7c14ebec4532586eb5e)
    Reviewed-on: https://code.wireshark.org/review/16082
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  bbed186   Qt: Clear the packet list selection before freezing it.
    adds  7a711e5   Qt: Fix crash in Conversations and Endpoints dialogs


Summary of changes:
 ui/qt/conversation_dialog.cpp |   56 ++++++++++++++++++++++-------------------
 ui/qt/endpoint_dialog.cpp     |   55 ++++++++++++++++++++--------------------
 2 files changed, 58 insertions(+), 53 deletions(-)