Commit bae290e1 authored by pvuorela's avatar pvuorela

Merge branch 'no_plugins_from_pwd' into 'mer-5.6'

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

See merge request !59
parents 80a01b3f 36e41a2c
......@@ -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