Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qtbase] Do not load plugin from the $PWD, CVE-2020-0569. Fixes JB#48812
As in upstream commit bf131e8d2181b3404f5293546ed390999f760404
  • Loading branch information
pvuorela committed May 6, 2020
1 parent 2a8a99f commit 36e41a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/corelib/plugin/qpluginloader.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 36e41a2

Please sign in to comment.