https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6818
Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jeff.morriss.ws@xxxxxxxxx
--- Comment #3 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2012-02-10 19:13:48 PST ---
The problem with malloc'd memory in Wireshark is you're never sure that you'll
actually reach the end of your function: an exception could be thrown any time
you access a tvb. It's why we usually use ep_ or se_ allocated memory instead
of malloc'd: ep_ memory is automatically freed after each frame is dissected;
se_ memory when the file is closed.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.