# HG changeset patch # User Paul Aurich # Date 1255660780 0 # Node ID b7d60f0e1df2c29414ff474298bfff34289a02bd # Parent fd495ede2f3aea9261d44c3139118b0ad79ea868 printf("%s", NULL) when a cert has no CN. Refs #10519. This is a temporary change to keep it from crashing while not introducing a string change. diff -r fd495ede2f3a -r b7d60f0e1df2 libpurple/certificate.c --- a/libpurple/certificate.c Fri Oct 16 01:27:25 2009 +0000 +++ b/libpurple/certificate.c Fri Oct 16 02:39:40 2009 +0000 @@ -1405,7 +1405,7 @@ g_string_append_printf(errors, _("The certificate claims to be " "from \"%s\" instead. This could mean that you are " "not connecting to the service you believe you are."), - sn); + sn ? sn : "(null)"); g_free(sn); flags &= ~PURPLE_CERTIFICATE_NAME_MISMATCH;