From: <nos...@us...> - 2006-10-07 17:05:35
|
Revision: 17439 http://svn.sourceforge.net/gaim/?rev=17439&view=rev Author: nosnilmot Date: 2006-10-07 10:05:27 -0700 (Sat, 07 Oct 2006) Log Message: ----------- Fix Coverity CID 219 - don't pass NULL to strcmp Modified Paths: -------------- trunk/libgaim/protocols/silc/ops.c Modified: trunk/libgaim/protocols/silc/ops.c =================================================================== --- trunk/libgaim/protocols/silc/ops.c 2006-10-07 17:03:26 UTC (rev 17438) +++ trunk/libgaim/protocols/silc/ops.c 2006-10-07 17:05:27 UTC (rev 17439) @@ -890,8 +890,9 @@ if (b->account != gc->account) continue; f = gaim_blist_node_get_string(bnode, "public-key"); - if (!strcmp(f, buf)) + if (f && !strcmp(f, buf)) goto cont; + b = NULL; } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |