[Pidgin] #5023: OSCAR login segfault/crash

Pidgin trac at pidgin.im
Mon Mar 3 23:34:50 EST 2008


#5023: OSCAR login segfault/crash
---------------------+------------------------------------------------------
  Reporter:  pedric  |       Owner:  MarkDoliner                            
      Type:  defect  |      Status:  new                                    
  Priority:  minor   |   Milestone:                                         
 Component:  AIM     |     Version:  2.4.0                                  
Resolution:          |    Keywords:  oscar, icq, aim, segfault, crash, login
   Pending:  0       |  
---------------------+------------------------------------------------------
Comment (by datallah):

 I think this patchlet will fix the crash:
 {{{
 #
 # old_revision [891c7ee2331dd2ab7f2fc7055658687f76159685]
 #
 # patch "libpurple/protocols/oscar/family_icbm.c"
 #  from [28f68371090128f88aa0851dd5e57bf91ce5ea09]
 #    to [ad8f9dceddf6362beb11cf4dff289faad53bc7b8]
 #
 ============================================================
 --- libpurple/protocols/oscar/family_icbm.c
 28f68371090128f88aa0851dd5e57bf9
 1ce5ea09
 +++ libpurple/protocols/oscar/family_icbm.c
 ad8f9dceddf6362beb11cf4dff289faa
 d53bc7b8
 @@ -2504,7 +2504,8 @@ static int clientautoresp(OscarData *od,
                 g_free(stripped_encoding);
                 g_free(encoding);
                 g_free(response);
 -               g_free(info->status_note_title);
 +               if (info != NULL)
 +                       g_free(info->status_note_title);
                 g_free(info);

                 byte_stream_get16(bs); /* Unknown */
 }}}

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


More information about the Tracker mailing list