diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-04-13 11:52:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-13 16:00:17 +0200 |
commit | 6967d376786ed3f02dcd968a08aa67fd0381231e (patch) | |
tree | 2b2172abd240669c0c094e520e9615022940fd34 /Userland/Utilities | |
parent | 3426592ee7b4448e71570b9240768cca86164b46 (diff) | |
download | serenity-6967d376786ed3f02dcd968a08aa67fd0381231e.zip |
LibCore: Prevent infinite recursion in Directory::ensure_directory()
If a relative path was passed in, then repeatedly asking for its parent
will never reach `/`. The top-level path in that case is `.`.
Diffstat (limited to 'Userland/Utilities')
0 files changed, 0 insertions, 0 deletions