[Pidgin] #3003: Pidgin corrupts config xml files

Pidgin trac at pidgin.im
Tue Dec 18 02:51:24 EST 2007


#3003: Pidgin corrupts config xml files
------------------------+---------------------------------------------------
  Reporter:  hkais      |       Owner:                                
      Type:  defect     |      Status:  reopened                      
  Priority:  minor      |   Milestone:  2.3.2                         
 Component:  libpurple  |     Version:  2.3.1                         
Resolution:             |    Keywords:  xml corrupt crash gai_strerror
   Pending:  0          |  
------------------------+---------------------------------------------------
Changes (by MarkDoliner):

  * status:  closed => reopened
  * component:  pidgin (gtk) => libpurple
  * version:  2.1.1 => 2.3.1
  * milestone:  2.3.0 => 2.3.2
  * keywords:  xml corrupt crash => xml corrupt crash gai_strerror
  * resolution:  fixed =>

Comment:

 Rui65: Thank you for your information, it is very helpful.  It would be
 useful to have the full Jabber error message exactly as it was printed
 (it's ok if it's in French), if you still have it.

 The AIM error comes from a call to gai_strerror() in libpurple/dnsquery.c
 on line 549.  The error string is returned in your current locale, but
 libpurple assumes the message is UTF-8.  We had some similar problems to
 this involving strerror() which were fixed by using the glib function
 g_strerror(), which returns the error string as UTF-8.  Unfortunately I
 don't see a g_gai_strerror() function, so we might need to write our own.
 I'll keep digging...

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


More information about the Tracker mailing list