mirror of
https://github.com/php/php-src.git
synced 2026-04-09 17:13:31 +02:00
(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user