commit | 38a5456a6dc3ccf3864d5341a2e7753350273922 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 08:45:13 2020 +0100 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Thu Mar 19 23:00:32 2020 -0500 |
tree | aaaaef521f64a7292792070dd58dcbfb89af678a | |
parent | 223a83bdcc56effed63661ac9ae209fea0223078 [diff] |
mailbox: bcm-pdc: 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: Jassi Brar <jaswinder.singh@linaro.org>