Ethereal-dev: [ethereal-dev] Byte comparison does not work anymore as expected

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Mon, 11 Oct 1999 14:20:30 +0200
In dfilter-grammar.y, the bytes_value definition is now only a 
T_VAL_BYTE_STRING, which means that the following filter parsing
will fail :

frame[1:1] == 0x00
frame[1:1] == 00

llc[3:1] eq 0xaa

And there is no check of the data length (i.e. the following will
be accepted :

frame[1:1] == 00:00
frame[1:3] == 00:00

Laurent.

--
Laurent DENIEL        | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE         |         laurent.deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.