Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: sandbox/win/src/filesystem_policy.cc

Issue 432543005: Replace NT prefix in sandbox rules match string to handle correct wildcard escaping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added period to end of comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/filesystem_policy.cc
diff --git a/sandbox/win/src/filesystem_policy.cc b/sandbox/win/src/filesystem_policy.cc
index 87340a8227b866aead19bc86d15c2747012a8f10..19088815f11043068609cf2f154cde624f04617c 100644
--- a/sandbox/win/src/filesystem_policy.cc
+++ b/sandbox/win/src/filesystem_policy.cc
@@ -394,8 +394,7 @@ base::string16 FixNTPrefixForMatch(const base::string16& name) {
mod_name.insert(0, kNTPrefixEscaped);
}
} else {
- // Start of name matches NT prefix, replace with escaped format
- // Fixes bug: 334882
+ // Start of name matches NT prefix, replace with escaped format.
mod_name.replace(0, kNTPrefixLen, kNTPrefixEscaped);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698