aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2022-11-28 09:19:37 +0100
committerMaxime Ripard <[email protected]>2022-12-01 11:12:44 +0100
commit0f9aa074c92dd9274b811c1c3fa93736814a4b0d (patch)
treefab9466cfc7b77ed99793a90126a01393920b307 /tools/perf/scripts/python/exported-sql-viewer.py
parentb99070c07b78f1d318f8625b31128f405fef0e60 (diff)
drm/modes: Use strscpy() to copy command-line mode name
The mode name in struct drm_cmdline_mode can hold 32 characters at most, which can easily get overrun. Switch to strscpy() to prevent such a thing. Reported-by: coverity-bot <[email protected]> Addresses-Coverity-ID: 1527354 ("Security best practices violations") Fixes: a7ab155397dd ("drm/modes: Switch to named mode descriptors") Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions