diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-30 19:44:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-05 15:06:35 -0700 |
commit | 6442185ab674cc202d63c18605057b9a51ca2722 (patch) | |
tree | 9e56d923c27c9016fd8e9e33e6b1a9b748529024 /src/core/main.c | |
parent | e66e5b612a9e5921d79a6aedab4983e33dff8cb1 (diff) |
util: be a bit safer in path_is_safe()
We should be more strict when verifying paths with path_is_safe() for
potentially dangerous constructs, and that includes lengths of
PATH_MAX-1 and larger. Be more accurate here.
Diffstat (limited to 'src/core/main.c')
0 files changed, 0 insertions, 0 deletions