diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2023-10-17 16:01:35 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-20 15:11:26 -0400 |
commit | 08e9ebc75b5bcfec9d226f9e16bab2ab7b25a39a (patch) | |
tree | aed9f199a0b5c02c76247f175364888b177d0016 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9248462d7e0862883df6741ec0e1bb41c3698b22 (diff) |
drm/amd/pm: Handle non-terminated overdrive commands.
The incoming strings might not be terminated by a newline
or a 0.
(found while testing a program that just wrote the string
itself, causing a crash)
Cc: stable@vger.kernel.org
Fixes: e3933f26b657 ("drm/amd/pp: Add edit/commit/show OD clock/voltage support in sysfs")
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions