# HG changeset patch # User Daniel Atallah # Date 1262907845 0 # Node ID 49f881831eb9576453e1ac709f549a7ec5c12832 # Parent 50256289be74f252765f10a81d38ceb8b58808ca *** Plucked rev f39cd1fed08fe5f5e3165a087fcc36ed984a6eee (f05c54b03e6bbfdbff38c01697fbd353a969e05e): oscar: Avoid a printf(\"%s\", NULL) crash when creating an AIM room. Both of these strings appear to be optional in parseinfo_create(), so we can't rely on their being non-NULL. diff -r 50256289be74 -r 49f881831eb9 libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Thu Jan 07 23:43:26 2010 +0000 +++ b/libpurple/protocols/oscar/oscar.c Thu Jan 07 23:44:05 2010 +0000 @@ -3576,9 +3576,9 @@ purple_debug_misc("oscar", "created room: %s %hu %hu %hu %u %hu %hu %hhu %hu %s %s\n", - fqcn, exchange, instance, flags, createtime, + fqcn ? fqcn : "(null)", exchange, instance, flags, createtime, maxmsglen, maxoccupancy, createperms, unknown, - name, ck); + name ? name : "(null)", ck); aim_chat_join(od, exchange, ck, instance); } break;