diff options
| author | Daniel Vacek <neelx@suse.com> | 2025-06-02 17:53:19 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:26 +0200 |
| commit | 3f093ccb95f30f95b7c6014d1f0b6847299190c2 (patch) | |
| tree | 202aec27c098f045433528774b85fe50beb4c8dc /tools/perf/scripts/python/flamegraph.py | |
| parent | 3f0e865ae61ed8c023b72b1ae6c186024b0aec1f (diff) | |
btrfs: harden parsing of compression mount options
Btrfs happily but incorrectly accepts the `-o compress=zlib+foo` and similar
options with any random suffix.
Fix that by explicitly checking the end of the strings.
Signed-off-by: Daniel Vacek <neelx@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
