| Index: src/plugin/AdblockPlusClient.cpp |
| =================================================================== |
| --- a/src/plugin/AdblockPlusClient.cpp |
| +++ b/src/plugin/AdblockPlusClient.cpp |
| @@ -64,7 +64,7 @@ |
| tml.Label.Sid = integritySid; |
| // Set the process integrity level |
| - SetTokenInformation(newToken, TokenIntegrityLevel, &tml, sizeof(tml)); |
| + SetTokenInformation(newToken, TokenIntegrityLevel, &tml, sizeof(TOKEN_MANDATORY_LABEL) + GetLengthSid(integritySid)); |
| STARTUPINFO startupInfo = {}; |
| PROCESS_INFORMATION processInformation = {}; |