We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28efce4 commit 1e3553bCopy full SHA for 1e3553b
ext/oci8/oci8.c
@@ -650,7 +650,7 @@ _oci_bind_post_exec(void *data)
650
zval_dtor(val);
651
ZVAL_NULL(val);
652
} else if (bind->zval->type == IS_STRING) {
653
- bind->zval->value.str.val = realloc(bind->zval->value.str.val, bind->zval->value.str.len+1);
+ bind->zval->value.str.val = erealloc(bind->zval->value.str.val, bind->zval->value.str.len+1);
654
bind->zval->value.str.val[ bind->zval->value.str.len ] = '\0';
655
}
656
0 commit comments