Ethereal-dev: [Ethereal-dev] SPX Dissection problem.

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

From: "Greg Morris" <GMORRIS@xxxxxxxxxx>
Date: Wed, 09 Apr 2003 09:52:49 -0600
Guy,
 
You made some changes to the SPX dissection but now after the forst run when you click on an SPX packet Ethereal crashes because spx_hash_keys in function spx_hash_insert is 0 value. Attached is a trace containing SPX traffic.
 
spx_info*
spx_hash_insert(conversation_t *conversation, guint32 spx_src)
{
 spx_hash_key  *key;
 spx_info  *value;
 
 /* Now remember the packet, so we can find it if we later. */
 key = g_mem_chunk_alloc(spx_hash_keys);
 
I suspect that the spx_hash_key structure was released from memory? I haven't had a chance yet to really debug.
 
Greg

Attachment: 1ndpserror.cap
Description: Binary data