diff options
author | Remco Burema <r.burema@ultimaker.com> | 2022-05-17 12:42:43 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2022-05-17 12:45:14 +0300 |
commit | bf9c3cbc8360b39011bd36e72cf237e2f38d13b6 (patch) | |
tree | 40b5cb1482be85d9da6cdded74f39139ea025c5a /cura_app.py | |
parent | 97d20bff1b1a2cc2c13f11ec35997c2fa2f61063 (diff) |
Secure another 'environment-settable via Qt' DLL.
SEC-258 a.k.a. CURA-8969
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 1 |
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 |