forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a stack overflow in the windows sandbox SpawnTarget function.
This was caused by my recent change to allow handles other than STDOUT and STDERR to be shared with the target. Reason for the crash was copying additional handles to the HANDLE array which had space for 2 handles only. Fix is to use scoped_ptr instead and allocate appropriate space for all handles being shared. BUG=486434 R=cpu Review URL: https://codereview.chromium.org/1128903006 Cr-Commit-Position: refs/heads/master@{#329276}
- Loading branch information
ananta
authored and
Commit bot
committed
May 11, 2015
1 parent
ffea7a5
commit a6ddf97
Showing
1 changed file
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters