aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 08:32:56 +0100
committerChris Wilson <[email protected]>2020-03-11 10:54:59 +0000
commit61f874d6e001a9ecf5dbd5a9909e257bbe79478a (patch)
treefa24b07b4780965d4cc57fe5fc473bc27f18006d /lib/mpi/mpi-mul.c
parent3c4e93e9d9880bdb0af39955848a91ea2d538a52 (diff)
drm/i915/gt: 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(). Signed-off-by: Takashi Iwai <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions