Wireshark-commits: [Wireshark-commits] master-1.12 682cae1: Don't use proto_tree_add_expert() with

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 18 Aug 2014 19:10:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=682cae1c13ff612117ca987d0ac6e6eb22d3fb27
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

682cae1 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't use proto_tree_add_expert() with an item rather than a tree.
    
    proto_tree_add_expert() is to be used only on an item that's been
    created as a tree (i.e., an interior node, complete with an ett_ value);
    to hang expert info off of an *item*, which might *not* have been set up
    to take subtree items, use expert_add_info().
    
    Change-Id: Icdcdf39c31c0a03ff80dbb629186e8f6fa82e8ab
    Reviewed-on: https://code.wireshark.org/review/3705
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit a3cecb290938f56787c0e08b30fc34749bb4baec)
    Reviewed-on: https://code.wireshark.org/review/3706
    

Actions performed:

    from  f0e8636   If we don't find a NetScaler signature, don't report an error.
    adds  682cae1   Don't use proto_tree_add_expert() with an item rather than a tree.


Summary of changes:
 epan/dissectors/packet-acr122.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)