Skip to content

Commit

Permalink
First time VS has ever suggested sth useful, EVER
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Jul 28, 2015
1 parent b74de15 commit f302ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Update/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public void ProcessStart(string exeName, string arguments, bool shouldWait)
this.Log().Info("Want to launch '{0}'", targetExe);

// Check for path canonicalization attacks
if (!targetExe.FullName.StartsWith(latestAppDir)) {
if (!targetExe.FullName.StartsWith(latestAppDir, StringComparison.Ordinal)) {
throw new ArgumentException();
}

Expand Down

0 comments on commit f302ce9

Please sign in to comment.