Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4420] New: some protocols leak memory or call xxx_add_prot

Date: Mon, 25 Jan 2010 07:44:16 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4420

           Summary: some protocols leak  memory or call
                    xxx_add_proto_data() more than once
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: dgautheron@xxxxxxxx


Created an attachment (id=4175)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4175)
use se_alloc  rather than g_malloc and call xxx_add_proto_data only
get_proto_data return null

Build Information:
rev 31659.

--
If a add_proto_data() is called more than once it doesn't replace the previous
data but add a new entry in the list. 

replace packet-rsync.c use of g_malloc with se_alloc

Following protocols may leak too:
- packet-ntlmssp.c around line 1460

-./epan/dissectors/packet-mac-lte.c in call_rlc_dissector() either call
p_add_proto_data() more than once or dereference a null pointer.

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