-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Brian Oleksa
Sent: 18 February 2010 15:49
To: Developer support list for Wireshark
Subject: [Wireshark-dev] Malformed packet
Why would I be getting a Malformed Packet error..??
I wrote a dissector where I am dissecting several packets to which I am
very happy with the outcome in the wireshark gui.
I am getting exactly what I am expecting to get (as I hard coded the
data in the packets).
But at the end of every packet... I get this highlighted pink line that
says "Malformed Packet".
Again....I am very happy with the outcome of all the packets that I am
dissecting (which tells me that my dissector "appears" to be working
properly).
Any ideas..??
Is your dissector trying to read beyond the end of the packet?
If you can run inside a debugger, then try putting a breakpoint on the
Wireshark exception handler, it should quickly show you how the
exception is triggered.
This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the sender and delete the message immediately.
ip.access Ltd, registration number 3400157, Building 2020,
Cambourne Business Park, Cambourne, Cambridge CB23 6DW, United Kingdom