Yoshinori Nishino wrote:
I decide to use passwd_mutex only for ber_strdup(), which seems to be non thread-safe according to ./libraries/liblber/memory.c.
There is no issue with thread-safety for ber_strdup. What exact line of memory.c are you talking about?