summaryrefslogtreecommitdiff
path: root/lang/php5/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-11-23 13:20:00 +0000
committeradrianp <adrianp>2007-11-23 13:20:00 +0000
commitd8d50cb9dd029454ee4969a498c5dfa28d4137a5 (patch)
tree90e614bb730600f89c2814c51aeff92110b1d4a8 /lang/php5/patches
parent044ee5b701aaaf1117931c8d6b7d080be5538ff8 (diff)
downloadpkgsrc-d8d50cb9dd029454ee4969a498c5dfa28d4137a5.tar.gz
Update to 5.2.5
* Security Enhancements and Fixes in PHP 5.2.5: Fixed dl() to only accept filenames. Reported by Laurent Gaffie. Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie. Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences. Reported by Rasmus Lerdorf Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie. Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications. Reported by SecurityReason. Fixed bug 42869 (automatic session id insertion adds sessions id to non-local forms). Fixed bug 41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()). * Key enhancements in PHP 5.2.5 include: Upgraded PCRE to version 7.3 Updated timezone database to version 2007.9 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable. Improved speed of array_intersect_key(), array_intersect_assoc(), array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and array_udiff_assoc() functions Fixed bug 43139 (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll()) Fixed bug 42785 (json_encode() formats doubles according to locale rather then following standard syntax) Fixed bug 42549 (ext/mysql failed to compile with libmysql 3.23) Over 60 bug fixes. For all the details see: http://www.php.net/ChangeLog-5.php#5.2.5
Diffstat (limited to 'lang/php5/patches')
-rw-r--r--lang/php5/patches/patch-ao13
-rw-r--r--lang/php5/patches/patch-ar13
2 files changed, 0 insertions, 26 deletions
diff --git a/lang/php5/patches/patch-ao b/lang/php5/patches/patch-ao
deleted file mode 100644
index 1e50170a606..00000000000
--- a/lang/php5/patches/patch-ao
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ao,v 1.5 2007/09/02 21:13:43 jdolecek Exp $
-
---- ext/bz2/php_bz2.h.orig 2007-09-02 20:11:08.000000000 +0200
-+++ ext/bz2/php_bz2.h
-@@ -51,7 +51,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2o
- #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz), (mode), (innerstream) STREAMS_CC TSRMLS_CC)
- #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
-
--php_stream_filter_factory php_bz2_filter_factory;
-+extern php_stream_filter_factory php_bz2_filter_factory;
- extern php_stream_ops php_stream_bz2io_ops;
- #define PHP_STREAM_IS_BZIP2 &php_stream_bz2io_ops
-
diff --git a/lang/php5/patches/patch-ar b/lang/php5/patches/patch-ar
deleted file mode 100644
index 0ffa801568a..00000000000
--- a/lang/php5/patches/patch-ar
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ar,v 1.3 2007/09/11 20:14:46 jdolecek Exp $
-
---- Zend/zend_extensions.c.orig 2007-09-11 22:00:50.000000000 +0200
-+++ Zend/zend_extensions.c
-@@ -243,7 +243,7 @@ void *zend_mh_bundle_load(char* bundle_p
- return NULL;
- }
-
-- bundle_handle = NSLinkModule(bundle_image, bundle_path, NSLINKMODULE_OPTION_PRIVATE);
-+ bundle_handle = NSLinkModule(bundle_image, bundle_path, NSLINKMODULE_OPTION_NONE);
- NSDestroyObjectFileImage(bundle_image);
-
- /* call the init function of the bundle */