Ettercap/ettercap — pull request #52 by bk1te (2012-11-29 17:28:41+00:00)
Title: fix free() error under ubuntu-12.04

ec_telnet dissector set up s->data to "\xe7\x7e" which is later freed in
void session_free(struct ec_session *s)
{
DEBUG_MSG("session_free: [%p] deleted", s->ident);
SAFE_FREE(s->ident);
/* call the cleanup function to free pointers in the data portion */
if (s->free)
s->free(s->data, s->data_len);
/* data is free'd here, don't free it in the s->free function */
SAFE_FREE(s->data);
SAFE_FREE(s);
}
under ubuntu-12.04 this leads to program crash