Hi,
On Mon, Oct 08, 2018 at 07:35:54PM +0300, Lev Stipakov wrote:
> @@ -1350,7 +1354,7 @@ RunOpenvpn(LPVOID p)
> {
> HANDLE pipe = p;
> HANDLE ovpn_pipe, svc_pipe;
> - PTOKEN_USER svc_user, ovpn_user;
> + PTOKEN_USER svc_user = NULL, ovpn_user = NULL;
> HANDLE svc_token = NULL, imp_token = NULL, pri_token = NULL;
> HANDLE stdin_read = NULL, stdin_write = NULL;
> HANDLE stdout_write = NULL;
Oh, another nag for v2 :-) - if you initialize these to NULL here
at the top, the lines
svc_user = NULL;
...
ovpn_user = NULL;
further down could go...
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
