Wireshark-bugs: [Wireshark-bugs] [Bug 6708] New: Wrong tvb_get_bits function call in packet-csn1

Date: Wed, 4 Jan 2012 14:31:45 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6708

           Summary: Wrong tvb_get_bits function call in packet-csn1.c
           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 an attachment (id=7641)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7641)
trivial patch to fix the problem

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
In function csnStreamDissector(), case CSN_LEFT_ALIGNED_VAR_BMP:, the call to
tvb_get_bits32() should be tvb_get_bits, as the number of bits to be fetched
can be 1-32.

Without this patch some traces throw an exception.

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