Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/AdblockPlusClient.cpp

Issue 5163581322559488: Issue 1283 - wrong usage of memset, fix sizeof, make proper initializing (Closed)
Patch Set: fix usage of GetLocaleInfo Created Oct. 8, 2014, 9:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/plugin/NotificationMessage.cpp » ('j') | src/plugin/PluginSystem.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(TOKEN_MANDATORY_LABEL) + GetLengthSid(integritySid));
+ SetTokenInformation(newToken, TokenIntegrityLevel, &tml, sizeof(tml));
STARTUPINFO startupInfo = {};
PROCESS_INFORMATION processInformation = {};
« no previous file with comments | « no previous file | src/plugin/NotificationMessage.cpp » ('j') | src/plugin/PluginSystem.cpp » ('J')

Powered by Google App Engine
This is Rietveld