The PHP development team would like to announce the immediate
availability of PHP 5.2.11. This release focuses on improving the
stability of the PHP 5.2.x branch with over 75 bug fixes, some of
which are security related. All users of PHP 5.2 are encouraged to
upgrade to this release.
Security Enhancements and Fixes in PHP 5.2.11:
Fixed certificate validation inside
php_openssl_apply_verification_policy. (Ryan Sleevi, Ilia)
Fixed sanity check for the color index in imagecolortransparent()
.
(Pierre)
Added missing sanity checks around exif processing. (Ilia)
Fixed bug #44683 (popen crashes when an invalid mode is passed).
(Pierre)
Key enhancements in PHP 5.2.11 include:
Fixed regression in cURL extension that prevented flush of data
to output defined as a file handle.
A number of fixes for the FILTER_VALIDATE_EMAIL
validation rule
Fixed bug #49361 (wordwrap() wraps incorrectly on end of line
boundaries).
Fixed bug #48696 (ldap_read() segfaults with invalid parameters)
Fixed bug #48645 (mb_convert_encoding() doesn't understand
hexadecimal html-entities).
Fixed bug #48619 (imap_search ALL segfaults).
Fixed bug #48400 (imap crashes when closing stream opened with
OP_PROTOTYPE flag).
Fixed bug #47351 (Memory leak in DateTime).
Over 60 other bug fixes.
Ilia Alshanetsky
5.2 Release Master
Ilia Alshanetsky schrieb:
The PHP development team would like to announce the immediate
availability of PHP 5.2.11. ... All users of PHP 5.2 are encouraged to
upgrade to this release.
So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.
| Carsten Wiedmann@CARSTEN-1 D:
| # cd \PHP\php-5.2.11-win32
|
| Carsten Wiedmann@CARSTEN-1 D:\PHP\php-5.2.11-win32
| # php -n -i | grep "IPv6"
| IPv6 Support => enabled
|
| Carsten Wiedmann@CARSTEN-1 D:\PHP\php-5.2.11-win32
| # php -n -r "var_dump(fopen('http://[::1]', 'r'));"
|
| Warning: fopen(http://[::1]): failed to open stream: operation
| failed in Command line code on line 1
| bool(false)
In contrast to:
| Carsten Wiedmann@CARSTEN-1 D:\PHP\php-5.2.11-win32
| # cd \PHP\php-5.2.9-2-win32
|
| Carsten Wiedmann@CARSTEN-1 D:\PHP\php-5.2.9-2-win32
| # php -n -i | grep "IPv6"
| IPv6 Support => enabled
|
| Carsten Wiedmann@CARSTEN-1 D:\PHP\php-5.2.9-2-win32
| # php -n -r "var_dump(fopen('http://[::1]', 'r'));"
| resource(7) of type (stream)
(and of course the same problem with fsockopen or stream_socket_client)
Regards,
Carsten
2009/9/19 Carsten Wiedmann carsten_sttgt@gmx.de:
So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.
Is there a bug # on this so its not some unknown issue we suddenly
have to know about?
--
regrads,
Kalle Sommer Nielsen
kalle@php.net
Kalle Sommer Nielsen schrieb:
2009/9/19 Carsten Wiedmann carsten_sttgt@gmx.de:
So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.Is there a bug # on this so its not some unknown issue we suddenly
have to know about?
Sure [1]. But it seems if no one from the support team have the "knowledge"
to do a fopen()
to a local test server.
(I assume that more/most people have a working linklocal or ::1 address,
then a real IPv6 internet connection to test this with a live server.)
Regards,
Carsten
2009/9/19 Carsten Wiedmann carsten_sttgt@gmx.de
Kalle Sommer Nielsen schrieb:
2009/9/19 Carsten Wiedmann carsten_sttgt@gmx.de:
So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.Is there a bug # on this so its not some unknown issue we suddenly
have to know about?Sure [1]. But it seems if no one from the support team have the "knowledge"
to do afopen()
to a local test server.(I assume that more/most people have a working linklocal or ::1 address,
then a real IPv6 internet connection to test this with a live server.)
I've done some detective work on this, and it appears to have been
introduced by the fix for bug #48131. I've posted a patch in #48805
that does fix the problem, but basically "unfixes" #48131 (which was
to do with using the bindto context option to choose IPv4 or IPv6
transport) -- whoever "owns" the streams code will need to make a call
on the right way to fix this, since it's not immediately obvious to a
php-src neophyte like me.
Adam
hi,
Ilia Alshanetsky schrieb:
The PHP development team would like to announce the immediate
availability of PHP 5.2.11. ... All users of PHP 5.2 are encouraged to
upgrade to this release.So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.
It is enabled, but the files did not change since the last two RCs.
You know why RC exists right? :)
I will check again next week and see what's wrong.
Cheers,
Pierre
ah misread, I first thought it was
That's not something we can fix as far as I can tell. But please open
a bug for this issue with:
- windows version used for the tests
- which last PHP version works as you expected
Cheers,
hi,
Ilia Alshanetsky schrieb:
The PHP development team would like to announce the immediate
availability of PHP 5.2.11. ... All users of PHP 5.2 are encouraged to
upgrade to this release.So that's the next PHP release with a broken IPv6 support (after 5.2.10 and
5.3.0) and so it's not possible to update for some peoples.It is enabled, but the files did not change since the last two RCs.
You know why RC exists right? :)I will check again next week and see what's wrong.
Cheers,
Pierre
--
Pierre