Re: [HACKERS] Other ecpg thread unsafety

2007-09-26 Thread Michael Meskes
On Wed, Sep 26, 2007 at 05:56:59PM +0900, ITAGAKI Takahiro wrote: > [1] all_descriptors in ecpg/ecpglib/descriptor.c: > Management of descriptors used by SQL DESCRIPTOR is not safe. > > [2] auto_allocs in ecpg/ecpglib/memory.c: > All memory allocation for statements are not safe.

[HACKERS] Other ecpg thread unsafety

2007-09-26 Thread ITAGAKI Takahiro
I looked for another thread-unsafe usage of variables like prep_stmts, and I found the 4 possibly-unsafe ones: [1] all_descriptors in ecpg/ecpglib/descriptor.c: Management of descriptors used by SQL DESCRIPTOR is not safe. [2] auto_allocs in ecpg/ecpglib/memory.c: All memory alloc