Wireshark-bugs: [Wireshark-bugs] [Bug 1603] New: SMPP decodes validity_period field incorrectly

Date: Wed, 16 May 2007 19:01:56 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1603

           Summary: SMPP decodes validity_period field incorrectly
           Product: Wireshark
           Version: 0.99.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jonica.keel@xxxxxxx


Build Information:
Version 0.99.5 (SVN Rev 20677)

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 GTK+ 2.10.7, with GLib 2.12.7, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.

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

Built using Microsoft Visual C++ 6.0 build 8804

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

Check the man page and http://www.wireshark.org for more information.
--
When decoding SMPP the validity_period field is incorrectly decoded
(reproducible).  I've attached a capture that shows the SMPP submit_sm PDU
where the validity period is set to 1 minute and 59 seconds (per SMPP 3.4
section 7.1).  Wireshark reports the validity period as:
Validity period: 943949300.000000000 seconds

I suspect that it is decoding the ascii as hex.


-- 
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.