Wireshark-commits: [Wireshark-commits] master 532a98d: Wrap tvb_get_ptr() calls in the CRC routines

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 8 Aug 2014 03:59:07 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=532a98dc8c827471e143c81517b7ebb321400f84
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

532a98d by Guy Harris (guy@xxxxxxxxxxxx):

    Wrap tvb_get_ptr() calls in the CRC routines.
    
    That doesn't eliminate them, but at least it encapsulates them.
    
    Change-Id: I78f0202cb7d2eb86e2dce220b2b97acc256d1e42
    Reviewed-on: https://code.wireshark.org/review/3489
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  20c0fff   Wrap some tvb_get_ptr calls in crc32c_tvb_offset_calculate().
    adds  532a98d   Wrap tvb_get_ptr() calls in the CRC routines.


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