[Pidgin] #9242: msn_update_contact crash when msn_userlist_find_user returns NULL

Pidgin trac at pidgin.im
Sun May 24 02:22:20 EDT 2009


#9242: msn_update_contact crash when msn_userlist_find_user returns NULL
--------------------+-------------------------------------------------------
 Reporter:  zacw    |        Owner:  khc
     Type:  defect  |       Status:  new
Milestone:          |    Component:  MSN
  Version:          |   Resolution:     
 Keywords:          |  
--------------------+-------------------------------------------------------

Old description:

> In 2.6.0mtn, when a buddy's alias is set immediately after the contact is
> added to the MSN account, a crash occurs:
>
> Thread 0 Crashed:
> 0   libpurple                           0x008341a8 msn_update_contact +
> 844
> 1   libpurple                           0x00840740 msn_alias_buddy + 60
> 2   libpurple                           0x0078eb50 serv_alias_buddy + 260
>
> msn_userlist_find_user returns NULL, which the function tried to access
> as though it weren't.

New description:

 In 2.6.0mtn, when a buddy's alias is set immediately after the contact is
 added to the MSN account, a crash occurs:

 {{{
 Thread 0 Crashed:
 0   libpurple                           0x008341a8 msn_update_contact +
 844
 1   libpurple                           0x00840740 msn_alias_buddy + 60
 2   libpurple                           0x0078eb50 serv_alias_buddy + 260
 }}}

 msn_userlist_find_user returns NULL, which the function tried to access as
 though it weren't.

--

Comment(by zacw):

 I should know better to use wiki formatting.

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


More information about the Tracker mailing list