mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-12-21 11:48:57 +00:00
proxy_gethostbyname_old(): fix omission of namebuffer population
This commit is contained in:
parent
55dce2c040
commit
13680e775d
@ -827,6 +827,7 @@ got_buff:
|
||||
memcpy(*(hostent_space.h_addr_list),
|
||||
&addr ,sizeof(struct in_addr));
|
||||
hostent_space.h_name = addr_name;
|
||||
snprintf(addr_name, sizeof addr_name, "%s", buff);
|
||||
hostent_space.h_length = sizeof (in_addr_t);
|
||||
hostent_space.h_addrtype = AF_INET;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user