diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-30 19:44:10 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 08:20:22 +0100 |
commit | 3a296a5fe6c06deb497b09ab29b8363761b2885d (patch) | |
tree | 4caabe3985c4ec64201a5b7be762aa97facc5c5d /src/login/logind-user.c | |
parent | 3d6374dfb8b85537dfa4284a9f0dd87497c63cf7 (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/login/logind-user.c')
0 files changed, 0 insertions, 0 deletions