[Pidgin] #4198: libpurple segfaults on Bonjour for nonexistant buddies

Pidgin trac at pidgin.im
Fri Nov 30 17:20:44 EST 2007


#4198: libpurple segfaults on Bonjour for nonexistant buddies
-------------------------+--------------------------------------------------
Reporter:  DnasTheGreat  |       Owner:  datallah
    Type:  defect        |      Status:  new     
Priority:  minor         |   Component:  Bonjour 
 Version:  2.3.0         |    Keywords:          
 Pending:  0             |  
-------------------------+--------------------------------------------------
 Steps to Reproduce:

 1. Open Pidgin[[BR]]
 2. Sign on to or create a Bonjour account[[BR]]
 3. Add a buddy to the Bonjour account with some random nonexistent name,
 like asdfadsfsa[[BR]]
 4. Show Offline Buddies[[BR]]
 5. Mouse-over or talk to the fake buddy

 Results: Segfault

 The proto_data field of these buddies is, for some reason, uninitialized
 to NULL. Adding checks to bits of code that dereference it fixes the
 problem.

 Patch is against pidgin 2.3.0.

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


More information about the Tracker mailing list