Files
clamav/libclamav/c++
Török Edvin a7cf187a0c Make cl_load thread safe (bb #2333).
Parallel cl_load() crash (bb #2333).
Reason is twofold:
 - cache.c had 2 'static' global variables, thus trying to initialize same cache
 from multiple threads
  - bytecode2llvm.cpp: something in LLVM 2.7 is crashing when loading in
  parallel

Fix is to drop the 'static' on the variable (cache is per engine already).
This also fixes a potential memory leak in clamd!

The other part of the fix is to turn on the mutex around bytecode compilation
always. We don't call cl_load in parallel, so this doesn't affect clamd, but
some may need to call cl_load in parallel.
2010-11-04 21:53:03 +02:00
..
2010-04-13 17:11:25 +03:00
2010-03-22 11:42:27 +02:00
2010-05-13 12:49:54 +03:00
2010-09-28 19:24:14 +03:00
2010-10-19 16:17:00 +03:00
2010-10-19 16:17:00 +03:00
2010-11-04 21:53:03 +02:00
2010-11-04 21:53:03 +02:00
2010-03-22 11:42:27 +02:00
2010-03-22 11:42:27 +02:00
2009-09-07 21:55:01 +03:00
2010-03-22 11:42:27 +02:00
2010-03-06 20:41:32 +02:00