[unixODBC-support] ini_cache_head not locked
nick at lurcher.org
Tue Jul 5 15:54:49 BST 2011
On 05/07/11 15:11, Antony.Davies at tmx.com wrote:
> Hi, (mistakently sent to dev mailing list) I was noticing problems
> witha multithreaded test program that that basically does this
> - connects
> - issues some sql
> - repeats
> and obcinst.ini has Threading = 0 (using 2.2.12 unix odbc with an
> oracle driver on rh 5.5)
> What I have seen is a double free occuring inside check_ini_cache()
> due to 2 threads insided
> SQLGetPrivateProfileString at the same time.
I can't say when it was done (2.2.12 was 5 years ago), but I believe
that the current 2.3.0 is safe in this area now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unixODBC-support