thies Tue Mar 27 06:55:03 2001 EDT
Modified files:
/php4/ext/oracle oracle.c
Log:
fixed newly introduced crash in ora_bind
Index: php4/ext/oracle/oracle.c
diff -u php4/ext/oracle/oracle.c:1.60 php4/ext/oracle/oracle.c:1.61
--- php4/ext/oracle/oracle.c:1.60 Sun Feb 25 22:07:10 2001
+++ php4/ext/oracle/oracle.c Tue Mar 27 06:55:03 2001
@@ -1710,7 +1710,6 @@
if (zend_hash_find(&EG(symbol_table), paramname, strlen(paramname) +
1, (void **)&pdata) == FAILURE){
php_error(E_WARNING, "Can't find variable for parameter");
- efree(paramname);
return 0;
}
@@ -1725,8 +1724,6 @@
strncpy(param->progv, (*pdata)->value.str.val, len);
param->progv[len] = '\0';
-
- efree(paramname);
}
return 1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]