Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smb-pipe.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: Tue, 20 Nov 2001 03:07:32 -0600 (CST)
guy         2001/11/20 03:07:32 CST

  Modified files:
    .                    packet-smb-pipe.c 
  Log:
  Allow the tvbuff pointer to various "proto_tree_add" routines to be null
  if (and only if) the length of the item being added is 0 (so that it has
  no data backing it).
  
  This means the data stream name pointer for the item in question is
  null; make sure we handle that.
  
  Use that for some "uses the value from the matching request" fields in
  the SMB Pipe protocol.
  
  Revision  Changes    Path
  1.51      +3 -3      ethereal/packet-smb-pipe.c