ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 352b7a9: Redo dissction of blocks in a bluecom packet

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 23 Apr 2018 22:01:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=352b7a9fd5643f5746a38d29ec61c07a0f1bec0d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

352b7a9 by Guy Harris (guy@xxxxxxxxxxxx):

    Redo dissction of blocks in a bluecom packet.
    
    It *looks* as if a bluecom packet has a count of blocks, and a sequence
    of that number of blocks, with each one containing a block header and a
    block data.
    
    Dissect the packet in that fashion.  If we get an exception (other than
    "we hit the snaplen") while dissecting a block, record it and step on to
    the next block.
    
    Don't try to avoid hitting the snaplen - we *want* that to be reported,
    so the user knows that the capture only includes the first part of the
    packet.
    
    Change-Id: I1b668ffea9b67d3a6ff06100b868f7d941c1f509
    Reviewed-on: https://code.wireshark.org/review/27106
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  40de001   fix link speed indication
    adds  352b7a9   Redo dissction of blocks in a bluecom packet.


Summary of changes:
 epan/dissectors/packet-bluecom.c | 432 ++++++++++++++++-----------------------
 1 file changed, 175 insertions(+), 257 deletions(-)