Chromium Code Reviews| Index: sandbox/win/src/sandbox_policy_base.cc |
| diff --git a/sandbox/win/src/sandbox_policy_base.cc b/sandbox/win/src/sandbox_policy_base.cc |
| index 7b9262b079a58923cba919860ca5e54f0e43c3b1..eea36169259f7e63c40a28dc4642f16d22bdd107 100644 |
| --- a/sandbox/win/src/sandbox_policy_base.cc |
| +++ b/sandbox/win/src/sandbox_policy_base.cc |
| @@ -528,7 +528,7 @@ ResultCode PolicyBase::MakeTokens(HANDLE* initial, HANDLE* lockdown) { |
| // integrity label on the object is no higher than the sandboxed process's |
| // integrity level. So, we lower the label on the desktop process if it's |
| // not already low enough for our process. |
| - if (use_alternate_desktop_ && |
| + if (use_alternate_desktop_ && alternate_desktop_handle_ && |
|
Vitaly Buka (NO REVIEWS)
2014/09/04 00:37:06
this use-case seems should be supported, check com
|
| integrity_level_ != INTEGRITY_LEVEL_LAST && |
| alternate_desktop_integrity_level_label_ < integrity_level_ && |
| base::win::OSInfo::GetInstance()->version() >= base::win::VERSION_VISTA) { |