summaryrefslogtreecommitdiffstats
path: root/thirdparty/openxr/src/common/platform_utils.hpp
diff options
context:
space:
mode:
authorMalcolm Nixon <Malcolm.nixon@gmail.com>2024-02-19 18:41:58 -0500
committerMalcolm Nixon <Malcolm.nixon@gmail.com>2024-02-19 18:41:58 -0500
commit3e8a794832566dcc8cd159b8ac4f39c27269df0a (patch)
tree594dc82e915dd2a03a7bcba5226db0f06c3c637c /thirdparty/openxr/src/common/platform_utils.hpp
parentfb10e67fefb85af3b8f5abd30db561588d8456c6 (diff)
downloadredot-engine-3e8a794832566dcc8cd159b8ac4f39c27269df0a.tar.gz
OpenXR: Update to version 1.0.34
Diffstat (limited to 'thirdparty/openxr/src/common/platform_utils.hpp')
-rw-r--r--thirdparty/openxr/src/common/platform_utils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/openxr/src/common/platform_utils.hpp b/thirdparty/openxr/src/common/platform_utils.hpp
index c4d75bf259..35369a1477 100644
--- a/thirdparty/openxr/src/common/platform_utils.hpp
+++ b/thirdparty/openxr/src/common/platform_utils.hpp
@@ -323,6 +323,8 @@ static inline std::string PlatformUtilsGetSecureEnv(const char* name) {
const std::string envValue = PlatformUtilsGetEnv(name);
// Do not allow high integrity processes to act on data that can be controlled by medium integrity processes.
+ // Specifically, medium integrity processes can set environment variables which could then
+ // be read by high integrity processes.
if (IsHighIntegrityLevel()) {
if (!envValue.empty()) {
LogPlatformUtilsError(std::string("!!! WARNING !!! Environment variable ") + name +