PHP mysqlnd svn commit: r688 - trunk/mysqlnd
Author: ahristov
Date: 2007-07-09 20:11:28 +0200 (Mon, 09 Jul 2007)
New Revision: 688
Modified:
trunk/mysqlnd/mysqlnd_ps.c
Log:
Fix leak + crashes
Modified: trunk/mysqlnd/mysqlnd_ps.c
- trunk/mysqlnd/mysqlnd_ps.c 2007-07-09 17:37:29 UTC (rev 687)
+++ trunk/mysqlnd/mysqlnd_ps.c 2007-07-09 18:11:28 UTC (rev 688)
@@ -1075,7 +1075,7 @@
/* Prevent from freeing */
ZVAL_ADDREF(stmt->result_bind[i].zv);
/* Update as ZVAL_ADDREF does not do it */
- stmt->result_bind[i].zv->is_ref = 1;
+ stmt->result_bind[i].zv->is_ref = 0;/* Definitely should be 0, or 009.phpt will fail */
stmt->result_bind[i].bound = TRUE;
}
} else if (result_bind) {
--
MySQL Code Commits Mailing List
For list archives:
http://lists.mysql.com/commits
To unsubscribe:
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Mon Jul 9 14:11:32 2007
This archive was generated by hypermail 2.1.8
: Mon Jul 16 2007 - 05:11:20 EDT
|