diff options
| author | Takashi Iwai <[email protected]> | 2020-03-11 07:37:19 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2020-03-11 10:58:58 +0000 |
| commit | 42f502dfe132edb8d7a47e6c0641ed82d718ad0b (patch) | |
| tree | a6cde51f41f83ff951b7e0a4b616a97452c7305b /tools/perf/scripts/python/sched-migration.py | |
| parent | HID: hid-bigbenff: fix race condition for scheduled work during removal (diff) | |
| download | kernel-42f502dfe132edb8d7a47e6c0641ed82d718ad0b.tar.gz kernel-42f502dfe132edb8d7a47e6c0641ed82d718ad0b.zip | |
HID: hid-picolcd_fb: 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: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
