mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 00:56:03 +00:00 
			
		
		
		
	Chromium tried to close our pipes and falls into infinity loop.
If return value of close() is -1, chromium will fall into infinity loop.
This commit is contained in:
		@@ -304,7 +304,7 @@ int close(int fd) {
 | 
				
			|||||||
	   fd != resp_pipefd[0] && fd != resp_pipefd[1]) {
 | 
						   fd != resp_pipefd[0] && fd != resp_pipefd[1]) {
 | 
				
			||||||
		return true_close(fd);
 | 
							return true_close(fd);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	errno = EINTR;
 | 
						errno = EBADF;
 | 
				
			||||||
	return -1;
 | 
						return -1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user