diff options
Diffstat (limited to 'community/csync2/CVE-2019-15522.patch')
-rw-r--r-- | community/csync2/CVE-2019-15522.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/csync2/CVE-2019-15522.patch b/community/csync2/CVE-2019-15522.patch new file mode 100644 index 00000000000..b608a897e10 --- /dev/null +++ b/community/csync2/CVE-2019-15522.patch @@ -0,0 +1,21 @@ +From 416f1de878ef97e27e27508914f7ba8599a0be22 Mon Sep 17 00:00:00 2001 +From: Malte Kraus <malte.kraus@suse.com> +Date: Tue, 13 Aug 2019 11:25:57 +0200 +Subject: [PATCH] fail HELLO command when SSL is required + +--- + daemon.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/daemon.c b/daemon.c +index 2d8407d..2a1a8af 100644 +--- a/daemon.c ++++ b/daemon.c +@@ -747,6 +747,7 @@ void csync_daemon_session() + goto conn_without_ssl_ok; + } + cmd_error = conn_response(CR_ERR_SSL_EXPECTED); ++ peer = NULL; + } + conn_without_ssl_ok:; + #endif |