mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Refuse to listen to QT_PLUGIN_PATH.
We don't need it ourselves, and it's a potentially serious attack vector. CURA-8475
This commit is contained in:
parent
25ec588754
commit
c849cf8e88
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ if "" in sys.path:
|
|||
import argparse
|
||||
import faulthandler
|
||||
import os
|
||||
os.environ["QT_PLUGIN_PATH"] = "" # Security workaround: Don't need it, and introduces an attack vector, so set to nul.
|
||||
|
||||
from PyQt5.QtNetwork import QSslConfiguration, QSslSocket
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue