summaryrefslogtreecommitdiffstats
path: root/security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc')
-rw-r--r--security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc b/security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc
index eee719e..05a00d0 100644
--- a/security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc
+++ b/security/sandbox/chromium/sandbox/win/src/named_pipe_policy.cc
@@ -67,6 +67,7 @@ DWORD NamedPipePolicy::CreateNamedPipeAction(EvalResult eval_result,
DWORD in_buffer_size,
DWORD default_timeout,
HANDLE* pipe) {
+ *pipe = INVALID_HANDLE_VALUE;
// The only action supported is ASK_BROKER which means create the pipe.
if (ASK_BROKER != eval_result) {
return ERROR_ACCESS_DENIED;