Wireshark-bugs: [Wireshark-bugs] [Bug 3558] New: Ensure dct3trac packets never longer than 23 by

Date: Sat, 20 Jun 2009 05:39:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3558

           Summary: Ensure dct3trac packets never longer than 23 bytes
           Product: Wireshark
           Version: 1.2.0
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: duncan.salerno@xxxxxxxxxxxxxx


Build Information:
wireshark 1.2.0pre1

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.16.1, with GLib 2.20.1, with libpcap 1.0.0, with libz
1.2.3.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without GnuTLS, without Gcrypt, with MIT
Kerberos, without GeoIP, without PortAudio, without AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running on Linux 2.6.28-11-generic, with libpcap version 1.0.0.

Built using gcc 4.3.3.

--
It seems I did a bit too much cut-n-paste and too little thinking. This patch
correctly limits dct3trac GSM Um packets to 23 bytes, so we don't read rubbish,
or off the end of the buffer.

Please apply to 1.2.0 and trunk.


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