Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3257] New: BACnet PrivateTransferError shows malformed pac

Date: Sun, 15 Feb 2009 22:13:24 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3257

           Summary: BACnet PrivateTransferError shows malformed packet
           Product: Wireshark
           Version: SVN
          Platform: PC
               URL: http://kargs.net/captures/PrivateTransferError.cap
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: steve@xxxxxxxxx



Steve Karg <steve@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2748|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=2748)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2748)
packet-bacapp.c.patch

Build Information:
wireshark 1.1.3 (SVN Rev 27399)

Copyright 1998-2009 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 with GTK+ 2.12.9, with GLib 2.16.6, with libpcap 0.9.8, with libz
1.2.3.3, without POSIX capabilities, with libpcre 7.4, without SMI, without
c-ares, without ADNS, without Lua, with GnuTLS 2.0.4, with Gcrypt 1.2.4,
without
Kerberos, without GeoIP, without PortAudio, without AirPcap.

Running on Linux 2.6.24-23-generic, with libpcap version 0.9.8, GnuTLS 2.0.4,
Gcrypt 1.2.4.

Built using gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu3).

--
BACnet PrivateTransferError shows malformed packet.  Corrected in attached
patch.  Note: the root of the problem was a missing break in a switch
statement, but I also made the code in the dissection more informative and
robust while figuring out where the problem existed.  Fuzz tested.


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