commit | bc8f237823bca96a879d17a96a4c2b1a10c38b6d | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 09:47:07 2020 +0100 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Mar 12 10:21:14 2020 +0200 |
tree | b4a03c7682ae2db2ab45af99daf9dace28c00821 | |
parent | 5637c4ca961bc72ae3cce4bd5cbcecb5b8e32a54 [diff] |
ath11k: 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(). Cc: ath11k@lists.infradead.org Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>