[Pidgin] #8974: Make pref formatting for XML obviously correct.

Pidgin trac at pidgin.im
Thu Apr 16 17:40:50 EDT 2009


#8974: Make pref formatting for XML obviously correct.
-------------------------+--------------------------------------------------
Reporter:  evilsporkman  |        Type:  patch    
  Status:  new           |   Component:  libpurple
 Version:  2.5.5         |    Keywords:           
-------------------------+--------------------------------------------------
 In a couple places in libpurple/account.c, it appears as though garbage
 could be written to the XML file on 64-bit systems because plain snprintf
 was used to write to a buffer without sufficient room for -2^63, so the
 buffer might not be null-terminated. This patch makes the buffers "a round
 32 bytes" and uses g_snprintf.

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


More information about the Tracker mailing list