1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

OpenXR: Update to version 1.0.34

This commit is contained in:
Malcolm Nixon
2024-02-19 18:41:58 -05:00
parent fb10e67fef
commit 3e8a794832
11 changed files with 1360 additions and 60 deletions

View File

@@ -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 +