Wireshark-bugs: [Wireshark-bugs] [Bug 1113] Several crash when SE_DEBUG_FREE used
Date: Wed, 28 Nov 2007 15:07:26 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113





------- Comment #3 from florent.drouin@xxxxxxxxxx  2007-11-28 15:07 GMT -------
Yes, there are still double free, when the binary was compiled with the debug
option.
Most of the problems comes with tables se_allocated, when these tables are
cleaned up at protocol initialisation.

For example, during the X11 protocol initialization, we should not access to
the sequence table.
<<
static void x11_init_protocol(void)
{
      x11_conv_data_t *state;

#if !defined(SE_DEBUG_FREE)
      for (state = x11_conv_data_list; state != NULL; state = state->next) {
            g_hash_table_destroy(state->seqtable);
            g_hash_table_destroy(state->valtable);
      }
#endif
      x11_conv_data_list = NULL;
}
>>


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.