Wireshark-bugs: [Wireshark-bugs] [Bug 5284] new_packet_list: redissection + redraw crashes when
Date: Wed, 25 Apr 2012 14:46:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5284

--- Comment #21 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2012-04-25 14:46:47 PDT ---
(In reply to comment #20)
> The original option (per-edt memory pools) works correctly in all the cases
> I've been able to come up with.

Will it realy?
> ep_dissect_new(edt1)
> ...
> ep_dissect_new(edt2)
Stuff with edt1 allocating ep_mamory from pool2?
> ...
> ep_dissect_cleanup(edt2)
pool 2 cleared
> ...
> ep_dissect_new(edt3)
all ep allocs from pool3
> ...
> ep_dissect_cleanup(edt3)
> ...
> ep_dissect_cleanup(edt1)
> 

Or am I missing something? the refcounting solution might bloat the memory
usage somewhat but it seems safe(er). on the plus side is also that it sholdn't
give any performance hit.


Regards
Anders

-- 
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.