Skip to content

Commit

Permalink
Blacklist $HOME as VST directory
Browse files Browse the repository at this point in the history
Closes #4854
  • Loading branch information
tresf committed Mar 7, 2019
1 parent 991ffcd commit 9e6ce06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,9 @@ void ConfigManager::loadConfigFile( const QString & configFile )
cfg_file.close();
}


// Plugins are searched recursively, blacklist problematic locations
if( m_vstDir.isEmpty() || m_vstDir == QDir::separator() || m_vstDir == "/" ||
m_vstDir == ensureTrailingSlash( QDir::homePath() ) ||
!QDir( m_vstDir ).exists() )
{
#ifdef LMMS_BUILD_WIN32
Expand Down

0 comments on commit 9e6ce06

Please sign in to comment.