diff options
Diffstat (limited to '')
-rw-r--r-- | src/engine/cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/cache.cpp b/src/engine/cache.cpp index 667ca9e0..46c2650a 100644 --- a/src/engine/cache.cpp +++ b/src/engine/cache.cpp | |||
@@ -733,6 +733,7 @@ extern "C" HRESULT CacheCompleteBundle( | |||
733 | hr = PathConcat(sczTargetDirectory, wzExecutableName, &sczTargetPath); | 733 | hr = PathConcat(sczTargetDirectory, wzExecutableName, &sczTargetPath); |
734 | ExitOnFailure(hr, "Failed to combine completed path with engine file name."); | 734 | ExitOnFailure(hr, "Failed to combine completed path with engine file name."); |
735 | 735 | ||
736 | // We can't just use wzExecutablePath because we needed to call CreateCompletedPath to ensure that the destination was secured. | ||
736 | Assert(CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, wzExecutablePath, -1, sczTargetPath, -1)); | 737 | Assert(CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, wzExecutablePath, -1, sczTargetPath, -1)); |
737 | 738 | ||
738 | // If the bundle is running out of the package cache then we don't need to copy it there | 739 | // If the bundle is running out of the package cache then we don't need to copy it there |