Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2022-05-17 12:42:43 +0300
committerRemco Burema <r.burema@ultimaker.com>2022-05-17 12:45:14 +0300
commitbf9c3cbc8360b39011bd36e72cf237e2f38d13b6 (patch)
tree40b5cb1482be85d9da6cdded74f39139ea025c5a /cura_app.py
parent97d20bff1b1a2cc2c13f11ec35997c2fa2f61063 (diff)
Secure another 'environment-settable via Qt' DLL.
SEC-258 a.k.a. CURA-8969
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cura_app.py b/cura_app.py
index 03399b5614..0290049c28 100755
--- a/cura_app.py
+++ b/cura_app.py
@@ -18,6 +18,7 @@ import os
if sys.platform != "linux": # Turns out the Linux build _does_ use this, but we're not making an Enterprise release for that system anyway.
os.environ["QT_PLUGIN_PATH"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul.
os.environ["QML2_IMPORT_PATH"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul.
+ os.environ["QT_OPENGL_DLL"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul.
from PyQt5.QtNetwork import QSslConfiguration, QSslSocket