[Pidgin] #15269: Ignoring an auth request on XMPP leaks

Pidgin trac at pidgin.im
Thu Aug 16 08:08:27 EDT 2012


#15269: Ignoring an auth request on XMPP leaks
------------------------------------+---------------------------------------
 Reporter:  xnyhps                  |     Owner:  deryni
     Type:  defect                  |    Status:  new   
Component:  XMPP                    |   Version:  2.10.6
 Keywords:  leak xmpp auth request  |  
------------------------------------+---------------------------------------
 1. A new "subscribe" presence comes in.
  1.
 [http://hg.pidgin.im/pidgin/main/file/f3069c38804b/libpurple/protocols/jabber/presence.c#l959
 This line] allocates a new {{{struct _jabber_add_permit}}}.
  1. {{{purple_account_request_authorization}}} is called.
  1. If a plugin returns {{{PURPLE_ACCOUNT_RESPONSE_IGNORE}}} for the
 request, or the UI ops directly call {{{purple_account_request_close}}},
 neither of the callbacks {{{authorize_add_cb}}}/{{{deny_add_cb}}} will be
 called.
  1. The {{{struct _jabber_add_permit}}} will now never be freed.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/15269>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list