mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 03:47:02 -05:00
Add proper input validation for readdir policy
This commit is contained in:
parent
69de4de53f
commit
335ca55a6e
3 changed files with 33 additions and 6 deletions
|
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue