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 2647] New: incomplete paklog in syslog packet crashes Wire

Date: Thu, 26 Jun 2008 12:49:46 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2647

           Summary: incomplete paklog in syslog packet crashes Wireshark
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: sarkar.abhik@xxxxxxxxx


Created an attachment (id=1918)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=1918)
dump to reproduce the crash.

Build Information:
Version 1.0.99-AS (SVN Rev 25436)

Copyright 1998-2008 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.10, with GLib 2.16.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel (built May 19 2008), with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 8.0 build 50727
--
Issue:
When an SS7 MSU encapsulated in a syslog packet is incomplete and the number of
hex digits is not even (indicating that the bytes are not complete), trying to
decode the packet as syslog will cause Wireshark to crash.

Reproduction:
- Open the attached dump in WS. 
- Decode As > syslog
WS will crash.

Fix:
The attached patch will prevent this crash.


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