Add proper input validation for readdir policy

This commit is contained in:
Antonio SJ Musumeci 2023-09-02 15:47:49 -05:00
parent 69de4de53f
commit 335ca55a6e
3 changed files with 33 additions and 6 deletions

View file

@ -29,6 +29,7 @@ namespace FUSE
class ReadDirFactory
{
public:
static std::shared_ptr<ReadDirBase> make(std::string const cfgstr);
static bool valid(std::string str);
static std::shared_ptr<ReadDirBase> make(std::string const str);
};
}