New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 749107 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Sandbox code returning generic error code

Project Member Reported by jjlopezjaimez@google.com, Jul 26 2017

Issue description

When testing the spawning of a Sandboxed process on windows 7, we found out that there is a function on BrokerServicesBase (https://cs.chromium.org/chromium/src/sandbox/win/src/broker_services.cc?sq=package:chromium&l=303) that returns a SBOX_ERROR_GENERIC under certain circumstances.

The function that returns this error code is MakeTokens defined in PolicyBase (https://cs.chromium.org/chromium/src/sandbox/win/src/sandbox_policy_base.cc?dr=CSs&l=429) However it fails to recover the last error code from the operating system, which makes the error code rather useless. 

It would be ideal if the MakeTokens could return an error other than SBOX_ERROR_GENERIC and/or recover the operating system's error code.
 
Cc: penny...@chromium.org
Components: Internals>Sandbox
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Google
Labels: TE-NeedsTriageHelp
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 20

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment