[Pidgin] #10259: Crash in jabber_idn_validate()
Pidgin
trac at pidgin.im
Wed Sep 9 05:47:34 EDT 2009
#10259: Crash in jabber_idn_validate()
---------------------+------------------------------------------------------
Reporter: patrakov | Type: defect
Status: new | Component: libpurple
Version: 2.6.2 | Keywords:
---------------------+------------------------------------------------------
{{{
if (!jabber_resourceprep(idn_buffer, sizeof(idn_buffer)))
{
jabber_id_free(jid);
jid = NULL;
/* goto out; */
}
jid->resource = g_strdup(idn_buffer);
}}}
This can't be right. We assign NULL to jid, and then attempt to set the
resource through this NULL pointer. To trigger this, register an account
on online.yandex.ru and wait while a mail notifier appears in your contact
list.
If I uncomment the "goto out;", the crash goes away.
--
Ticket URL: <http://developer.pidgin.im/ticket/10259>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list