summaryrefslogtreecommitdiff
path: root/www/apache2/patches/patch-ae
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-08-08 18:30:26 +0000
committertron <tron@pkgsrc.org>2005-08-08 18:30:26 +0000
commit92cff08c3c3aacc55e26697858f33c8dfb7ef1de (patch)
treee1cdecb49ce37613be09726f31ef03e4576909d4 /www/apache2/patches/patch-ae
parenta8be0d86e599bf5ed026d2459f110ceeb7305816 (diff)
downloadpkgsrc-92cff08c3c3aacc55e26697858f33c8dfb7ef1de.tar.gz
Add fixes for CAN-2005-1268 (not really a security problem) and
CAN-2005-2088 from the Apache SVN repository.
Diffstat (limited to 'www/apache2/patches/patch-ae')
-rw-r--r--www/apache2/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/apache2/patches/patch-ae b/www/apache2/patches/patch-ae
new file mode 100644
index 00000000000..83b13945a06
--- /dev/null
+++ b/www/apache2/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.4 2005/08/08 18:30:26 tron Exp $
+
+--- modules/ssl/ssl_engine_kernel.c.orig 2005-03-29 09:44:31.000000000 +0100
++++ modules/ssl/ssl_engine_kernel.c 2005-08-08 19:19:05.000000000 +0100
+@@ -1398,7 +1398,7 @@
+ BIO_printf(bio, ", nextUpdate: ");
+ ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl));
+
+- n = BIO_read(bio, buff, sizeof(buff));
++ n = BIO_read(bio, buff, sizeof(buff) - 1);
+ buff[n] = '\0';
+
+ BIO_free(bio);