DescriptionFixing a couple of issues in sandbox::RestrictedToken:
- Specify access bits on the duplicated handle correctly.
- Avoid touching an uninitialized buffer in case of an error.
BUG=139841
TEST=RestrictedTokenTest.DenyOwnerSidCustom, RestrictedTokenTest.AddRestrictingSidCurrentUserCustom
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149475
Patch Set 1 #Patch Set 2 : Added unit tests. #
Messages
Total messages: 8 (0 generated)
|