[Openvpn-devel] [PATCH] Avoid illegal memory access when malformed data is read from the pipe

2017-10-20 Thread selva . nair
From: Selva Nair - If only 1 byte is read from the interactive service client pipe, that evaluates to zero wide characters and subsequent check for NUL termination in the data buffer segfaults. Fix: reject clients that send less than a complete wide character. Signed-off-by: Selva Nair --

Re: [Openvpn-devel] [PATCH] Avoid illegal memory access when malformed data is read from the pipe

2017-10-20 Thread Gert Doering
Hi, On Fri, Oct 20, 2017 at 01:25:56PM -0400, selva.n...@gmail.com wrote: > From: Selva Nair > > - If only 1 byte is read from the interactive service client pipe, that > evaluates to zero wide characters and subsequent check for NUL > termination in the data buffer segfaults. > Fix: rejec