URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ebce737a513ede3ddf8cb6ac33fcca2230761734
Submitter: "Guy Harris <ghar...@sonic.net>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

ebce737 by David Perry (boolean...@protonmail.com):

    MIME/pcapng: use snap length to get SPB data length
    
    The "Original Packet Length" field of a Simple Packet Block can be
    greater than the amount of data actually captured; the Interface
    Description Block's snap length must be checked as well.
    
    To enable this in the MIME Files Format dissector, the
    `interface_description` needs to store the snap length. This allows the
    appropriate section of `dissect_block()` to access it via the `info`
    parameter.
    
    The "Captured Length" field from EPB/PB dissection is added to SPB
    dissection as a generated field to clarify the difference between it and
    the field labelled "Packet Length".
    
    Bug: 16526
    Change-Id: I27f2fccc9ed2f682377059931b18d7e42d7ff0a3
    Reviewed-on: https://code.wireshark.org/review/37095
    Petri-Dish: Guy Harris <ghar...@sonic.net>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <ghar...@sonic.net>
    (cherry picked from commit 5b238a6c76634712c09e355c7945721a3a0ae8f1)
    Reviewed-on: https://code.wireshark.org/review/37126
    

Actions performed:

    from  49f13e6   MIME/pcapng: reset interface array on new SHB
     add  ebce737   MIME/pcapng: use snap length to get SPB data length


Summary of changes:
 epan/dissectors/file-pcapng.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to