Wireshark-dev: Re: [Wireshark-dev] 0.99.5 - 1.0.0
Date: Thu, 26 Jun 2008 12:02:29 +0100
I'm not getting any debug info in Wireshark itself, but if I look into it I'll keep your comments in mind. Thanks.

The link Jaap pointed me at sounds like the most likely cause. So I guess I'll either need to update my dev version to 1.0.0 or stick with 0.99.5.

Cheers Guys

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Thomas Boehne
Sent: 26 June 2008 11:58
To: [email protected]
Subject: Re: [Wireshark-dev] 0.99.5 - 1.0.0

Andrew,

On Thursday 26 June 2008 09:51, [email protected] wrote:
> Ages ago I wrote a dissector for Wireshark 0.99.5, which worked fine.
> I've just tried using Wireshark 1.0.0 and with the same trace I get a
> malformed packet on the decode! Has anyone else had this problem?

I had the same problem a few weeks ago. I had to fix several things: 

- hidden elements are deprecated and seem to be treated differently
  than with 0.99.5

- for some fields (i.e., FT_INT) combined with certain display styles
  (i.e., BASE_HEX) are invalid - however that should cause an
  assertion to fail. Do you see any debug output on the console?

I think that (in my case) the malformed packet problem was caused by
an DISSECTOR_ASSERT_NOT_REACHED macro in proto.c that was reached
because the hidden fields are now treated differently, but I am not
sure.

Best regards
Thomas Böhne

-- 
**************************************************************************
* Jäger Computergesteuerte Messtechnik GmbH
* Thomas Böhne
* Rheinstraße 2-4
* 64653 Lorsch, Germany
* http://www.ADwin.de
* Phone: +49 (6251) 9632-0                  Fax: +49 (6251) 56819
**************************************************************************
* Responsible: C.E.O. Hubert Morgenstern
* Commercial Register: Amtsgericht Bensheim, Register no.: B24717
**************************************************************************

_______________________________________________
Wireshark-dev mailing list
[email protected]
https://wireshark.org/mailman/listinfo/wireshark-dev


This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof.  General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.