Commit 36e41a2c authored by pvuorela's avatar pvuorela

[qtbase] Do not load plugin from the $PWD, CVE-2020-0569. Fixes JB#48812

As in upstream commit bf131e8d2181b3404f5293546ed390999f760404
parent 2a8a99ff
......@@ -298,7 +298,6 @@ static QString locatePlugin(const QString& fileName)
paths.append(fileName.left(slash)); // don't include the '/'
} else {
paths = QCoreApplication::libraryPaths();
paths.prepend(QStringLiteral(".")); // search in current dir first
foreach (const QString &path, paths) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment