cvs: /php4/ext/oci8 oci8.c
| From: | Thies C. Arntzen | Date: | Thu, 09 Mar 2000 02:43:09 +0000 |
| Subject: | cvs: /php4/ext/oci8 oci8.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11783@lists.php.net to get a copy of this message | ||
thies Wed Mar 8 18:43:09 2000 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a
NEWS entry)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.64 php4/ext/oci8/oci8.c:1.65
--- php4/ext/oci8/oci8.c:1.64 Mon Mar 6 10:41:13 2000
+++ php4/ext/oci8/oci8.c Wed Mar 8 18:42:38 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.64 2000/03/06 18:41:13 ssb Exp $ */
+/* $Id: oci8.c,v 1.65 2000/03/09 02:42:38 thies Exp $ */
/* TODO list:
*
@@ -647,7 +647,7 @@
oci_debug("START _oci_conn_list_dtor: id=%d",connection->id);
- if (connection->session->exclusive) {
+ if (connection->session && connection->session->exclusive) {
/* exclusive connection created via OCINLogon() close their
associated session when destructed */
zend_list_delete(connection->session->num);