Alexandre Julliard : secur32:
Set the close on exec flag on the ntlm_auth pipes.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 27 13:57:12 CDT 2007
Module: wine
Branch: master
Commit: 4cda5ca96c0c6c51099db8d1da72eb7d1ba0169c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4cda5ca96c0c6c51099db8d1da72eb7d1ba0169c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Aug 27 18:27:59 2007 +0200
secur32: Set the close on exec flag on the ntlm_auth pipes.
---
dlls/secur32/dispatcher.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c
index 08b1b74..226de79 100644
--- a/dlls/secur32/dispatcher.c
+++ b/dlls/secur32/dispatcher.c
@@ -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]);
}
More information about the wine-cvs
mailing list