From: <nos...@us...> - 2006-10-15 16:31:14
|
Revision: 17484 http://svn.sourceforge.net/gaim/?rev=17484&view=rev Author: nosnilmot Date: 2006-10-15 09:30:50 -0700 (Sun, 15 Oct 2006) Log Message: ----------- Fix Coverity CID 264, jm->body could be NULL Modified Paths: -------------- trunk/libgaim/protocols/jabber/message.c Modified: trunk/libgaim/protocols/jabber/message.c =================================================================== --- trunk/libgaim/protocols/jabber/message.c 2006-10-15 13:26:34 UTC (rev 17483) +++ trunk/libgaim/protocols/jabber/message.c 2006-10-15 16:30:50 UTC (rev 17484) @@ -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, "<a href='%s'>%s</a>", urltxt, desctxt); else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |