Wireshark-bugs: [Wireshark-bugs] [Bug 6932] New: Crash when copying a field value in "Packet Det
Date: Sat, 10 Mar 2012 07:13:40 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6932

           Summary: Crash when copying a field value in "Packet Details"
                    view
           Product: Wireshark
           Version: 1.6.5
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: neitsa@xxxxxxxxx


Created attachment 7991
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7991
PCAP capture for bug repro - contains one HTML frame

Build Information:
Version 1.6.5 (SVN Rev 40429 from /trunk-1.6)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, without
SMI, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3, with
Gcrypt 1.4.6, without Kerberos, with GeoIP, with PortAudio V19-devel (built Jan
10 2012), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.2 (packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022
--
System: Windows 7 x64
Software version: Wireshark Version 1.6.5 (SVN Rev 40429 from /trunk-1.6)
Note: Wireshark running as administrator

[See PCAP Capture attachment]

Steps for bug repro:

- Open capture file (File -> Open) [There is only one HTTP frame]
- Make sure "View -> Packet details" is checked
- In "Packet Details" view: Unfold "Line-based test data: text/html"
    - The unfolded line reads: "<h3 align center"> ..."
    - Left click on this line
    - Right click -> Copy -> Value
- *crash*

I do not have PDB files for Wireshark so I can't provide a meaningful dump. My
guess is that the crash is due to the fact that the HTML line contains ASCII
characters and binary data.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.