On Fri, 2006-06-23 at 12:12 +0200, Lars Kneschke wrote: > Lars Kneschke <[EMAIL PROTECTED]> schrieb: > >Hello! > > > >Today i discovered another strange bug. > > I got i narrowed down to this piece of code: > > int dbmail_imap_session_printf(struct ImapSession * self, char * message, > ...) > > trace(TRACE_MESSAGE, "%s,%s: AAAAAAAAA string: %s", __FILE__, __func__, > message); > va_start(ap, message); > ln = g_strdup_vprintf(message,ap); > va_end(ap); > trace(TRACE_MESSAGE, "%s,%s: BBBBBBBBB string: %s", __FILE__, __func__, ln); > > When asking for the password, the string printed by the last trace contains > strange characters. While asking for the password it works without any > problems. > > I'm still debuging.
In your glib builds, look to see if one or both are using the Solaris libc's vasnprintf, or if they're using the Gnulib vasnprintf. Aaron
