diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2024-11-20 18:43:51 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-12-17 01:25:43 +0300 |
commit | 12eb22a5a609421b380c3c6ca887474fb2089b2c (patch) | |
tree | d6138d69ce7665d846a0a2e9a4d3e13023a38e67 /scripts/gdb/linux/proc.py | |
parent | 550f7ca98ee028a606aa75705a7e77b1bd11720f (diff) | |
download | linux-12eb22a5a609421b380c3c6ca887474fb2089b2c.tar.xz |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions