aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 09:47:12 +0100
committerKalle Valo <[email protected]>2020-03-12 15:43:40 +0200
commitf35ba45c39c9ddc9e94e28fd0d3989e07964ba08 (patch)
tree1122dca2f04a5627b88ee775e6d3f1cb579d7794 /scripts/gcc-plugins
parentd3f8c708c0d7c8b2b2bc5d3ba5c7d8a5a0af5f2b (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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions