Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan conversation.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: Mon, 3 Sep 2001 02:31:21 -0500 (CDT)
guy         2001/09/03 02:31:21 CDT

  Modified files:
    epan                 conversation.c 
  Log:
  Don't pass wildcarded arguments to "find_conversation()" to routines
  that look up conversations in hash tables, unless they are arguments
  that will be ignored; if they're not being ignored, then if the argument
  is a null pointer you may get a crash if it's dereferenced, and if it's
  not a null pointer you'll only get a match if the conversation has
  whatever stuff the arguments points to as its first address or port.
  
  If you match a conversation with a wildcarded address and/or port, and
  the address and/or port matched a non-wildcarded search argument, and
  the conversation is for a connection-oriented transport protocol, set
  the wildcarded address and/or port for the conversation to the value
  that matched it.
  
  Revision  Changes    Path
  1.12      +181 -44   ethereal/epan/conversation.c