2013/8/17 Jakub Zawadzki <[email protected]>

> By the way from ROHC code:
>
> 2296             data = (guint8 *)ep_alloc(len);
> 2299             next_tvb = tvb_new_child_real_data(tvb, data, len, len);
> 2300             add_new_data_source(pinfo, next_tvb, "Payload");
>
> It's very bad idea to use ep-allocated tvb as data source.
>

Hi Jakub,

I fixed several dissectors using ep allocated memory for data source in
r51423. I hope I did not miss any.

Best regards,
Pascal.
___________________________________________________________________________
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

Reply via email to