Code:
r5304 | Admin | 2011-05-28 01:47:42 +02.00 (Sat, 28 May 2011) | 10 lines
Fix memcpy issues in reader-videoguard2 and smartreader module: Memcpy() has undefined behaviour if it copies data onto itself => use memmove() instead.
Fix: Set CCCam client into shutdown mode before sleeping in cleanup_thread() to prevent race conditions.
Fix some locking behaviours: A trylock with an unlock might lead to undefined behaviour if the lock was not gained.
Fix: If a thread holds a mutex and is killed, a deadlock may arise as the mutex never gets unlocked. Thus, the mutex is now saved in the client structure and cleaned up in cleanup_thread().
-------------------------------------------------------------------------
r5303 | alno | 2011-05-26 23:21:45 +02.00 (Thu, 26 May 2011) | 1 line
LCD: revoe status tagging