php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

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()
 /* }}} */
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC