[PATCH] fhandler_pipe: add sanity limit to handle loops

Takashi Yano takashi.yano@nifty.ne.jp
Sat Dec 25 17:16:39 GMT 2021


On Sun, 26 Dec 2021 02:10:10 +0900
Takashi Yano wrote:
> 	if (phi->NumberOfHandles > n_handle) {
> 		HeapFree(GetProcessHeap(), 0, phi);
> 		exit(1);
> 	}
[...]
> 	if (shi->NumberOfHandles > n_handle) {
> 		HeapFree(GetProcessHeap(), 0, shi);
> 		exit(1);
> 	}

Sorry, please remove above lines.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-patches mailing list