[Pidgin] #3436: purple_markup_html_to_xhtml in util.c segfaults given invalid html

Pidgin trac at pidgin.im
Wed Oct 3 16:35:32 EDT 2007


#3436: purple_markup_html_to_xhtml in util.c segfaults given invalid html
-------------------+--------------------------------------------------------
Reporter:  jeffr   |       Owner:  nwalp
    Type:  defect  |      Status:  new  
Priority:  minor   |   Component:  XMPP 
 Version:  2.2.0   |    Keywords:       
 Pending:  0       |  
-------------------+--------------------------------------------------------
 purple_markup_html_to_xhtml, which appears to only be called when sending
 an XMPP IM or chat message, can crash given strange HTML.  For example,
 the string "<a>" will cause a segfault.

 test case:
 purple_markup_html_to_xhtml("<a>", g_string_new(""), g_string_new(""));

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


More information about the Tracker mailing list