Wireshark-commits: [Wireshark-commits] master aea4e4b: Dumpcap: Swap bytes only for pcap sources.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Oct 2018 11:58:19 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aea4e4b42ac3856b26d729dde7387bad37f261fc
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

aea4e4b by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Dumpcap: Swap bytes only for pcap sources.
    
    Instead of trying to byte swap all of pcapng's block types, refuse
    to handle pcapng sources that have a different byte order.
    
    Rename cap_pipe_adjust_header to cap_pipe_adjust_pcap_header.
    
    Change-Id: I2615da57ba9d3fc365c631dc191f7767a284d460
    Reviewed-on: https://code.wireshark.org/review/30235
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: James Ko <jim.list@xxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  1957673   fuzz: Fix assertion failed: (fuzz_handle != NULL) for fuzzshark_ip
     add  aea4e4b   Dumpcap: Swap bytes only for pcap sources.


Summary of changes:
 dumpcap.c | 74 ++++++++++++++++++++++++++-------------------------------------
 1 file changed, 30 insertions(+), 44 deletions(-)