diff options
| author | 2020-03-11 09:47:07 +0100 | |
|---|---|---|
| committer | 2020-03-12 10:21:14 +0200 | |
| commit | bc8f237823bca96a879d17a96a4c2b1a10c38b6d (patch) | |
| tree | b4a03c7682ae2db2ab45af99daf9dace28c00821 /tools/perf/scripts/python | |
| parent | ath10k: allow qca988x family to support ack rssi of tx data packets. (diff) | |
| download | linux-dev-bc8f237823bca96a879d17a96a4c2b1a10c38b6d.tar.xz linux-dev-bc8f237823bca96a879d17a96a4c2b1a10c38b6d.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
