diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-25 23:50:35 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-27 13:20:30 -0400 |
commit | 84e72b5ef445ffb256bc4add4209c4c9c9855206 (patch) | |
tree | 6eaac86ff5d25339a140e2dc9303e827bf81342c /meson_options.txt | |
parent | 48d7c64805757d6c631a4ea2e973652f59058ac3 (diff) |
tmpfiles: use safe_glob()
This filters out "." and ".." from glob results. Fixes #5655 and #5644.
Any judgements on whether the path is "safe" are removed. We will not remove
"/" under any name (including "/../" and such), but we will remove stuff that
is specified using paths that include "//", "/./" and "/../". Such paths can be
created when joining strings automatically, or for other reasons, and people
generally know what ".." and "." is.
Tests are added to make sure that the helper functions behave as expected.
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions