[Commits] [SCM] claws branch, master, updated. 3.11.1-231-ga4e905d

Colin colin at claws-mail.org
Fri Jul 17 08:51:31 CEST 2015


The branch, master has been updated
       via  a4e905df972a306ed6aae3ecce8993ebba9b3eab (commit)
      from  53c39d90ebd1dbe46677c6edd14809b157a87f9a (commit)

Summary of changes:
 src/plugins/managesieve/managesieve.c |    2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit a4e905df972a306ed6aae3ecce8993ebba9b3eab
Author: Colin Leroy <colin at colino.net>
Date:   Fri Jul 17 08:51:36 2015 +0200

    Fix missing null pointer check

diff --git a/src/plugins/managesieve/managesieve.c b/src/plugins/managesieve/managesieve.c
index 9170c05..773fa7a 100644
--- a/src/plugins/managesieve/managesieve.c
+++ b/src/plugins/managesieve/managesieve.c
@@ -469,6 +469,8 @@ static void parse_response(gchar *msg, SieveResult *result)
 {
 	gchar *end;
 
+	cm_return_if_fail(msg != NULL);
+
 	/* response status */
 	if (isalpha(msg[0])) {
 		end = strchr(msg, ' ');

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list