Wireshark-bugs: [Wireshark-bugs] [Bug 7303] New: DVB-CI: no null check required before calls to
Date: Tue, 29 May 2012 12:39:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7303

           Summary: DVB-CI: no null check required before calls to
                    proto_item_set_len()
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Dissection engine (libwireshark)
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Dear all,

reviewing my other submissions, I just learned that there's no need to check
pi==NULL before calling proto_item_set_len(pi, len)

I did quite a lot of those checks in the DVB-CI dissector. The attached patch
removes them.

Best regards,

   Martin

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