Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ntlmssp.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: Sun, 18 Aug 2002 15:33:48 -0500 (CDT)
guy         2002/08/18 15:33:48 CDT

  Modified files:
    .                    packet-ntlmssp.c 
  Log:
  If the length of a string is zero, don't put it into the protocol tree.
  
  Handle the case where "get_unicode_or_ascii_string()" returns a null
  pointer (which can be the case if the length supplied is zero, which we
  check for as per the above, but can also be the case for a Unicode
  string if the length supplied is 1 byte).
  
  Fix a call to "proto_tree_add_uint()" that was presumably supposed to be
  a call to "proto_tree_add_item()".
  
  Revision  Changes    Path
  1.7       +53 -31    ethereal/packet-ntlmssp.c