Wireshark-commits: [Wireshark-commits] master 954e7c4: wslua: Do not crash on the root tree item
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 18 Oct 2016 04:04:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=954e7c4ded574a0a7d2963f979c51b79a038958b
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

954e7c4 by Peter Wu (peter@xxxxxxxxxxxxx):

    wslua: Do not crash on the root tree item
    
    ti->item is NULL for the root item, prevent a NULL-deref by Lua script.
    
    Bug: 13017
    Change-Id: I5e7f71d014a01bab615288df76509b3ef97b1bf6
    Reviewed-on: https://code.wireshark.org/review/18247
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  3039485   CQL: add LZ4/Snappy decompression support on Windows
    adds  954e7c4   wslua: Do not crash on the root tree item


Summary of changes:
 epan/wslua/wslua_tree.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)