diff options
| author | Takashi Iwai <[email protected]> | 2020-03-11 08:49:16 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-18 12:24:19 +0100 |
| commit | d108b132ea39cdcd63a1d6b4460fc4c7d183c7e5 (patch) | |
| tree | 1183967275197a2294b2cb366457aa32ca392587 /tools/perf/scripts/python/bin/netdev-times-record | |
| parent | f276d3ea884d1fedbdf9bc88cdd64e8ab4367ff9 (diff) | |
misc: mic: 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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions