Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-tds.c randpkt.c

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

From: Gerald Combs <gerald@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Nov 2002 15:47:42 -0600 (CST)
gerald      2002/11/17 15:47:42 CST

  Modified files:
    .                    packet-tds.c randpkt.c 
  Log:
  Clean up the TDS dissector a bit.  Change a lot of signed ints to
  unsigned, and set their size to match the protocol data assigned to
  them.  Make sure the number of columns read doesn't exceed MAX_COLUMNS.
  Explicitly check for integer values > 0.  Switch from using memcpy with
  tvb_get_ptr to tvb_memcpy.  Make indentation consistent.
  
  Add TDS support to randpkt.  Most of the generated packets won't pass
  the heuristic checks, but enough should make it through to adequately
  test the dissector.
  
  Revision  Changes    Path
  1.5       +75 -72    ethereal/packet-tds.c
  1.18      +24 -1     ethereal/randpkt.c