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

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 19:55:15 -0600 (CST)
guy         2002/01/30 19:55:15 CST

  Modified files:
    .                    packet-diameter.c 
  Log:
  Don't copy the AVP data to a buffer from the tvbuff and then extract
  stuff from the buffer - extract what you need directly from the tvbuff.
  (And definitely don't extract stuff from the buffer if you haven't
  copied stuff to it.)
  
  For integral AVP items, check the length of the item before processing
  it.
  
  Put time items into the protocol tree as times, not as byte arrays.
  
  Revision  Changes    Path
  1.44      +132 -94   ethereal/packet-diameter.c