diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 09:47:12 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-12 15:43:40 +0200 |
commit | f35ba45c39c9ddc9e94e28fd0d3989e07964ba08 (patch) | |
tree | 1122dca2f04a5627b88ee775e6d3f1cb579d7794 /drivers/net/wireless/intersil | |
parent | d3f8c708c0d7c8b2b2bc5d3ba5c7d8a5a0af5f2b (diff) |
ipw2x00: 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: Stanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intersil')
0 files changed, 0 insertions, 0 deletions