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

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

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jul 2002 22:18:31 -0500 (CDT)
sahlberg    2002/07/26 22:18:31 CDT

  Modified files:
    .                    packet-smb.c 
  Log:
  If conversations have already been created in lower layers, say TCP before
  SMB sees the PDU, then SMB would forget to create the proper state variables and crash.
  
  SMB is changed to split the operation into
  1, only create a conversation if it needs to. (as before)
  2, detect if it needs to create the si.ct state variables independant of
  whether smb also created a conversation or not.
  
  Without this patch and with changes to say TCP to create conversations ethereal would crash at the first packet the SMB dissector would see.
  
  Revision  Changes    Path
  1.273     +8 -8      ethereal/packet-smb.c