# HG changeset patch # User Stu Tomlinson # Date 1160929850 0 # Node ID c9cc804b53bfd84b91f58ba73f347559b89ca56c # Parent 9baeeaa365d18e7f3204fa7ec5f1f33ca0aeca6a [gaim-migrate @ 17484] Fix Coverity CID 264, jm->body could be NULL committer: Tailor Script diff -r 9baeeaa365d1 -r c9cc804b53bf libgaim/protocols/jabber/message.c --- a/libgaim/protocols/jabber/message.c Sun Oct 15 00:48:35 2006 +0000 +++ b/libgaim/protocols/jabber/message.c Sun Oct 15 16:30:50 2006 +0000 @@ -138,7 +138,7 @@ desctxt = xmlnode_get_data(desc); /* I'm all about ugly hacks */ - if(body->len && !strcmp(body->str, jm->body)) + if(body->len && jm->body && !strcmp(body->str, jm->body)) g_string_printf(body, "%s", urltxt, desctxt); else