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 4796] New: Malformed User Defined CIGI packets

Date: Wed, 26 May 2010 13:44:10 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4796

           Summary: Malformed User Defined CIGI packets
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: brian.w.woodard@xxxxxxxxx


Brian Woodard <brian.w.woodard@xxxxxxxxx> changed:

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

Created an attachment (id=4696)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4696)
Patch for packet-cigi.c

Build Information:
Version 1.3.6-svn-trackerproto (SVN Rev 32920 from /trunk)

Copyright 1998-2010 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.16.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
May
23 2010), with AirPcap, with new_packet_list.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
User Defined CIGI packets with a packet size greater than 127 bytes are
displayed as Malformed.

The cigi_add_data function checks to make sure that the packet size is not less
than 2 bytes since every CIGI packet should be at least 2 bytes.  However, it
gets the packet size and puts it in a variable defined as gint8.  So, any user
defined packets greater than 127 will be negative and less than 2.

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