. Fixed Bug #71859 (zend_objects_store_call_destructors operates on realloced
memory, crashing). (Laruence)
. Fixed bug #71841 (EG(error_zval) is not handled well). (Laruence)
+ . Fixed bug #71750 (Multiple Heap Overflows in php_raw_url_encode/
+ php_url_encode). (Stas)
. Fixed bug #71731 (Null coalescing operator and ArrayAccess). (Nikita)
. Fixed bug #69659 (ArrayAccess, isset() and the offsetExists method).
(Nikita)
from = (unsigned char *)s;
end = (unsigned char *)s + len;
- start = zend_string_alloc(3 * len, 0);
+ start = zend_string_safe_alloc(3, len, 0, 0);
to = (unsigned char*)ZSTR_VAL(start);
while (from < end) {
register int x, y;
zend_string *str;
- str = zend_string_alloc(3 * len, 0);
+ str = zend_string_safe_alloc(3, len, 0, 0);
for (x = 0, y = 0; len--; x++, y++) {
ZSTR_VAL(str)[y] = (unsigned char) s[x];
#ifndef CHARSET_EBCDIC