Wireshark-bugs: [Wireshark-bugs] [Bug 13264] WSLUA FileHandler causes crash (use-after-free) on
Date: Wed, 21 Dec 2016 19:02:18 +0000

Comment # 8 on bug 13264 from
(In reply to Stig Bjørlykke from comment #5)
> I only found some changes i made in FileHandler__gc(), so I'm attaching that.
> 
> (In reply to Peter Wu from comment #4)
> > In meantime (?) Michael has also changed dissectors not to need
> > deregistration and Lua is now the only user of these routines.
> 
> I didn't know that other dissectors needed deregistration.
> Which routines are you thinking about here?

Oh, I mixed wiretap with heuristics dissectors. The function that was removed
from dissectors was heur_dissector_delete.

(In reply to Stig Bjørlykke from comment #6)
> Created attachment 15144 [details]
> Initial patch for deregister Lua FileHandler

That just prevents memleaks, the big work still has to be done :/

Will be for later, I got my Zip Archive file dissector working :-)
https://git.lekensteyn.nl/peter/wireshark-notes/tree/lua/file-zip.lua


You are receiving this mail because:
  • You are watching all bug changes.