summaryrefslogtreecommitdiff
path: root/mail/dovecot/patches/patch-src_login-common_ssl-proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dovecot/patches/patch-src_login-common_ssl-proxy.c')
-rw-r--r--mail/dovecot/patches/patch-src_login-common_ssl-proxy.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/dovecot/patches/patch-src_login-common_ssl-proxy.c b/mail/dovecot/patches/patch-src_login-common_ssl-proxy.c
new file mode 100644
index 00000000000..ebc984e7a34
--- /dev/null
+++ b/mail/dovecot/patches/patch-src_login-common_ssl-proxy.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_login-common_ssl-proxy.c,v 1.1 2015/01/23 12:17:47 wiz Exp $
+
+Fix for CVE-2014-3430.
+Based on http://hg.dovecot.org/dovecot-1.2/raw-rev/8ba4253adc9b
+
+--- src/login-common/ssl-proxy.c.orig 2010-01-24 23:14:17.000000000 +0000
++++ src/login-common/ssl-proxy.c
+@@ -55,6 +55,8 @@ const char *ssl_proxy_get_security_strin
+ return "";
+ }
+
++void ssl_proxy_destroy(struct ssl_proxy *proxy ATTR_UNUSED) {}
++
+ void ssl_proxy_free(struct ssl_proxy *proxy ATTR_UNUSED) {}
+
+ unsigned int ssl_proxy_get_count(void)