mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:42:45 +00:00
secur32: Set the close on exec flag on the ntlm_auth pipes.
This commit is contained in:
parent
df13cee288
commit
4cda5ca96c
|
@ -117,8 +117,10 @@ SECURITY_STATUS fork_helper(PNegoHelper *new_helper, const char *prog,
|
|||
helper->session_key = NULL;
|
||||
helper->neg_flags = 0;
|
||||
helper->pipe_in = pipe_in[0];
|
||||
fcntl( pipe_in[0], F_SETFD, 1 );
|
||||
close(pipe_in[1]);
|
||||
helper->pipe_out = pipe_out[1];
|
||||
fcntl( pipe_out[1], F_SETFD, 1 );
|
||||
close(pipe_out[0]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue