Wireshark-bugs: [Wireshark-bugs] [Bug 5431] wireshark-1.4.2 crashes when testing the example pyt
Date: Wed, 24 Nov 2010 02:41:44 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5431

--- Comment #6 from Mike Auty <mike.auty@xxxxxxxxx> 2010-11-24 02:41:40 PST ---
I know, I was asked to provide what I'd done so far, but I tried to indicate
twice that it was only a workaround, and not a fix.

I think a proper fix will require dynamically determining how many dissectors
there are, rather than running a pre-processing script to determine how many
dissectors there are and then compile that fixed number into the code (as
appears to happen at the moment).

At the moment I haven't anywhere near the knowledge about wireshark to even
attempt a fix for this myself, but I thought I should alert people to the
problem.  It looks as though the python plugins aren't getting a lot of
use/testing if this is the first time the problem's been noticed.

Similarly I didn't read the contributions guide since I was never expecting the
patch to be considered for inclusion.  The assertion's a valid one and
shouldn't be commented out, it's the hard coding of the plugin count whilst
allowing plugins to be dynamically registered that needs to be changed.

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