Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)
+
+
+
+
Updated timezone database to version 2009.9 (2009i) (Derick)
+
+
Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)
+
Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS, and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)
+
Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)
+
+
Changed default value of array_unique()'s optional sorting type parameter back to SORT_STRING to fix backwards compatibility breakage introduced in PHP 5.2.9. (Moriyoshi)
+
+
Fixed memory corruptions while reading properties of zip files. (Ilia)
+
Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
+
Fixed segfault on invalid session.save_path. (Hannes)
+
Fixed leaks in imap when a mail_criteria is used. (Pierre)
+
Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register. (Greg)
+
+
?php bugfix(48562); ?> (Reference recursion causes segfault when used in wddx_serialize_vars()). (Felipe)
+
?php bugfix(48557); ?> (Numeric string keys in Apache Hashmaps are not cast to integers). (David Zuelke)
+
?php bugfix(48518); ?> (curl crashes when writing into invalid file handle). (Tony)
+
?php bugfix(48514); ?> (cURL extension uses same resource name for simple and multi APIs). (Felipe)
?php bugfix(48416); ?> (Force a cache limit in ereg() to stop excessive memory usage). (Scott)
+
?php bugfix(48409); ?> (Crash when exception is thrown while passing function arguments). (Arnaud)
+
?php bugfix(48378); ?> (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)
+
?php bugfix(48359); ?> (Script hangs on snmprealwalk if OID is not increasing). (Ilia, simonov at gmail dot com)
+
?php bugfix(48336); ?> (ReflectionProperty::getDeclaringClass() does not work with redeclared property). (patch by Markus dot Lidel at shadowconnect dot com)
+
?php bugfix(48326); ?> (constant MSG_DONTWAIT not defined). (Arnaud)
+
?php bugfix(48313); ?> (fgetcsv() does not return null for empty rows). (Ilia)
+
?php bugfix(48309); ?> (stream_copy_to_stream() and fpasstru() do not update stream position of plain files). (Arnaud)
+
?php bugfix(48307); ?> (stream_copy_to_stream() copies 0 bytes when $source is a socket). (Arnaud)
+
?php bugfix(48273); ?> (snmp*_real_walk() returns SNMP errors as values). (Ilia, lytboris at gmail dot com)
+
?php bugfix(48256); ?> (Crash due to double-linking of history.o). (tstarling at wikimedia dot org)
+
?php bugfix(48248); ?> (SIGSEGV when access to private property via &__get). (Felipe)
+
?php bugfix(48247); ?> (Crash on errors during startup). (Stas)
?php bugfix(45622); ?> (isset($arrayObject->p) misbehaves with ArrayObject:: ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)
+
?php bugfix(45614); ?> (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)
+
?php bugfix(45540); ?> (stream_context_create creates bad http request). (Arnaud)
+
?php bugfix(45202); ?> (zlib.output_compression can not be set with ini_set()). (Jani)
+
?php bugfix(45191); ?> (error_log ignores date.timezone php.ini val when setting logging timestamps). (Derick)
+
?php bugfix(45092); ?> (header HTTP context option not being used when compiled using --with-curlwrappers). (Jani)
+
?php bugfix(44996); ?> (xmlrpc_decode() ignores time zone on iso8601.datetime). (Ilia, kawai at apache dot org)
+
?php bugfix(44827); ?> (define() is missing error checks for class constants). (Ilia)
+
?php bugfix(44214); ?> (Crash using preg_replace_callback() and global variables). (Nuno, Scott)
+
?php bugfix(43073); ?> (TrueType bounding box is wrong for angle<>0). (Martin McNickle)
+
?php bugfix(42663); ?> (gzinflate() try to allocate all memory with truncated data). (Arnaud)
+
?php bugfix(42414); ?> (some odbc_*() functions incompatible with Oracle ODBC driver). (jhml at gmx dot net)
+
?php bugfix(42362); ?> (HTTP status codes 204 and 304 should not be gzipped). (Scott, Edward Z. Yang)
+
?php bugfix(42143); ?> (The constant NAN is reported as 0 on Windows) (Kanwaljeet Singla, Venkat Raman Don)
+
?php bugfix(38805); ?> (PDO truncates text from SQL Server text data type field). (Steph)
The PHP development team would like to announce the immediateavailability of PHP 5.2.10. This release focuses on improving the stability ofthe PHP 5.2.x branch with over 100 bug fixes, one of which is security related.All users of PHP are encouraged to upgrade to this release.
+
+ Security Enhancements and Fixes in PHP 5.2.10:
+
+
Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)
+
Further details about the PHP 5.2.9 can be found in the release announcement for 5.2.10 the full list of changes is available in the ChangeLog for PHP 5.
+
+
+
diff --git a/include/releases.inc b/include/releases.inc
index 4b8a2b776..0d0455c4f 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,85 @@
$OLDRELEASES = array (
5 =>
array (
+ '5.2.9' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/5_2_9.php',
+ ),
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-5.2.9.tar.bz2',
+ 'name' => 'PHP 5.2.9 (tar.bz2)',
+ 'md5' => '280d6cda7f72a4fc6de42fda21ac2db7',
+ 'date' => '26 February 2009',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-5.2.9.tar.gz',
+ 'name' => 'PHP 5.2.9 (tar.gz)',
+ 'md5' => '98b647561dc664adefe296106056cf11',
+ 'date' => '26 February 2009',
+ ),
+ ),
+ 'windows' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-5.2.9-2-Win32.zip',
+ 'name' => 'PHP 5.2.9-2 zip package',
+ 'md5' => '316b9c81bab08e6547a730315ea2abfd',
+ 'date' => '8 April 2009',
+ 'note' => 'Updated 9th of April: Added the missing oci8 DLL
+The PECL package will not be released for
+this version. The 5.2.6 PECL package does however work with this release',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-5.2.9-2-win32-installer.msi',
+ 'name' => 'PHP 5.2.9-2 installer',
+ 'md5' => 'e2162faa3467aed01651df4269aa6944',
+ 'date' => '8 April 2009',
+ 'note' => 'Updated 9th of April: Added the missing oci8 DLL',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-debug-pack-5.2.9-2-Win32.zip',
+ 'name' => 'PHP 5.2.9 Win32 Debug Pack',
+ 'md5' => 'b52e9a152e105c7391c832fdfe0fa06f',
+ 'date' => '8 April 2009',
+ ),
+ 3 =>
+ array (
+ 'filename' => 'php-5.2.9-2-nts-Win32.zip',
+ 'name' => 'PHP 5.2.9-2 Non-thread-safe zip package',
+ 'md5' => '8f85777941f7722fcbfe08e7de358f7d',
+ 'date' => '8 April 2009',
+ 'note' => 'Updated 9th of April: Added the missing oci8 DLL
+The PECL package will not be released for
+this version. The 5.2.6 PECL package does however work with this release',
+ ),
+ 4 =>
+ array (
+ 'filename' => 'php-5.2.9-2-nts-win32-installer.msi',
+ 'name' => 'PHP 5.2.9-2 Non-thread-safe installer',
+ 'md5' => '4e7a1bec2b268d3d2d28cb89f629b680',
+ 'date' => '8 April 2009',
+ 'note' => 'Updated 9th of April: Added the missing oci8 DLL',
+ ),
+ 5 =>
+ array (
+ 'filename' => 'php-debug-pack-5.2.9-2-nts-Win32.zip',
+ 'name' => 'PHP 5.2.9 Non-thread-safe Win32 Debug Pack',
+ 'md5' => '4b7b695a257527f2896312f98dc30fd3',
+ 'date' => '8 April 2009',
+ ),
+ ),
+ 'date' => '26 February 2009',
+ 'museum' => false,
+ ),
'5.2.8' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index ce57532bd..7d10e1914 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -17,27 +17,25 @@
*/
/* PHP 5 Release */
-$PHP_5_VERSION = "5.2.9";
-$PHP_5_DATE = "26 February 2009";
-$PHP_5_WINDOWS_DATE = "8 April 2009";
-$PHP_5_WINDOWS_VERSION = "5.2.9-2";
+$PHP_5_VERSION = "5.2.10";
+$PHP_5_DATE = "18 June 2009";
+$PHP_5_WINDOWS_DATE = $PHP_5_DATE;
+$PHP_5_WINDOWS_VERSION = $PHP_5_VERSION;
$PHP_5_MD5 = array(
- "tar.bz2" => "280d6cda7f72a4fc6de42fda21ac2db7",
- "tar.gz" => "98b647561dc664adefe296106056cf11",
- "zip" => "316b9c81bab08e6547a730315ea2abfd",
- "installer" => "e2162faa3467aed01651df4269aa6944",
- "nts.zip" => "8f85777941f7722fcbfe08e7de358f7d",
- "nts.installer" => "4e7a1bec2b268d3d2d28cb89f629b680",
- "nts.debugpack" => "4b7b695a257527f2896312f98dc30fd3",
- "debugpack" => "b52e9a152e105c7391c832fdfe0fa06f",
+ "tar.bz2" => "15c7b5a87f57332d6fc683528e28247b",
+ "tar.gz" => "85753ba2909ac9fae5bca516adbda9e9",
+ "zip" => "95ae7ccfcd05b6c81c93aa2e9e792f9e",
+ "installer" => "38b65bc57f64c66ff73f6f4e2db2cbb4",
+ "nts.zip" => "b1c53e6f525133647e621a9c95b09e65",
+ "nts.installer" => "e341deb2872d3f8f4589593da88bbede",
);
-$PHP_5_RC = '5.2.10RC2';
-$PHP_5_RC_DATE = "11 June 2009";
+$PHP_5_RC = false; //'5.2.10RC2';
+$PHP_5_RC_DATE = false; //"11 June 2009";
// Hack that works so 5.3.0 and 5.2.10 can have an RC party together (today)
-$RCS = array('5.2.10 RC2' => 'June 11, 2009', '5.3.0 RC4' => 'June 18, 2009');
+$RCS = array('5.3.0 RC4' => 'June 18, 2009');
$PHP_5_WINDOWS_NOTE_MSI = "Updated 9th of April: Added the missing oci8 DLL";
$PHP_5_WINDOWS_NOTE_ZIP = "Updated 9th of April: Added the missing oci8 DLL
diff --git a/releases/5_2_10.php b/releases/5_2_10.php
new file mode 100644
index 000000000..575ce6b20
--- /dev/null
+++ b/releases/5_2_10.php
@@ -0,0 +1,51 @@
+
+
+
PHP 5.2.10 Release Announcement
+
+The PHP development team would like to announce the immediate
+availability of PHP 5.2.10. This release focuses on improving the stability of
+the PHP 5.2.x branch with over 100 bug fixes, one of which is security related.
+All users of PHP are encouraged to upgrade to this release.
+
+
+
+Security Enhancements and Fixes in PHP 5.2.10:
+
+
+
Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)
+
+
+
+Key enhancements in PHP 5.2.10 include:
+
+
+
Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)
+
Fixed memory corruptions while reading properties of zip files. (Ilia)
+
Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
+
Fixed segfault on invalid session.save_path. (Hannes)
+
Fixed leaks in imap when a mail_criteria is used. (Pierre)
+
Changed default value of array_unique()'s optional sorting type parameter back to SORT_STRING to fix backwards compatibility breakage introduced in PHP 5.2.9. (Moriyoshi)
+
Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)
+
Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)
+
Fixed bug #47644 (Valid integers are truncated with json_decode()). (Scott)
+
Fixed bug #47564 (unpacking unsigned long 32bit big endian returns wrong result). (Ilia)
+
Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit systems).
+
Over 100 bug fixes.
+
+
+
+For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available
+here, detailing the changes between those releases
+and PHP 5.2.10.
+
+
+
+ For a full list of changes in PHP 5.2.10, see the ChangeLog.
+