aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2024-11-20 16:43:51 +0100
committerIlya Dryomov <idryomov@gmail.com>2024-12-16 23:25:43 +0100
commit12eb22a5a609421b380c3c6ca887474fb2089b2c (patch)
treed6138d69ce7665d846a0a2e9a4d3e13023a38e67 /drivers/pwm/pwm-stm32.c
parent550f7ca98ee028a606aa75705a7e77b1bd11720f (diff)
downloadlinux-12eb22a5a609421b380c3c6ca887474fb2089b2c.tar.gz
linux-12eb22a5a609421b380c3c6ca887474fb2089b2c.tar.bz2
linux-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 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions