[PATCH] fhandler_pipe: add sanity limit to handle loops

Marco Atzeri marco.atzeri@gmail.com
Sat Dec 25 19:00:11 GMT 2021


On 25.12.2021 18:16, Takashi Yano wrote:
> 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.
> 

I think it is better to put as attachment the full
requested test code.

Regards
Marco


More information about the Cygwin-patches mailing list