mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1146874
Part 1: Check that Windows sandboxed process starts correctly. r=tabraldes
This commit is contained in:
parent
b34c97d19b
commit
94925de358
@ -52,9 +52,12 @@ SandboxBroker::LaunchApp(const wchar_t *aPath,
|
||||
}
|
||||
|
||||
// Ceate the sandboxed process
|
||||
PROCESS_INFORMATION targetInfo;
|
||||
PROCESS_INFORMATION targetInfo = {0};
|
||||
sandbox::ResultCode result;
|
||||
result = sBrokerService->SpawnTarget(aPath, aArguments, mPolicy, &targetInfo);
|
||||
if (sandbox::SBOX_ALL_OK != result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// The sandboxed process is started in a suspended state, resume it now that
|
||||
// we've set things up.
|
||||
|
Loading…
Reference in New Issue
Block a user