Wireshark-commits: [Wireshark-commits] master dc9f782: Add BASE_ALLOW_ZERO for byte arrays that are
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 30 Nov 2015 18:28:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc9f7820176b7c7c85f6ac290a2ca2d0941219e1
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dc9f782 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add BASE_ALLOW_ZERO for byte arrays that are validly zero sized.
    
    <MISSING> implies that the field should be there and isn't.  Allow dissectors to specify when a zero-sized array for a field is perfectly valid.
    
    Ping-Bug: 11803
    Change-Id: I3fd60e3c6f832c6b4a3a8837ebc52c3e74e795ae
    Reviewed-on: https://code.wireshark.org/review/12271
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  b3b3062   mcast_stream_dlg: fix no previous prototype for function 'mcaststream_dlg_update' [-Wmissing-prototypes]
    adds  dc9f782   Add BASE_ALLOW_ZERO for byte arrays that are validly zero sized.


Summary of changes:
 doc/README.dissector          |    1 +
 epan/dissectors/packet-ipv6.c |    2 +-
 epan/ftypes/ftype-bytes.c     |    2 +-
 epan/proto.c                  |   12 ++++++++++--
 epan/proto.h                  |    1 +
 5 files changed, 14 insertions(+), 4 deletions(-)