pidgin: 69be96ca: Fix CID #386

rlaager at pidgin.im rlaager at pidgin.im
Fri Nov 14 02:46:01 EST 2008


-----------------------------------------------------------------
Revision: 69be96ca0713f233452e475f0553042ab6fcf808
Ancestor: 25851b74b4471910b619020327beb96e047e7cf1
Author: rlaager at pidgin.im
Date: 2008-11-14T06:41:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/69be96ca0713f233452e475f0553042ab6fcf808

Modified files:
        libpurple/util.c

ChangeLog: 

Fix CID #386

-------------- next part --------------
============================================================
--- libpurple/util.c	48de854112a59f90848931b518b272aa98a32112
+++ libpurple/util.c	f22bf25f4e2696aa0a1792d2a91fdd711d6057fb
@@ -3443,6 +3443,9 @@ void purple_got_protocol_handler_uri(con
 	char *cmd;
 	GHashTable *params = NULL;
 	int len;
+
+	g_return_if_fail(uri != NULL, NULL);
+
 	if (!(tmp = strchr(uri, ':')) || tmp == uri) {
 		purple_debug_error("util", "Malformed protocol handler message - missing protocol.\n");
 		return;


More information about the Commits mailing list