Wireshark-bugs: [Wireshark-bugs] [Bug 4743] New: SABP short pdu (packet_per.c)

Date: Tue, 4 May 2010 08:39:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4743

           Summary: SABP short pdu (packet_per.c)
           Product: Wireshark
           Version: 1.2.7
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: fabien.markart@xxxxxxxxx


Created an attachment (id=4613)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4613)
test case

Build Information:
Version 1.2.7

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.20.0, with GLib 2.24.0, with libpcap 1.0.0, with libz
1.2.3.3, with POSIX capabilities (Linux), with libpcre 7.8, with SMI 0.4.8,
with
c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Feb 18 2010 23:31:11),
without AirPcap.

Running on Linux 2.6.32-21-generic, with libpcap version 1.0.0, GnuTLS 2.8.5,
Gcrypt 1.4.4.

Built using gcc 4.4.3.
--
analysing short pdu (less than 128 octets) wireshark seems not to be able to
decode sabp frame.

attached capture shows 2 tests :
- 128 octets pdu 
- 127 octets pdu

we tried to look into source code and see that function
dissect_per_length_determinant received an hf_index == -1 in failed test (/*
10.9.3.6 */ section)

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