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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 6 Aug 2000 03:53:49 -0500 (CDT)
guy         2000/08/06 03:53:47 CDT

  Modified files:
    .                    packet-rlogin.c 
  Log:
  Use "BYTES_ARE_IN_FRAME()" rather than explicitly checking an offset and
  packet length.
  
  Use "IS_DATA_IN_FRAME()" rather than checking the value of
  "END_OF_FRAME" when checking whether there's any data left in the
  packet.
  
  Before putting the initial login sequence, or any part of it, into the
  tree, make sure it's actually in the packet.
  
  When looking for the end of a '\0'-terminated string, don't run past the
  end of the captured data in the frame.
  
  Before putting the terminal information into the tree, make sure it's
  actually in the packet.
  
  Revision  Changes    Path
  1.6       +47 -22    ethereal/packet-rlogin.c