Wireshark-commits: [Wireshark-commits] master b558737: Overhaul AMQP dissector
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 24 Oct 2016 18:28:11 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b5587379b7e31c8e418f51a7db9d836b33a7efe1
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b558737 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Overhaul AMQP dissector
    
    1. Remove AMQP_INCREMENT macro.  Bounds checking mostly handled already
    by proto_tree_add_xxx and tvb_get_xxx.  Needed to add a few more
    tvb_reported_length_remaining() calls for completeness.
    2. Fill in some of the gaps of unaccounted for bytes.  Still have way
    too many instances where bytes aren't claimed by a field.
    3. Some small reordering of functions allowed for massive removal of
    formal declarations.
    4. Add amqp_0_10_get_32bit_size_new to add a field, check for size and
    add expert info if size > 0xFFFF
    5. Remove "hf_" from list type items as they are not real hf_ fields
    and could cause confusion.  Also made items static.
    6. Convert some FT_STRING and FT_BYTES fields to FT_UINT_STRING and
    FT_UINT_BYTES.  Helps account for some "missing" bytes.
    
    Change-Id: I7ed269221d294ce89feacc0642b2070681288172
    Reviewed-on: https://code.wireshark.org/review/18423
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  e3ecb93   packet-infiniband: Added support to dissect ip cm request private data
    adds  b558737   Overhaul AMQP dissector


Summary of changes:
 epan/dissectors/packet-amqp.c | 9459 +++++++++++++++++++----------------------
 1 file changed, 4413 insertions(+), 5046 deletions(-)