summaryrefslogtreecommitdiffstats
path: root/security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc')
-rw-r--r--security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc b/security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc
index 3cdaeb8..e635fef 100644
--- a/security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc
+++ b/security/sandbox/chromium/sandbox/win/src/process_thread_policy.cc
@@ -253,6 +253,7 @@ DWORD ProcessPolicy::CreateThreadAction(
const DWORD creation_flags,
LPDWORD thread_id,
HANDLE* handle) {
+ *handle = NULL;
HANDLE local_handle =
::CreateRemoteThread(client_info.process, nullptr, stack_size,
start_address, parameter, creation_flags, thread_id);