Re: [Openvpn-devel] uninitialized handle fix (serious bug on Win 8.1), another attempt

2013-12-08 Thread Илья Шипицин
ok, you suggest to initialize orig_stderr. initialize with what ? what value of orig_stderr should mean a) "no stderr redirection requested, return GetStdHandle (STD_ERROR_HANDLE)" b) "stderr redirection was requested, return orig_stderr" as Matthias Andree said, neither NULL, nor INVALID_HANDLE

Re: [Openvpn-devel] uninitialized handle fix (serious bug on Win 8.1), another attempt

2013-12-08 Thread Gert Doering
Hi, On Sun, Dec 08, 2013 at 11:27:50AM +0600, ??? wrote: > Ok, your suggestion? "initialize orig_stderr"? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany

Re: [Openvpn-devel] uninitialized handle fix (serious bug on Win 8.1), another attempt

2013-12-08 Thread Илья Шипицин
Ok, your suggestion? воскресенье, 8 декабря 2013 г. пользователь Gert Doering писал: > Hi, > > On Sat, Dec 07, 2013 at 09:01:35PM +0600, ??? wrote: > > if handle is not initialized, orig_stderr variable could take random > > value, which we observe on Windows 8.1 (bug reported here as we

Re: [Openvpn-devel] uninitialized handle fix (serious bug on Win 8.1), another attempt

2013-12-07 Thread Gert Doering
Hi, On Sat, Dec 07, 2013 at 09:01:35PM +0600, ??? wrote: > if handle is not initialized, orig_stderr variable could take random > value, which we observe on Windows 8.1 (bug reported here as well: > https://forums.openvpn.net/topic13246.html ) This can't be the right fix - if the problem

[Openvpn-devel] uninitialized handle fix (serious bug on Win 8.1), another attempt

2013-12-07 Thread Илья Шипицин
if handle is not initialized, orig_stderr variable could take random value, which we observe on Windows 8.1 (bug reported here as well: https://forums.openvpn.net/topic13246.html ) diff --git a/src/openvpn/error.c b/src/openvpn/error.c index ebe9a52..b34d209 100644 --- a/src/openvpn/error.c +++ b/