Wireshark-commits: [Wireshark-commits] master f2dada0: Make sure proto_tree_add_expert items are al
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 06 Jun 2018 16:23:39 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f2dada066344924b754ea30569c05adce0c4e9dc
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f2dada0 by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure proto_tree_add_expert items are always added to the tree.
    
    Make sure that proto_tree_add_text_internal() and
    proto_tree_add_text_valist_internal() don't throw an exception, so the
    indication always appears in the tree to indicate the issue.  Do the
    "do the bytes exist" check *after* we've added all of the expert info to
    the protocol tree, so we still throw the appropriate exception.
    
    Change-Id: I4e0d2dcc48f9c8f4482550ae16284b9e021232cd
    Reviewed-on: https://code.wireshark.org/review/28062
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c82883c   cmake: fix DTD, Diameter and radius dependencies
    adds  f2dada0   Make sure proto_tree_add_expert items are always added to the tree.


Summary of changes:
 epan/expert.c | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)