commit | c2b5fdfba2a915b5001d3ec63f4b3fc651c22da4 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 08:47:38 2020 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Mar 30 07:35:28 2020 +0100 |
tree | 434a90a43d526d2a2cfb16ee51cb711d894a3f2a | |
parent | e3fadb35bc1be0078e9ff5f9a55811f7eb1a5d05 [diff] |
mfd: aat2870: Use scnprintf() for avoiding potential buffer overflow 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> Signed-off-by: Lee Jones <lee.jones@linaro.org>