mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- fix #60895, possible invalid handler usage
This commit is contained in:
parent
d997e578b7
commit
4879a01b54
2 changed files with 17 additions and 13 deletions
24
NEWS
24
NEWS
|
@ -3,23 +3,25 @@ PHP NEWS
|
||||||
?? ?? 2012, PHP 5.3.10
|
?? ?? 2012, PHP 5.3.10
|
||||||
|
|
||||||
- Core:
|
- Core:
|
||||||
. Fixed bug #60227 (header() cannot detect the multi-line header with CR).
|
. Fixed bug #60227 (header() cannot detect the multi-line header with CR).
|
||||||
(rui)
|
(rui)
|
||||||
. Fixed bug #60825 (Segfault when running symfony 2 tests).
|
. Fixed bug #60825 (Segfault when running symfony 2 tests).
|
||||||
(Dmitry, Laruence)
|
(Dmitry, Laruence)
|
||||||
|
. Fix bug #60895 (Possible invalid handler usage in windows random
|
||||||
|
functions). (Pierre)
|
||||||
|
|
||||||
- Firebird Database extension (ibase):
|
- Firebird Database extension (ibase):
|
||||||
. Fixed bug #60802 (ibase_trans() gives segfault when passing params).
|
. Fixed bug #60802 (ibase_trans() gives segfault when passing params).
|
||||||
|
|
||||||
- Streams:
|
- Streams:
|
||||||
. Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
|
. Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
|
||||||
together with the last read). (Gustavo)
|
together with the last read). (Gustavo)
|
||||||
. Fixed bug #60817 (stream_get_line() reads from stream even when there is
|
. Fixed bug #60817 (stream_get_line() reads from stream even when there is
|
||||||
already sufficient data buffered). stream_get_line() now behaves more like
|
already sufficient data buffered). stream_get_line() now behaves more like
|
||||||
fgets(), as is documented. (Gustavo)
|
fgets(), as is documented. (Gustavo)
|
||||||
|
|
||||||
- PHP-FPM SAPI:
|
- PHP-FPM SAPI:
|
||||||
. Fixed bug #60811 (php-fpm compilation problem). (rasmus)
|
. Fixed bug #60811 (php-fpm compilation problem). (rasmus)
|
||||||
|
|
||||||
10 Jan 2012, PHP 5.3.9
|
10 Jan 2012, PHP 5.3.9
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,10 @@ void php_win32_init_rng_lock()
|
||||||
void php_win32_free_rng_lock()
|
void php_win32_free_rng_lock()
|
||||||
{
|
{
|
||||||
tsrm_mutex_lock(php_lock_win32_cryptoctx);
|
tsrm_mutex_lock(php_lock_win32_cryptoctx);
|
||||||
CryptReleaseContext(hCryptProv, 0);
|
if (has_crypto_ctx == 1) {
|
||||||
has_crypto_ctx = 0;
|
CryptReleaseContext(hCryptProv, 0);
|
||||||
|
has_crypto_ctx = 0;
|
||||||
|
}
|
||||||
tsrm_mutex_unlock(php_lock_win32_cryptoctx);
|
tsrm_mutex_unlock(php_lock_win32_cryptoctx);
|
||||||
tsrm_mutex_free(php_lock_win32_cryptoctx);
|
tsrm_mutex_free(php_lock_win32_cryptoctx);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue