diff options
-rw-r--r-- | ext/oci8/oci8_statement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 4f36ae176a..bc83624180 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -887,7 +887,7 @@ int php_oci_bind_post_exec(void *data TSRMLS_DC) * their reallocation but (i) any IN binds either interned or * not should already be null terminated and (ii) for OUT * binds, php_oci_bind_out_callback() should have allocated a - * new string that can be realloced. + * new string that we can modify here. */ Z_STRVAL_P(bind->zval) = erealloc(Z_STRVAL_P(bind->zval), Z_STRLEN_P(bind->zval)+1); Z_STRVAL_P(bind->zval)[ Z_STRLEN_P(bind->zval) ] = '\0'; |