summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 11:47:12 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-03-12 16:43:40 +0300
commitf35ba45c39c9ddc9e94e28fd0d3989e07964ba08 (patch)
tree1122dca2f04a5627b88ee775e6d3f1cb579d7794 /drivers/net/ethernet
parentd3f8c708c0d7c8b2b2bc5d3ba5c7d8a5a0af5f2b (diff)
downloadlinux-f35ba45c39c9ddc9e94e28fd0d3989e07964ba08.tar.xz
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/ethernet')
0 files changed, 0 insertions, 0 deletions