Wireshark-bugs: [Wireshark-bugs] [Bug 7959] New: USB Descriptor Dissector fails for strings with

Date: Tue, 6 Nov 2012 03:35:00 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7959

           Summary: USB Descriptor Dissector fails for strings with odd
                    bLength.
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Debian
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Dissection engine (libwireshark)
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: desowin@xxxxxxxxx


Created attachment 9496
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9496
Fix usb_setup_get_descriptor_response() for string type  descriptors with odd
bLength.

Build Information:
wireshark 1.9.0 (SVN Rev 1deb8ff from master)

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.24.10, with Cairo 1.12.2, with Pango 1.30.0, with
GLib 2.32.4, with libpcap, with libz 1.2.7, with POSIX capabilities (Linux),
with libnl 1, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 2.12.20, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built Dec  7 2011 23:15:44), without AirPcap.

Running on Linux 3.5.0, with locale en_US.UTF-8, with libpcap version 1.3.0,
with libz 1.2.7, GnuTLS 2.12.20, Gcrypt 1.5.0.

Built using gcc 4.7.1.

--
Some devices send odd bLength field in GET DESCRIPTOR Response STRING which
causes an exception, as the dissector assumes the strings have even length.

The packets in digitech-rp250.pcapng capture file that cause an exception and
thus are erroneously marked as malformed are: 59, 61, 65, 67, 69, 99, 101,   
103, 112.

Mentioned digitech-rp250.pcapng file was posted in #7809.
https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9298

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