Opened 12 years ago

Closed 9 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


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 Changed 11 years ago by mloskot

Keywords: oracle oci added


Should I append this ticket to my Oracle queue?

comment:2 Changed 11 years ago by mloskot

Keywords: thread safety added

comment:3 Changed 11 years ago by Mateusz Łoskot

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 Changed 9 years ago by warmerdam

Cc: warmerdam added
Owner: changed from warmerdam to ilucena

comment:5 Changed 9 years ago by ilucena

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

comment:6 Changed 9 years ago by ilucena

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