mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
MFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux)
This commit is contained in:
parent
abe364335b
commit
db77890bbd
2
NEWS
2
NEWS
@ -4,6 +4,8 @@ PHP NEWS
|
||||
- Fixed bug #35293 (PDO segfaults when using persistent connections). (Tony)
|
||||
- Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module). (Ilia)
|
||||
- Fixed bug #35273 (Error in mapping soap - java types). (Dmitry)
|
||||
- Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety
|
||||
on Linux). (Patch: shulmanb at il dot ibm dot com, Jani)
|
||||
- Fixed bug #33153 (crash in mssql_next result). (Frank)
|
||||
- Fixed bug #33963 (mssql_bind() fails on input parameters). (Frank)
|
||||
- Fixed bug #33201 (Crash when fetching some data types). (Frank)
|
||||
|
@ -953,6 +953,10 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p TSRMLS_DC)
|
||||
|
||||
memset(&BG(url_adapt_state), 0, sizeof(BG(url_adapt_state)));
|
||||
memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
|
||||
|
||||
#if defined(_REENTRANT) && defined(HAVE_MBRLEN) && defined(HAVE_MBSTATE_T)
|
||||
memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)));
|
||||
#endif
|
||||
|
||||
BG(incomplete_class) = php_create_incomplete_class(TSRMLS_C);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user