diff options
| author | 2024-11-20 16:43:51 +0100 | |
|---|---|---|
| committer | 2024-12-16 23:25:43 +0100 | |
| commit | 12eb22a5a609421b380c3c6ca887474fb2089b2c (patch) | |
| tree | d6138d69ce7665d846a0a2e9a4d3e13023a38e67 /tools/perf/scripts/python/gecko.py | |
| parent | ceph: give up on paths longer than PATH_MAX (diff) | |
| download | linux-rng-12eb22a5a609421b380c3c6ca887474fb2089b2c.tar.xz linux-rng-12eb22a5a609421b380c3c6ca887474fb2089b2c.zip | |
ceph: validate snapdirname option length when mounting
It becomes a path component, so it shouldn't exceed NAME_MAX
characters. This was hardened in commit c152737be22b ("ceph: Use
strscpy() instead of strcpy() in __get_snap_name()"), but no actual
check was put in place.
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
