ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1512] New: Acces to uninitialized memory in packet-smpp

Date: Wed, 4 Apr 2007 09:02:28 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1512

           Summary: Acces to uninitialized memory in packet-smpp
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: florent.drouin@xxxxxxxxxx


Build Information:
TShark 0.99.6 (SVN Rev 20838)

Copyright 1998-2007 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 GLib 2.6.4, with libpcap 0.9.5, with libz 1.2.2, with libpcre
4.5,
without Net-SNMP, with ADNS, without Lua, with GnuTLS 1.0.16, with Gcrypt
1.2.0,
without Kerberos.

Running on Linux 2.6.17.3, with libpcap version 0.9.5.

Built using gcc 3.3.5 (Debian 1:3.3.5-13).

--
In packet-smpp, when the time is not correctly formatted, there is no check on
the length. We can access to uninitialized memory, because smpp_mktime uses
direct access in an array.
I do not think this could leads to a real problem, but this is detected by
Valgrind as an error.


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