Re: [Openvpn-devel] [PATCH] Avoid a 1 byte overcopy in x509_get_subject (ssl_verify_openssl.c)

2017-05-14 Thread Steffan Karger
Hi, On 13-05-17 15:40, Antonio Quartulli wrote: >> On 13 May 2017, at 18:37, Guido Vranken wrote: >> >> Signed-off-by: Guido Vranken >> --- >> src/openvpn/ssl_verify_openssl.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/src/openvpn/ssl_verify_openssl.c >> b/

[Openvpn-devel] [PATCH for 2.3] Check for errors in the return value of GetModuleFileNameW()

2017-05-14 Thread selva . nair
From: Selva Nair Also replace MAX_PATH by _countof(openvpnpath) as the latter is arguably more robust. Signed-off-by: Selva Nair --- src/openvpn/win32.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/openvpn/win32.c b/src/openvpn/win32.c index b271597..56c3a1d 10