lkml.org 
[lkml]   [2020]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: aat2870: Use scnprintf() for avoiding potential buffer overflow
On Wed, 11 Mar 2020, Takashi Iwai wrote:

> There is still one call of sprintf() without checking the proper
> buffer overflow in aat2870_dump_reg(). Replace it with scnprintf()
> call for covering that.
>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
> drivers/mfd/aat2870-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

\
 
 \ /
  Last update: 2020-03-25 10:25    [W:0.037 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site