Ethereal-dev: [ethereal-dev] NO_ADDR2 lookups in conversation.c

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

From: Nathaniel Lally <nate@xxxxxxxxx>
Date: Tue, 27 May 2003 02:54:13 -0400
Hi,
Just now I spent time tracking down an ever so mysterious segfault after a relatively large update to my code. As it turns out, I wasn't paying attention and just changed a find_conversation call so addr_b was 0 following suit with the port, rather than an empty address struct. I wonder though after looking at conversation.c, if it would be appropriate to use something like &((address){ A_NONE, 0, NULL }) as the second argument to conversation_lookup_hashtable in the 2 instances where the argument is irrelevant.

-Nate