--- a/src/protocols/oscar/util.c Mon Oct 18 17:25:25 2004 +0000
+++ b/src/protocols/oscar/util.c Mon Oct 18 19:02:33 2004 +0000
@@ -274,6 +274,9 @@
faim_export int aim_sncmp(const char *sn1, const char *sn2)
{
+ if ((sn1 == NULL) || (sn2 == NULL))
+ return -1;
+
do {
while (*sn2 == ' ')
sn2++;