Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / sandbox / win / src / win_utils.cc
index 53a12a4..d24db9c 100644 (file)
@@ -114,7 +114,7 @@ DWORD IsReparsePoint(const base::string16& full_path, bool* result) {
     }
 
     last_pos = path.rfind(L'\\');
-  } while (last_pos != base::string16::npos);
+  } while (last_pos > 2);  // Skip root dir.
 
   *result = false;
   return ERROR_SUCCESS;