[Snort-devel] possible bug in DecodeVlan

Nick Petroni npetroni at ...1103...
Mon Jan 28 08:47:02 EST 2002

Just a quick question on some code I noticed in decode.c.
 lines 171 and 178, should the second argument to the function calls be as

len - sizeof(VlanTagHdr) - sizeof(EthLlc) -  sizeof(EthLlcOther)

seems like the length isn't being decremented enough. Don't think this
would cause any harm based on the calls being made.

Nick L. Petroni, Jr.
Graduate Student, Computer Science
University of Maryland

More information about the Snort-devel mailing list