Wireshark-commits: [Wireshark-commits] master bf524d9: wbxml: don't THROW() an exception from a dis

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 4 Apr 2017 01:58:20 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bf524d95f3c4a642a00d3e322d771d33c592fa8c
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bf524d9 by Martin Kaiser (wireshark@xxxxxxxxx):

    wbxml: don't THROW() an exception from a dissector
    
    If the offset is out of bounds, we can simply continue and
    proto_tree_add_...() will throw an exception for us.
    While at it, wrap some long lines and remove obsolete coments about
    g_malloc()ed memory (the dissector has been converted to wmem).
    
    Change-Id: Icd36418f07c0cf33c5fe906a8a2d3160789ee1f2
    Reviewed-on: https://code.wireshark.org/review/20856
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  965cd91   E.212: update list to Operational Bulletin No. 1121 (1.IV.2017)
    adds  bf524d9   wbxml: don't THROW() an exception from a dissector


Summary of changes:
 epan/dissectors/packet-wbxml.c |   27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)