Wireshark-bugs: [Wireshark-bugs] [Bug 2312] New: RTCP dissector fail to decode the FMT field ( R

Date: Thu, 28 Feb 2008 15:41:40 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2312

           Summary: RTCP dissector fail to decode the FMT field (RTCP Early
                    Mode)
           Product: Wireshark
           Version: 0.99.8
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jonas.lundberg@xxxxxxxxxxxx


Build Information:
I'm using the pre-compiled release version of Wireshark.
--
The FMT field in the RTCP packet header is incorrectly decoded. According to
RFC 4585 (page 31), the FMT field is 5 bits. In packet-rtcp.c an incorrect bit
mask is used, shouldn't this be 0x1f? Now the bitmask is defined as 0x15. 

                {
                        &hf_rtcp_rtpfb_fmt,
                        {
                                "RTCP Feedback message type (FMT)",
                                "rtcp.rtpfb.fmt",
                                FT_UINT8,
                                BASE_DEC,
                                VALS(rtcp_rtpfb_fmt_vals),
                                0x15,
                                "RTCP Feedback message type (FMT)", HFILL
                        }
                },
                {
                        &hf_rtcp_psfb_fmt,
                        {
                                "RTCP Feedback message type (FMT)",
                                "rtcp.psfb.fmt",
                                FT_UINT8,
                                BASE_DEC,
                                VALS(rtcp_psfb_fmt_vals),
                                0x15,
                                "RTCP Feedback message type (FMT)", HFILL
                        }
                },


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