Re: [RESEND PATCH] leds: mlxreg: Fix possible buffer overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Pavel,

On 04.11.19 11:09, Pavel Machek wrote:
On Wed 2019-10-16 10:24:30, Oleh Kravchenko wrote:
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: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
Acked-by: Pavel Machek <pavel@xxxxxx>
Signed-off-by: Oleh Kravchenko <oleg@xxxxxxxxxx>
Thanks for resend, and sorry for the delay.

Note that this would only be security issue if someone did malicious
device tree... so... not a security issue :-).

Agree, very limited case.
But I just want make our kernel more robust and reliable :-)


Applied.
Thanks!
								Pavel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux