On 8/10/12 3:23 PM, [email protected] wrote: > @@ -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 ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
