From: Thies C. Arntzen Date: Thu, 8 Jun 2000 09:49:31 +0000 (+0000) Subject: @- Fixed crash in OCIFetchStatement() when trying to read after X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8ffb0ba592b8dd26d086bbf4c4f275f935f5f16;p=php @- Fixed crash in OCIFetchStatement() when trying to read after @ all data has already been read. (Thies) --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 6cb59bea78..5f427d7835 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1477,6 +1477,7 @@ oci_fetch(oci_statement *statement, ub4 nrows, char *func) zend_hash_destroy(statement->columns); efree(statement->columns); statement->columns = 0; + statement->ncolumns = 0; } statement->executed = 0;