. Fixed bug #79668 (get_defined_functions(true) may miss functions). (cmb,
Nikita)
+- Filter:
+ . Fixed bug #73527 (Invalid memory access in php_filter_strip). (cmb)
+
- PDO SQLite:
. Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result set).
(cmb)
{
unsigned char *str;
size_t i;
- int c;
+ size_t c;
zend_string *buf;
/* Optimization for if no strip flags are set */
}
str = (unsigned char *)Z_STRVAL_P(value);
- buf = zend_string_alloc(Z_STRLEN_P(value) + 1, 0);
+ buf = zend_string_alloc(Z_STRLEN_P(value), 0);
c = 0;
for (i = 0; i < Z_STRLEN_P(value); i++) {
if ((str[i] >= 127) && (flags & FILTER_FLAG_STRIP_HIGH)) {
zend_string *buf;
str = (unsigned char *)Z_STRVAL_P(value);
- buf = zend_string_alloc(Z_STRLEN_P(value) + 1, 0);
+ buf = zend_string_alloc(Z_STRLEN_P(value), 0);
c = 0;
for (i = 0; i < Z_STRLEN_P(value); i++) {
if ((*map)[str[i]]) {