Wireshark-commits: [Wireshark-commits] master-2.0 267783a: Qt: initialize all UAT fields when creat

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Oct 2015 19:38:41 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=267783ac61422c45af1d6664faa3c63731326ee5
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

267783a by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Qt: initialize all UAT fields when creating a new line
    
    Otherwise it can trigger a crash when calling the callback while some fields have a NULL pointer (SSL post_update_cb for example)
    
    Change-Id: I25ac97d8e0bbf47e737f74029715358cb29cfb3d
    Reviewed-on: https://code.wireshark.org/review/11334
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 4c69f10aa42070616b92886f104f5a16eb88f00c)
    Reviewed-on: https://code.wireshark.org/review/11357
    

Actions performed:

    from  291e7db   frame_data: Reset subnum if visited is resetted
    adds  267783a   Qt: initialize all UAT fields when creating a new line


Summary of changes:
 ui/qt/uat_dialog.cpp |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)