[Openvpn-devel] NAK on uninitialized handle fix (serious issue on Win 8.1)

2013-12-06 Thread Matthias Andree
Am 04.12.2013 14:12, schrieb Илья Шипицин: > Hello! > > I confirm issue described here: https://forums.openvpn.net/topic13246.html > also, I confirm that it is due to random handle value (which somehow > was null before Win 8.1 was released) > > also, I do not understand why we should check "err"

Re: [Openvpn-devel] NAK on uninitialized handle fix (serious issue on Win 8.1)

2013-12-06 Thread Илья Шипицин
2013/12/6 Matthias Andree : > Am 04.12.2013 14:12, schrieb Илья Шипицин: >> Hello! >> >> I confirm issue described here: https://forums.openvpn.net/topic13246.html >> also, I confirm that it is due to random handle value (which somehow >> was null before Win 8.1 was released) >> >> also, I do not u

Re: [Openvpn-devel] NAK on uninitialized handle fix (serious issue on Win 8.1)

2013-12-06 Thread Илья Шипицин
2013/12/6 Matthias Andree : > Am 04.12.2013 14:12, schrieb Илья Шипицин: >> Hello! >> >> I confirm issue described here: https://forums.openvpn.net/topic13246.html >> also, I confirm that it is due to random handle value (which somehow >> was null before Win 8.1 was released) >> >> also, I do not u

Re: [Openvpn-devel] NAK on uninitialized handle fix (serious issue on Win 8.1)

2013-12-06 Thread Илья Шипицин
ok, if you think that using orig_stderr is bad idea (either NULL or INVALID_HANDLE_VALUE are special), maybe we should assign special variable which will keep an evidence whether original stderr was redirected or not and perform check against that variable ? like BOOL stderr_was_redirected = 0; .