diff options
| author | 2022-01-28 16:56:11 +0000 | |
|---|---|---|
| committer | 2022-01-28 16:56:11 +0000 | |
| commit | af72f11bd287729946aa8edd4f4af8043b2f2c5d (patch) | |
| tree | 57aaa46b32edb9cf851a64fd9538c4bb8e54a8e0 /cmds/installd/utils.cpp | |
| parent | ed1abd80c15150801c86899204284817701727df (diff) | |
| parent | b35b872d68e248595ddfda9b0757b86ee01c0732 (diff) | |
Merge "Remove ableist language"
Diffstat (limited to 'cmds/installd/utils.cpp')
| -rw-r--r-- | cmds/installd/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp index c4ecd070c1..0f8a732345 100644 --- a/cmds/installd/utils.cpp +++ b/cmds/installd/utils.cpp @@ -829,7 +829,7 @@ void remove_path_xattr(const std::string& path, const char* inode_xattr) { * to top level directories (i.e. have ".."). */ static int validate_path(const std::string& dir, const std::string& path, int maxSubdirs) { - // Argument sanity checking + // Argument check if (dir.find('/') != 0 || dir.rfind('/') != dir.size() - 1 || dir.find("..") != std::string::npos) { LOG(ERROR) << "Invalid directory " << dir; |