Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 369 by [email protected]: stats_lock is used uninitialized
http://code.google.com/p/memcached/issues/detail?id=369

stats_lock is used in the assoc_init() function called in memcached.c, but it is only initialized in thread_init() that is called after assoc_init().

Possible fix, make:
static pthread_mutex_t stats_lock = PTHREAD_MUTEX_INITIALIZER;

in thread.c (and remove the initialization from thread_init()).


What version of the product are you using? On what operating system?

1.4.20


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to