1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-17 03:02:41 +08:00

fix realloc and add a layer of threadsafety upon dns-list accesses

This commit is contained in:
rofl0r
2011-11-06 17:46:11 +01:00
Unverified
parent d5ae1f9202
commit 41e73ab58d
4 changed files with 58 additions and 23 deletions
+4
View File
@@ -37,6 +37,10 @@ typedef struct {
} internal_ip_lookup_table;
extern internal_ip_lookup_table internal_ips;
#ifdef THREAD_SAFE
#include <pthread.h>
extern pthread_mutex_t internal_ips_lock;
#endif
/*error codes*/
typedef enum {