diff options
author | Takashi Iwai <[email protected]> | 2020-03-11 09:47:07 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-03-12 10:21:14 +0200 |
commit | bc8f237823bca96a879d17a96a4c2b1a10c38b6d (patch) | |
tree | b4a03c7682ae2db2ab45af99daf9dace28c00821 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
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: [email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions