Ethereal-cvs: [Ethereal-cvs] rev 12817: /trunk/epan/dissectors/: packet-radius.c

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

Date: Wed, 22 Dec 2004 19:27:18 -0000
User: guy
Date: 2004/12/22 01:27 PM

Log:
 RFC 2868 says that the length of a "tagged string" field must be at
 least 3 - 2 for type+length and 1 for the tag - so treat a "tagged
 string" field as bad if there isn't at least one byte of data.  (It's a
 bit odd that the RFC says that the tag must be in the range 0x01-0x1F -
 that sounds suspiciously as if they're saying "printable characters
 aren't valid tags", to allow untagged strings, which might suggest that
 a field with a length of 2 should be interpreted as an empty string.)

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +8 -8      packet-radius.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=12817&view=rev