Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 mer-core/qtbase!59
  • Loading branch information
pvuorela committed May 7, 2020
2 parents 80a01b3 + 36e41a2 commit bae290e
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 bae290e

Please sign in to comment.