mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 09:06:05 +00:00 
			
		
		
		
	proxy_gethostbyname_old(): fix omission of namebuffer population
This commit is contained in:
		@@ -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;
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user