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.
Loading
Please register or sign in to comment