Fixed: When a file was selected for the Include command in the Configuration Editor that was not readable by the audio service, no warning appeared.
Fixed: When the Include command was used to load the configuration file itself or another file including the file, Equalizer APO could crash. The recursion depth is now limited to 100.
This commit is contained in:
1 parent
3d8ef28d1b
commit
f014bf4b7d
7 files changed
+249
-108
No files matched your search
@@ -28,8 +28,13 @@ class IncludeFilterFactory : public IFilterFactory
|
||||
{
|
||||
public:
|
||||
void initialize(FilterEngine* engine) override;
|
||||
|
||||
std::vector<IFilter*> startOfConfiguration() override;
|
||||
std::vector<IFilter*> startOfFile(const std::wstring& configPath) override;
|
||||
std::vector<IFilter*> createFilter(const std::wstring& configPath, std::wstring& command, std::wstring& parameters) override;
|
||||
std::vector<IFilter*> endOfFile(const std::wstring& configPath) override;
|
||||
|
||||
private:
|
||||
FilterEngine* engine;
|
||||
int recursionDepth = -1;
|
||||
};
|
||||
Reference in new issue
Block a user