Re: [PATCH] mfd: aat2870: Use scnprintf() for avoiding potential buffer overflow

From: Lee Jones
Date: Wed Mar 25 2020 - 05:24:24 EST


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@xxxxxxx>
> ---
> 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