mirror of
https://github.com/rofl0r/proxychains-ng
synced 2026-05-17 19:24:21 +08:00
fix realloc and add a layer of threadsafety upon dns-list accesses
This commit is contained in:
@@ -62,6 +62,9 @@ static void init_lib(void);
|
||||
|
||||
static void init_lib(void)
|
||||
{
|
||||
#ifdef THREAD_SAFE
|
||||
pthread_mutex_init(&internal_ips_lock, NULL);
|
||||
#endif
|
||||
proxychains_write_log(LOG_PREFIX "DLL init\n");
|
||||
|
||||
get_chain_data(proxychains_pd, &proxychains_proxy_count, &proxychains_ct);
|
||||
|
||||
Reference in New Issue
Block a user