summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-21 16:53:50 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-21 16:53:50 +0000
commit8d770ee2ef2ad498a04352d705bb77143a2c0984 (patch)
tree4015e971c25444d2dfab45f23133ce34136f32b0
parent70e59e299909a106b8b27cb40525d6a367084e72 (diff)
downloadphp-git-8d770ee2ef2ad498a04352d705bb77143a2c0984.tar.gz
Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
inside a failed query executed via query() method).
-rw-r--r--NEWS3
-rwxr-xr-xext/pdo/pdo_dbh.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 8042d8f0ba..baa861e446 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,14 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Sep 2006, PHP 5.2.0
+- Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
+ inside a failed query executed via query() method). (Ilia)
- Fixed bug #38524 (strptime() does not initialize the internal date storage
structure). (Ilia)
- Fixed PECL bug #8112 (OCI8 persistent connections misbehave when Apache
process times out). (Tony)
+
17 Aug 2006, PHP 5.2.0RC2
- Increased default memory limit to 16 megabytes to accommodate for a more
accurate memory utilization measurement.
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 2b0596fd63..45df0b1221 100755
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -1053,9 +1053,6 @@ static PHP_METHOD(PDO, query)
zval_dtor(return_value);
}
- /* kill the object handle for the stmt here */
- zval_dtor(return_value);
-
RETURN_FALSE;
}
/* }}} */