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 3262] Fuzzed packet causes crash in generated portion of L

Date: Tue, 17 Feb 2009 12:36:06 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3262


Gerald Combs <gerald@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald@xxxxxxxxxxxxx




--- Comment #3 from Gerald Combs <gerald@xxxxxxxxxxxxx>  2009-02-17 12:36:05 PDT ---
It looks like we're passing NULL values to ep_strdup_printf() in
dissect_ldap_SubstringFilter(). This isn't a big deal on Linux or OS X, but it
causes a crash on Windows.

It might be useful to have a utility function that, when passed a char *,
returns the pointer if it's non-null and "[null]" if it is null. It would
simplify a lot of code in the LDAP dissector and in other dissectors as well.


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