Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smb-mailslot.c packet-smb-pipe.c pack

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, 28 Nov 2001 05:33:57 -0600 (CST)
guy         2001/11/28 05:33:57 CST

  Modified files:
    .                    packet-smb-mailslot.c packet-smb-pipe.c 
                         packet-smb.c smb.h 
  Log:
  If a request has already been processed, and we fail to find its
  "smb_saved_info_t" in the table of requests whose replies have been
  found, don't look it up in the table of requests whose replies have not
  been found - if the request in question has no reply in the capture,
  that may find some later frame in the same conversation with the same
  MID, and we don't need that information anyway - the only reason we
  *need* that structure is to save information in it for use when
  processing its reply, and we already did that the first time we
  processed the request.  (The information for the later frame may be bad,
  e.g. having a null "extra_info" pointer, or having one that points to
  information for another request.)
  
  Arrange that we don't use the pointer to the "smb_saved_info_t" when
  processing a request except to save information if the request hasn't
  already been processed, as that pointer may not be valid if the request
  has already been processed, as per the above.
  
  Revision  Changes    Path
  1.28      +7 -4      ethereal/packet-smb-mailslot.c
  1.58      +13 -7     ethereal/packet-smb-pipe.c
  1.173     +101 -132  ethereal/packet-smb.c
  1.27      +2 -1      ethereal/smb.h