seahorse r2872 - in trunk: . libseahorse
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2872 - in trunk: . libseahorse
- Date: Sun, 1 Mar 2009 22:45:17 +0000 (UTC)
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]