diff options
| author | Takashi Iwai <[email protected]> | 2020-03-11 10:07:39 +0100 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2020-03-20 14:44:47 +0200 |
| commit | b40e288bfb530e4e12c22c3f8e8ba19e419013da (patch) | |
| tree | 020b19c86866c690fe800fd281bb981951bac362 /lib/mpi/mpi-sub-ui.c | |
| parent | 1d6f8c5bac93cceb2d4ac8e6331050652004d802 (diff) | |
platform/x86: sony-laptop: 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]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions