iliaa           Mon Aug 21 16:53:50 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/pdo    pdo_dbh.c 
  Log:
  Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
  inside a failed query executed via query() method).
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.211&r2=1.2027.2.547.2.212&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.211 php-src/NEWS:1.2027.2.547.2.212
--- php-src/NEWS:1.2027.2.547.2.211     Mon Aug 21 16:41:13 2006
+++ php-src/NEWS        Mon Aug 21 16:53:49 2006
@@ -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.
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_dbh.c?r1=1.82.2.31.2.6&r2=1.82.2.31.2.7&diff_format=u
Index: php-src/ext/pdo/pdo_dbh.c
diff -u php-src/ext/pdo/pdo_dbh.c:1.82.2.31.2.6 
php-src/ext/pdo/pdo_dbh.c:1.82.2.31.2.7
--- php-src/ext/pdo/pdo_dbh.c:1.82.2.31.2.6     Mon Aug  7 17:32:13 2006
+++ php-src/ext/pdo/pdo_dbh.c   Mon Aug 21 16:53:50 2006
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pdo_dbh.c,v 1.82.2.31.2.6 2006/08/07 17:32:13 iliaa Exp $ */
+/* $Id: pdo_dbh.c,v 1.82.2.31.2.7 2006/08/21 16:53:50 iliaa Exp $ */
 
 /* The PDO Database Handle Class */
 
@@ -1053,9 +1053,6 @@
                zval_dtor(return_value);
        }
 
-       /* kill the object handle for the stmt here */
-       zval_dtor(return_value);
-
        RETURN_FALSE;
 }
 /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to