[Pidgin] #11863: Using "Get X-Status Msg" on offline ICQ buddy causes Pidgin's crash

Pidgin trac at pidgin.im
Mon May 17 07:58:33 EDT 2010


#11863: Using "Get X-Status Msg" on offline ICQ buddy causes Pidgin's crash
--------------------------------------+-------------------------------------
 Reporter:  Fellrond                  |        Owner:  MarkDoliner
     Type:  defect                    |       Status:  new        
Milestone:  2.7.1                     |    Component:  ICQ        
  Version:  2.7.0                     |   Resolution:             
 Keywords:  x-status oscar icq 2.7.0  |  
--------------------------------------+-------------------------------------

Comment(by alcik):

 I thik, tah problem is in function ''oscar_normalize'' in file ''oscar.c''
 {{{
 7201:   tmp1 = g_utf8_strdown(buf, -1);
 7202:   tmp2 = g_utf8_normalize(tmp1, -1, G_NORMALIZE_DEFAULT);
 7203:   strcpy(buf, tmp2);
 }}}
 Function ''g_utf8_normalize'' may return ''NULL'' if string is not valid
 UTF-8.[[BR]]
 And second argument of ''strcpy'' could not be ''NULL''

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


More information about the Tracker mailing list