Opened 16 years ago

Closed 14 years ago

#2230 closed defect (fixed)

OGR OCI driver initialization is thread unsafe

Reported by: tamas Owned by: ilucena
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: oracle oci thread safety
Cc: warmerdam

Description

The OCI driver uses static ghOracleEnvironment for holding the environment handle. When setting this variable the multiple threads are not locked therefore double initialization may occur.

Change History (6)

comment:1 by mloskot, 16 years ago

Keywords: oracle oci added

Frank,

Should I append this ticket to my Oracle queue?

comment:2 by mloskot, 16 years ago

Keywords: thread safety added

comment:3 by Mateusz Łoskot, 16 years ago

I've reported related issue about heap corruption during OCI environment allocation, more in the thread OCI driver and Heap Corruption under Visual C++

comment:4 by warmerdam, 14 years ago

Cc: warmerdam added
Owner: changed from warmerdam to ilucena

comment:5 by ilucena, 14 years ago

The global variable ghOracleEnvironment was remove with the changes to support system authentication on r19000.

comment:6 by ilucena, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.