Wireshark-bugs: [Wireshark-bugs] [Bug 3884] Assertion caused by fuzz test file

Date: Fri, 10 Aug 2012 16:04:29 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3884

--- Comment #15 from Gerald Combs <gerald@xxxxxxxxxxxxx> 2012-08-10 16:04:28 PDT ---
(In reply to comment #14)
> @@ -166,6 +166,10 @@ expert_set_info_vformat(packet_info *pinfo, proto_item
> *pi,.
> +       if (pinfo == NULL && pi->tree_data)
> +               pinfo = PTREE_DATA(pi)->pinfo;
> 
> Gerald, does it work when dissecting without tree?
> I'm afraid it will crash with NULL dereference (pi == NULL).

It worked in my tests here but it looks like it would be an easy
condition to trigger. I added a check in r44437.

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