Skip to content
Commit 7c6082b9 authored by Oleh Kravchenko's avatar Oleh Kravchenko Committed by Pavel
Browse files

leds: mlxreg: Fix possible buffer overflow



Error was detected by PVS-Studio:
V512 A call of the 'sprintf' function will lead to overflow of
the buffer 'led_data->led_cdev_name'.

Acked-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarOleh Kravchenko <oleg@kaa.org.ua>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 66c41131
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment