URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0af38c86d270d9d4b16397f5c716577a2a448f4d
Submitter: "Anders Broman <a.broma...@gmail.com>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

0af38c8 by David Perry (boolean...@protonmail.com):

    packet_xml: detect and handle UTF-16 BOM
    
    In the main dissector, check the first 2/3 bytes for recognized
    Byte-Order Marks (BOM) and decode if detected.
    
    In the heuristic check, when unicode heuristics are enabled, check the
    first 2 bytes for a recognized BOM instead of assuming UCS-2LE. (Still
    falls back on that if no BOM detected.)
    
    Bug: 9069
    Change-Id: I7c6510221ef9257a9c3030715906e07b88af6aa7
    Reviewed-on: https://code.wireshark.org/review/38076
    Reviewed-by: Michael Mann <mman...@netscape.net>
    Petri-Dish: Michael Mann <mman...@netscape.net>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broma...@gmail.com>
    (cherry picked from commit 2ce378f8ab92e6c8d87b9472033a641ea98d3e80)
    Reviewed-on: https://code.wireshark.org/review/38190
    Reviewed-by: Jaap Keuter <jaap.keu...@xs4all.nl>
    Petri-Dish: Jaap Keuter <jaap.keu...@xs4all.nl>
    

Actions performed:

    from  09c8971   editcap: fix time adjustment for ERF
     add  0af38c8   packet_xml: detect and handle UTF-16 BOM


Summary of changes:
 epan/dissectors/packet-xml.c | 55 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 50 insertions(+), 5 deletions(-)
___________________________________________________________________________
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