Blame SOURCES/evolution-data-server-3.28.5-CVE-2020-16117.patch

49244d
diff -up evolution-data-server-3.28.5/src/camel/providers/imapx/camel-imapx-server.c.CVE-2020-16117 evolution-data-server-3.28.5/src/camel/providers/imapx/camel-imapx-server.c
49244d
--- evolution-data-server-3.28.5/src/camel/providers/imapx/camel-imapx-server.c.CVE-2020-16117	2018-07-30 15:17:06.000000000 +0200
49244d
+++ evolution-data-server-3.28.5/src/camel/providers/imapx/camel-imapx-server.c	2020-09-30 09:10:32.240788043 +0200
49244d
@@ -2979,7 +2979,8 @@ connected:
49244d
 
49244d
 			/* See if we got new capabilities
49244d
 			 * in the STARTTLS response. */
49244d
-			imapx_free_capability (is->priv->cinfo);
49244d
+			if (is->priv->cinfo)
49244d
+				imapx_free_capability (is->priv->cinfo);
49244d
 			is->priv->cinfo = NULL;
49244d
 			if (ic->status->condition == IMAPX_CAPABILITY) {
49244d
 				is->priv->cinfo = ic->status->u.cinfo;