xref: /web-php/releases/5_2_9.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_2_9.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.2.9 Release Announcement");
5?>
6
7<h1>PHP 5.2.9 Release Announcement</h1>
8<p>
9The PHP development team would like to announce the immediate
10availability of PHP 5.2.9. This release focuses on improving the stability of
11the PHP 5.2.x branch with over 50 bug fixes, several of which are security related.
12All users of PHP are encouraged to upgrade to this release.
13</p>
14
15<p>
16<b>Security Enhancements and Fixes in PHP 5.2.9:</b>
17</p>
18<ul>
19	<li>Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott)</li>
20	<li>Fixed a crash on extract in zip when files or directories entry names contain  a relative path. (Pierre)</li>
21	<li>Fixed explode() behavior with empty string to respect negative limit. (Shire)</li>
22	<li>Fixed a segfault when malformed string is passed to json_decode(). (Scott)</li>
23</ul>
24
25<p>
26<b>Key enhancements in PHP 5.2.9 include:</b>
27</p>
28<ul>
29	<li>Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei)</li>
30	<li>Fixed bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob)</li>
31	<li>A number of fixes in the mbstring extension (Moriyoshi)</li>
32	<li>Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno)</li>
33	<li>Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)</li>
34	<li>Fixed bug #46748 (Segfault when an SSL error has more than one error). (Scott)</li>
35	<li>Fixed bug #46889 (Memory leak in strtotime()). (Derick)</li>
36	<li>Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault). (Dmitry)</li>
37	<li>Fixed bug #47165 (Possible memory corruption when passing return value by reference). (Dmitry)</li>
38	<li>Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia)</li>
39	<li>Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux). (Matt)</li>
40	<li>Over 50 bug fixes.</li>
41</ul>
42
43<p>
44For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available
45<a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases
46and PHP 5.2.9.
47</p>
48
49<p>
50 For a full list of changes in PHP 5.2.9, see the <a href="/ChangeLog-5.php#5.2.9">ChangeLog</a>.
51</p>
52
53
54<?php site_footer(); ?>
55