[Pidgin] #7695: Crash when closing authorization requests with the "X"

Pidgin trac at pidgin.im
Wed Dec 3 20:31:25 EST 2008


#7695: Crash when closing authorization requests with the "X"
--------------------------+-------------------------------------------------
 Reporter:  MarkDoliner   |     Owner:       
     Type:  defect        |    Status:  new  
Component:  pidgin (gtk)  |   Version:  2.5.2
 Keywords:                |  
--------------------------+-------------------------------------------------
 1. Receive an auth request on any protocol
 2. Use the little "x" button to close the authorization request without
 explicitly approving or denying it
 3. Set your status to offline
 4. Crash! (Or at least assertion failure or invalid memory access)

 libpurple/account.c has a ```static GList *handles``` variable which keeps
 track of all the mini dialogs.  But when the "x" is used to close a
 minidialog it isn't removed from this list.

 At logout the purple_account_request_close_with_account() function
 iterates through the list of handles, which contains a handle that points
 to a mini-dialog that no longer exists.

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


More information about the Tracker mailing list