seahorse r2872 - in trunk: . libseahorse



Author: nnielsen
Date: Sun Mar  1 22:45:16 2009
New Revision: 2872
URL: http://svn.gnome.org/viewvc/seahorse?rev=2872&view=rev

Log:
Fix crash when typing in custom key server URL.

Fixes bug #573602

Modified:
   trunk/ChangeLog
   trunk/libseahorse/seahorse-servers.c

Modified: trunk/libseahorse/seahorse-servers.c
==============================================================================
--- trunk/libseahorse/seahorse-servers.c	(original)
+++ trunk/libseahorse/seahorse-servers.c	Sun Mar  1 22:45:16 2009
@@ -155,7 +155,7 @@
 	parts = g_strsplit (uri, ":", 2);
 	if (parts && parts[0]) {
 		info = g_hash_table_lookup (server_types, parts[0]);
-		if (info->validator && (info->validator) (uri))
+		if (info && info->validator && (info->validator) (uri))
 			ret = TRUE;
 	}
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]