diff options
| author | 2020-03-11 08:45:13 +0100 | |
|---|---|---|
| committer | 2020-03-19 23:00:32 -0500 | |
| commit | 38a5456a6dc3ccf3864d5341a2e7753350273922 (patch) | |
| tree | aaaaef521f64a7292792070dd58dcbfb89af678a /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | mailbox:armada-37xx-rwtm:remove duplicate print in armada_37xx_mbox_probe() (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>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
