summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-ad
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-28 06:14:45 +0000
committerjlam <jlam>2002-02-28 06:14:45 +0000
commit5f925981772f9f09134de52396bc7cd7525ee4cb (patch)
treeaee1220fa95820b9fb781532bab52932f2b0c1a9 /www/php4/patches/patch-ad
parent9c4956ba59394b1da35f90cf4d737dbc35cb1266 (diff)
downloadpkgsrc-5f925981772f9f09134de52396bc7cd7525ee4cb.tar.gz
Update php4 and ap-php4 to 4.1.2. Changes from version 4.1.1 include:
- Fixed start up failure when mm save handler is used and there is multiple SAPIs are working at the same time. (Yasuo) - Fixed a buffer overflow in the RFC-1867 file upload code (Stefan) <===> SECURITY NOTE <===> Note that the buffer overflow fix is a major security fix. Quoting from the security advisory at: http://security.e-matters.de/advisories/012002.html "PHP supports multipart/form-data POST requests (as described in RFC1867) known as POST fileuploads. Unfourtunately there are several flaws in the php_mime_split function that could be used by an attacker to execute arbitrary code. During our research we found out that not only PHP4 but also older versions from the PHP3 tree are vulnerable. [...] "If you are running PHP 4.0.3 or above one way to workaround these bugs is to disable the fileupload support within your php.ini (file_uploads = Off). If you are running php as module keep in mind to restart the webserver. Anyway you should better install the fixed or a properly patched version to be safe."
Diffstat (limited to 'www/php4/patches/patch-ad')
-rw-r--r--www/php4/patches/patch-ad12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/php4/patches/patch-ad b/www/php4/patches/patch-ad
index f03619bf17e..3cf81567ff7 100644
--- a/www/php4/patches/patch-ad
+++ b/www/php4/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.6 2001/12/31 23:54:26 jlam Exp $
+$NetBSD: patch-ad,v 1.7 2002/02/28 06:14:47 jlam Exp $
---- configure.orig Sat Dec 8 14:40:35 2001
+--- configure.orig Wed Feb 27 04:18:32 2002
+++ configure
-@@ -5132,11 +5132,6 @@
+@@ -5138,11 +5138,6 @@
fi
@@ -14,7 +14,7 @@ $NetBSD: patch-ad,v 1.6 2001/12/31 23:54:26 jlam Exp $
INCLUDES="$INCLUDES -I\$(top_builddir)/Zend"
-@@ -16142,10 +16137,6 @@
+@@ -16148,10 +16143,6 @@
else
echo "$ac_t""no" 1>&6
@@ -25,7 +25,7 @@ $NetBSD: patch-ad,v 1.6 2001/12/31 23:54:26 jlam Exp $
fi
-@@ -23549,19 +23540,10 @@
+@@ -23572,19 +23563,10 @@
else
@@ -45,7 +45,7 @@ $NetBSD: patch-ad,v 1.6 2001/12/31 23:54:26 jlam Exp $
echo "$ac_t""no" 1>&6
fi
-@@ -63204,7 +63186,7 @@
+@@ -63418,7 +63400,7 @@
if test "$enable_debug" != "yes"; then