Wireshark mailing list archives

Re: New dissector: variable length of a fields


From: Dmitrij K <kdiman () live ru>
Date: Sun, 16 Feb 2014 06:17:34 +0000

Guy Harris wrote:
What error do you get?

Thank you for the answer !

I get next:

MYPROTO Ptotocol
Field magic1: 0x1
Field flags:     0x0
Field sz:          0
Field e_flags: 0x0
Field magic2: 0x2
Binary datas range from 0-*:  <MISSING>
------- Here must be the 'Field magic3: 0x3' but it is not !!! --------
Dissector bug, protocol MYPROTO: proto.c:3566: failed assertion "DISSECTOR_ASSERT_NOT_REACHED"


PS: needs for to allow for 'Binary datas range from 0-*' to be 0 length (by the field sz),
and magic3 must be shown ...

--
regards                                           
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

Current thread: