Patch mbstring.strict_detection for Reproducible crash Bug #76594
Patch version 2018-07-08 13:34 UTC
Return to Bug #76594 |
Download this patch
Patch Revisions:
Developer: cmb@php.net
ext/mbstring/mbstring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index 01c070b584..c3843d7963 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -1502,7 +1502,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_BOOLEAN("mbstring.strict_detection", "0",
PHP_INI_ALL,
- OnUpdateLong,
+ OnUpdateBool,
strict_detection, zend_mbstring_globals, mbstring_globals)
PHP_INI_END()
/* }}} */
|