From 65589f9f8104b6cba31228b6d5fa1363cbb3ee54 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 9 Nov 2005 12:52:52 +0000 Subject: check if string (eg. use_ssl) are NULL before strcmp(). prevents a 2005-11-09 Parthasarathi Susarla * camel-gw-listener.c (get_addressbook_names_from_server): check if string (eg. use_ssl) are NULL before strcmp(). prevents a violation. svn path=/trunk/; revision=30588 --- plugins/groupwise-account-setup/ChangeLog | 6 ++++++ plugins/groupwise-account-setup/camel-gw-listener.c | 2 ++ 2 files changed, 8 insertions(+) (limited to 'plugins') diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog index db7c8029a3..fc7088feeb 100644 --- a/plugins/groupwise-account-setup/ChangeLog +++ b/plugins/groupwise-account-setup/ChangeLog @@ -1,3 +1,9 @@ +2005-11-09 Parthasarathi Susarla + + * camel-gw-listener.c (get_addressbook_names_from_server): + check if string (eg. use_ssl) are NULL before strcmp(). + prevents a violation. + 2005-09-28 Sushma Rai * camel-gw-listener.c (add_addressbook_sources): Removed name diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c index 58122ff7b4..df721da739 100644 --- a/plugins/groupwise-account-setup/camel-gw-listener.c +++ b/plugins/groupwise-account-setup/camel-gw-listener.c @@ -448,6 +448,8 @@ get_addressbook_names_from_server (char *source_url) if (!soap_port || strlen (soap_port) == 0) soap_port = "7191"; use_ssl = camel_url_get_param (url, "use_ssl"); + if (!use_ssl) + use_ssl = ""; key = g_strdup_printf ("groupwise://%s@%s/", url->user, poa_address); -- cgit