Wireshark-commits: [Wireshark-commits] master 5d95067: simplify dissect_i2c()
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 4 Dec 2014 22:06:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5d95067bd5981afdc920c821b5662d039509e4b2
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5d95067 by Martin Kaiser (wireshark@xxxxxxxxx):

    simplify dissect_i2c()
    
    Change-Id: I67dd6ae5dc48b297e5c04aba2fe53e3e159d2611
    Reviewed-on: https://code.wireshark.org/review/5625
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  73f48a0   dont't manually throw a ReportedBoundsError if the packet is empty use tvb_captured_length() instead of tvb_length()
    adds  5d95067   simplify dissect_i2c()


Summary of changes:
 epan/dissectors/packet-i2c.c |   66 +++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 39 deletions(-)