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

Unified Diff: src/plugin/AdblockPlusClient.cpp

Issue 4859386648330240: Fix named pipe security on Windows XP (Closed)
Patch Set: Created June 16, 2014, 10:15 a.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/shared/Communication.cpp » ('j') | src/shared/Communication.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
@@ -41,8 +41,8 @@
}
BOOL createProcRes = 0;
- // Running inside AppContainer?
- if (acs != NULL && acs->TokenAppContainer != NULL)
+ // Running inside AppContainer or in Windows XP
+ if ((acs != NULL && acs->TokenAppContainer != NULL) || (!IsWindowsVistaOrLater()))
Felix Dahlke 2014/06/24 12:25:05 Redundant parentheses around |!IsWindowsVistaOrLat
{
// We need to break out from AppContainer. Launch with default security - registry entry will eat the user prompt
// See http://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx#wpm_elebp
« no previous file with comments | « no previous file | src/shared/Communication.cpp » ('j') | src/shared/Communication.cpp » ('J')

Powered by Google App Engine
This is Rietveld