ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 4107] New: Dissectors using call_dissector() function insi

Date: Thu, 8 Oct 2009 22:35:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107

           Summary: Dissectors using call_dissector() function inside a 'if
                    (tree) {}' block
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: dgautheron@xxxxxxxx



didier gautheron <dgautheron@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3760|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=3760)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3760)
move call_dissector outside if (tree) block 

Build Information:
SVN 30413.
--
Not calling call_dissector() if tree is NULL may have unwanted side effect,
like a dissectors never being called with flag->visited set to false.

Patch dissectors using call_dissector() but not with data_handle.


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