diff options
| author | Takashi Iwai <[email protected]> | 2020-03-19 17:13:00 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-19 17:31:12 +0100 |
| commit | 190c8f721adc01840a67dbcf44905e3f1fa638ef (patch) | |
| tree | c64325e8e81f87a05f9b9a36c56d8f7020a13c1b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0432184f2f4a7bce6b02d1319277a6e7cefbff10 (diff) | |
staging: vc04_services: 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().
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
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/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions