Wireshark-bugs: [Wireshark-bugs] [Bug 7279] New: WiMax\M2M Dissectors failure. Worked in v1.0.15

Date: Wed, 23 May 2012 13:00:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7279

           Summary: WiMax\M2M Dissectors failure. Worked in v1.0.15, fails
                    under 1.6.8 Win32 & RHEL5.7
           Product: Wireshark
           Version: 1.6.8
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: chuckbubba777@xxxxxxxxxxx


Created attachment 8480
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8480
WiMAX Test packets from real network that show the compressed DL\UL-Map bug

Build Information:
On RHEL5.7, built from the head of the 1.6 trunk.  Exact same behavior using
v1.6.8 win32 installer, so it is not just me (as I initially thought).

That is the attached pcap file causes the same display error\failure regardless
of if Wireshark v1.6.8 was built on RHEL5.7 or as a binary installed on win32.

Note: RHEL 5.x does not support GTK+ or the GLIBC versions required to build
the 1.7.2 trunk source.
--
I am working on moving my WiMAX message custom dissectors into the new code
base.  However, there is an issue.  When a compressed DL-MAP (msg_dlmap.c) with
an appended compressed UL-MAP (msg_ulmap.c) is dissected the contents of the
compressed DL-MAP is displayed, but the appended compressed UL-MAP is not. I
have placed printf around every function starting with the wimax_pdu_decoder.c
all the way through the functions called in msg_dlmap.c which calls function in
msg_ulmap.c.  Needless to say there are no errors or mistakes that I have
detected in this call tree.  I focused on the sizes to see that the DL-MAP IEs
and UL-MAP IEs were being correctly parsed.  Everything adds up to the
correctly reported lengths (from my printfs) as well as to the IEEE 802.16-2005
standard.  All the functions return all the way back to wimax_pdu_decoder.c,
but the line that should be labeled "Compressed UL-MAP" and contain the parsed
tree simply says, "WiMax DLMAP/ULMAP Messages" followed by a Malformed Packet:
M2M (m2m) error.  The export info says:
[Message: Malformed Packet (Exception occurred)]
[Severity level: Error]
[Group: Malformed]

Also, the tree that used to be expandable under the WiMax Mac to Mac Packet, is
gray like it is expandable, but can't be expanded.

The display problems I've described did not exist in the old v1.0.15 SVN
checkout.

I've attached a pcap file containing three packets, also included is a parsing
of all three packets so you can see what is expected.  The parsing was
generated using Wireshark v1.0.15 with some fixes e.g., replaced pletohs(l)
with pntohs(l) in wimax_bits.h

Thanks,
Austin

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