DescriptionFix 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
Committed: https://crrev.com/a6ddf97af304f1aa7e88e28473e593e2c08c9157
Cr-Commit-Position: refs/heads/master@{#329276}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use vector for inherited handle list #Messages
Total messages: 8 (1 generated)
|