Wireshark-bugs: [Wireshark-bugs] [Bug 6873] New: USB: SETUP information can be added to incorrec
Date: Sun, 26 Feb 2012 17:36:09 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6873

           Summary: USB: SETUP information can be added to incorrect tree
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: steve@xxxxxxxxxxxxxxx


Created attachment 7901
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7901
Fix

Build Information:
wireshark 1.7.1 (SVN Rev 41197 from /trunk)

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.8, with Cairo 1.10.2, with Pango 1.29.4, with
GLib 2.30.2, with libpcap, with libz 1.2.5, with POSIX capabilities (Linux),
with SMI 0.4.8, with c-ares 1.7.4, with Lua 5.1, without Python, with GnuTLS
2.12.14, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with PortAudio
V19-devel (built May  5 2011 11:00:51), without AirPcap.

Running on Linux 3.2.6-3.fc16.x86_64, with locale en_US.UTF-8, with libpcap
version 1.1.1, with libz 1.2.5, GnuTLS 2.12.14, Gcrypt 1.5.0.

Built using gcc 4.6.2 20111027 (Red Hat 4.6.2-1).
--
Inspection of the packet-usb code seems to indicate that under certain
circumstances, information describing a USB SETUP operation can be added to the
'USB URB' tree instead of the 'URB setup' tree. This may be a theoretical and
not a practical issue; the conditions required appear to be either an INTERRUPT
or ISOCHRONOUS URB in which the Device Setup Request is marked as 'relevant'.
It may not be possible for these conditions to occur, in which case the
erroneous code should just be removed.

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