Browse Source

(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)

PHP-4.0.5
Thies C. Arntzen 27 years ago
parent
commit
9abeb4819f
  1. 2
      ext/oci8/oci8.c

2
ext/oci8/oci8.c

@ -647,7 +647,7 @@ _oci_conn_list_dtor(oci_connection *connection)
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);

Loading…
Cancel
Save