[Pidgin] #13238: vvconfig: Use compare function that will not crash on NULL string

Pidgin trac at pidgin.im
Thu Jan 20 16:24:14 EST 2011


#13238: vvconfig: Use compare function that will not crash on NULL string
-------------------+--------------------------------------------------------
Reporter:  haakon  |        Type:  patch                
  Status:  new     |   Component:  plugins              
 Version:  2.7.9   |    Keywords:  vvconfig crash strcmp
-------------------+--------------------------------------------------------
 At vvconfig plugin in get_plugin_frame(), string comparison function that
 accepts NULL pointer must be used for g_list_find_custom() call, as the
 list is terminated with an item containing NULL pointer. Pidgin crashes
 whenever device name is not found in the list.

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


More information about the Tracker mailing list