Wireshark-commits: [Wireshark-commits] master 6e81f1d: Don't use tvb_bytes_exist() to check if we c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Sep 2014 18:13:41 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6e81f1d18ce1209435c81df215e6bf1de5cf830b
Submitter: Jeff Morriss (jeff.morriss.ws@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6e81f1d by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):

    Don't use tvb_bytes_exist() to check if we captured the whole frame, just
    compare captured_length to reported_length (which we've already retrieved
    anyway).
    
    Replace calls to tvb_length() with non-deprecated versions.
    
    Change-Id: I9f6f3461915573fb21716a87cb6af416a3656097
    Reviewed-on: https://code.wireshark.org/review/4080
    Reviewed-by: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
    

Actions performed:

    from  a8fabb9   packet-cfm.c: Fix Bug 10385: "Ethernet OAM (CFM) frames including TLV's are wrongly decoded as malformed"
    adds  6e81f1d   Don't use tvb_bytes_exist() to check if we captured the whole frame, just compare captured_length to reported_length (which we've already retrieved anyway).


Summary of changes:
 epan/dissectors/packet-sctp.c |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)