Wireshark-commits: [Wireshark-commits] master 3a42b55: idl2wrs: don't use -1 for the protocol-item

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 23 Apr 2015 02:09:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3a42b55ac90f9d9aef943bb02c8d2c6444019ba8
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3a42b55 by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):

    idl2wrs: don't use -1 for the protocol-item length.
    
    It doesn't work any more for empty (length==0) PDUs.
    
    Similar to bug 10646/Ifb96768969a43c59367b73e7bb940ceeb02cf6b0 (for RPC).
    
    Untested as I'm not set up to build IDL dissectors now.
    
    Bug: 11134
    Change-Id: I77aacc2590acbacbe02edb1768e754f92f87bc23
    Reviewed-on: https://code.wireshark.org/review/8163
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  7ccab8a   Added decoding of BSEND/BRECV communication
    adds  3a42b55   idl2wrs: don't use -1 for the protocol-item length.


Summary of changes:
 epan/dissectors/packet-coseventcomm.c |    2 +-
 epan/dissectors/packet-cosnaming.c    |    2 +-
 epan/dissectors/packet-gias.c         |    2 +-
 epan/dissectors/packet-parlay.c       |    2 +-
 epan/dissectors/packet-tango.c        |    2 +-
 tools/wireshark_gen.py                |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)