Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-esis.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Fri, 12 Dec 2003 20:17:44 -0600 (CST)
guy         2003/12/12 20:17:44 CST

  Modified files:
    .                    packet-esis.c 
  Log:
  Check that the length in the ESIS header is sane, i.e. >= the length of
  the fixed-length part of the header.
  
  Make "variable_len" a "guint8", as the above check ensures it fits, make
  the length arguments to dissect routines "guint8" (same type as
  "guchar", but it makes it clearer that it's an integral value not a text
  character), and get rid of the casts of "variable_len".
  
  Revision  Changes    Path
  1.30      +17 -11    ethereal/packet-esis.c