about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xombrero.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c
index 291c4f8..b5414f8 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -2092,7 +2092,8 @@ check_cert_changes(struct tab *t, const char *uri)
 		cert_cmd(t, &args);
 		break;
 	case CERT_BAD:
-		if ((soupuri = soup_uri_new(uri)) == NULL)
+		if ((soupuri = soup_uri_new(uri)) == NULL ||
+		    soupuri->host == NULL)
 			break;
 		find.domain = soupuri->host;
 		if (RB_FIND(sv_ignore_list, &svil, &find))