Wireshark-bugs: [Wireshark-bugs] [Bug 6715] New: GSM RR CCCH dissection ignores last octet of PD
Date: Sat, 7 Jan 2012 23:34:30 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6715

           Summary: GSM RR CCCH dissection ignores last octet of PDU
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxxxxxx


Created attachment 7653
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7653
patch to fix the problem

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
For CCCH PDUs which contain the L2 Pseudo Length IE, the working length of the
PDU was wrongly decremented by 1 while dissecting the L2 Pseudo Length, so
subsequent IEs were dissected 1 octet short.

This bug has apparently been present for a long time (before the gsm_a_...
files were split).

The problem was hidden by the use of the ELEM_MAND_V() macro, which was really
not appropriate here.  I have eliminated this use of the macro, and removed
some collateral ugliness form the code.

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