We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48a176 commit 5f230a8Copy full SHA for 5f230a8
1 file changed
src/yvalve/PluginManager.cpp
@@ -780,6 +780,12 @@ namespace
780
781
explicit PluginLoadInfo(const char* pluginName)
782
{
783
+ // check for directories in pluginName
784
+ PathName path, file;
785
+ PathUtils::splitLastComponent(path, file, pluginName);
786
+ if (path.hasData())
787
+ (Arg::Gds(isc_random) << "Plugin name should not contain directory separator and path component").raise();
788
+
789
// define default values for plugin ...
790
curModule = fb_utils::getPrefix(IConfigManager::DIR_PLUGINS, pluginName);
791
regName = pluginName;
0 commit comments