* PHP-7.3:
Fix #77569: Write Acess Violation in DomImplementation
(cmb)
. Fixed bug #79242 (COM error constants don't match com_exception codes on
x86). (cmb)
+ . Fixed bug #79247 (Garbage collecting variant objects segfaults). (cmb)
. Fixed bug #79248 (Traversing empty VT_ARRAY throws com_exception). (cmb)
+- CURL:
+ . Fixed bug #79019 (Copied cURL handles upload empty file). (cmb)
+
+ - DOM:
+ . Fixed bug #77569: (Write Acess Violation in DomImplementation). (Nikita,
+ cmb)
+
- PCRE:
. Fixed bug #79188 (Memory corruption in preg_replace/preg_replace_callback
and unicode). (Nikita)
return FAILURE;
}
- str = zval_get_string(newval);
+ str = zval_try_get_string(newval);
+ if (UNEXPECTED(!str)) {
+ return FAILURE;
+ }
- handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval));
+ handler = xmlFindCharEncodingHandler(ZSTR_VAL(str));
if (handler != NULL) {
xmlCharEncCloseFunc(handler);