Files
linux/drivers
Colin Ian King 2e85ccf13a staging: rtl8723bs: ensure cmd is large enough for %4s scanf format
char array cmd is being scanned in using a %4s scanf format
specifier and so cmd must be an array of 5 chars. Increase size
to 5 chars to ensure we don't have an overflow.

Detected with static analysis by cppcheck:

"(error) Width 4 given in format string (no. 1) is larger than
destination buffer 'cmd[4]', use %3s to prevent overflowing it."

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-14 10:22:03 +02:00
..
2017-04-07 13:48:26 +02:00
2017-03-10 19:56:56 -08:00
2017-04-10 15:21:55 +02:00
2017-03-27 09:11:25 +02:00
2017-03-20 16:25:06 +01:00