Wireshark-commits: [Wireshark-commits] master-1.12 07d0d04: Some CANopen frame types can have zero
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 4 Apr 2015 13:07:29 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=07d0d04b758a445a5a39167991f76f4b80244119
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

07d0d04 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Some CANopen frame types can have zero size, so use tvb_reported_length instead of -1.
    
    Bug: 11083
    Change-Id: I2de47f01220b59f75fd29c68c3837da00f10fde9
    Reviewed-on: https://code.wireshark.org/review/7906
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  b89ad57   Fix integer_to_repr() so that it actually does something.
    adds  07d0d04   Some CANopen frame types can have zero size, so use tvb_reported_length instead of -1.


Summary of changes:
 epan/dissectors/packet-canopen.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)