Re: [Openvpn-devel] [PATCH] Properly unmap ring buffer file-map in interactive service

2022-12-29 Thread Lev Stipakov
Hi, > The return value of MapViewOfFile must be passed to UnmapViewofFile, > instead of the file handle. Good catch! > Fixes #206 Strangely enough, I am not able to reproduce this bug - I posted logs to the GitHub issue. Fix indeed makes sense. Indeed, according to docs, UnmapViewOfFile() acce

[Openvpn-devel] [PATCH] Properly unmap ring buffer file-map in interactive service

2022-12-28 Thread selva . nair
From: Selva Nair The return value of MapViewOfFile must be passed to UnmapViewofFile, instead of the file handle. Fixes #206 Signed-off-by: Selva Nair --- src/openvpnserv/interactive.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/openv