Wireshark-dev: [Wireshark-dev] Performance plug-in problem

From: Guillaume PETIT <guillaume1360@xxxxxxxxx>
Date: Thu, 26 Aug 2010 21:54:32 +0200
Hello,

I developped a plug-in to decode a specific protocol. This protocol is made of 256 "words" of 256 bytes.
I have to decode those "words" grouping them in regard with the nature of thoses 4 bytes word.
A 7 bits fields present in the the "word" (4 bytes), allow me to define the nature of the "word".

To group my word, i define a array: tab[256][256] in which a class my word.
My plug-in is decoding properly my protocol on 1 frame.

Nevertheless, when I load a capture of 50Mbytes, Wireshark crash. I don't understand why.
I imagine my problem is link to a perform