Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5320] [lua] Dumper:close() will cause a segfault due later

Date: Wed, 20 Oct 2010 09:04:00 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5320

Holger Freyther <zecke@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5345|                            |review_for_checkin?
               Flag|                            |

--- Comment #1 from Holger Freyther <zecke@xxxxxxxxxxx> 2010-10-20 09:03:59 PDT ---
Created an attachment (id=5345)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5345)
Fix the issue

The code attempts to handle the GC that could follow but fails to do it
properly. Assigning Dumper *dp = NULL will only have an affect within the scope
of this method... Assumingly this should be a *dp = NULL.

I could also do another cleanup to 'merge' the two close paths into one...

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