Skip to content
Snippets Groups Projects
Commit c2b5fdfb authored by Takashi Iwai's avatar Takashi Iwai Committed by Lee Jones
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent e3fadb35
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment