Wireshark-commits: [Wireshark-commits] master-2.6 8d7a109: Make sure proto_tree_add_expert items ar
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8d7a1096b40e44bb6923e24ee984b98826caf897
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
8d7a109 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>
(cherry picked from commit f2dada066344924b754ea30569c05adce0c4e9dc)
Reviewed-on: https://code.wireshark.org/review/28063
Actions performed:
from a89e686 3GPP NAS: fix dissection of Linked TI IE
adds 8d7a109 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(-)