Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-telnet.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: Thu, 23 Mar 2000 04:25:49 -0600 (CST)
guy         2000/03/23 04:25:44 CST

  Modified files:
    .                    packet-telnet.c 
  Log:
  Don't use temporary buffers for strings; use the data in the packet
  buffer directly.
  
  Don't use "strlen()" to determine how much Telnet data there is; we have
  the number of bytes of Telnet data in a variable, and using "strlen()"
  makes it not correctly handle Telnet data with '\0' in it.
  
  Correctly handle Telnet options we don't know about.
  
  General cleanup.
  
  Revision  Changes    Path
  1.9       +129 -149  ethereal/packet-telnet.c