diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 08:17:28 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-17 19:26:09 +0100 |
commit | 215a423cc0799b054bdabbc5ba68a7178924621d (patch) | |
tree | 63e0a31af0f2d2651fe745b2b51c83a54931fdc6 /MAINTAINERS | |
parent | 52cff04a81e9571735976e4d70984e89a7ee3885 (diff) | |
download | linux-215a423cc0799b054bdabbc5ba68a7178924621d.tar.bz2 |
EDAC/armada_xp: 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: Borislav Petkov <bp@suse.de>
Reviewed-by: Jan Luebbe <jlu@pengutronix.de>
Link: https://lkml.kernel.org/r/20200311071728.4541-1-tiwai@suse.de
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions