[Pidgin] #14775: Double free in jabber_iq_signal_register and jabber_iq_signal_unregister

Pidgin trac at pidgin.im
Mon Nov 28 20:50:28 EST 2011


#14775: Double free in jabber_iq_signal_register and jabber_iq_signal_unregister
---------------------+------------------------------------------------------
 Reporter:  pathorn  |        Owner:  rekkanoryo  
     Type:  defect   |       Status:  new         
Milestone:           |    Component:  unclassified
  Version:  2.10.0   |   Resolution:              
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pathorn):

 With this patch, key may be leaked in unregister if the refcount somehow
 was below 1. If this is possible, I would add:

 {{{
 } else {
     g_free(key);
 }
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/14775#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list