Home
last modified time | relevance | path

Searched hist:"4345 e2e5c75895232a17e6783e6233beadc650c4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/rc/
H A Dnuvoton-cir.cdiff 4345e2e5c75895232a17e6783e6233beadc650c4 Wed Mar 11 02:47:06 CDT 2020 Takashi Iwai <tiwai@suse.de> media: rc: Use scnprintf() for avoiding potential buffer overflow

Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>