Wireshark-commits: [Wireshark-commits] master c706a90: FTDI FT: Reassemble fragmented MPSSE data
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Jul 2020 05:06:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c706a909e3592d89986b856bf02894a42df699ee
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

c706a90 by Tomasz Moń (desowin@xxxxxxxxx):

    FTDI FT: Reassemble fragmented MPSSE data
    
    FTDI FT does not have a sense of data segments. It simply transports
    asynchronous data bytes between two parties. MPSSE dissector notifies
    FTDI FT dissector when it needs more data to process command and/or
    response using the desegment API.
    
    FTDI FT assumes that the segment starts at the offset given by MPSSE and
    ends when either MPSSE does no longer ask for more data, or when MPSSE
    asks for more data but not from the beginning of tvb passed to it (when
    packet contains both end of previous segment and start of a new one).
    
    Ping-Bug: 11743
    Change-Id: Ib400bedd4d61166c98f711e4ab132a3a3bd8051d
    Reviewed-on: https://code.wireshark.org/review/37709
    Petri-Dish: Tomasz Moń <desowin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  70119bb   check_dissector_urls.py: Add options to control which files to scan
     add  c706a90   FTDI FT: Reassemble fragmented MPSSE data


Summary of changes:
 epan/dissectors/packet-ftdi-ft.c    | 370 ++++++++++++++++++++++++++++++++++--
 epan/dissectors/packet-ftdi-mpsse.c |  21 +-
 2 files changed, 364 insertions(+), 27 deletions(-)