diff options
| author | 2026-05-19 18:30:03 +0530 | |
|---|---|---|
| committer | 2026-06-04 15:27:55 -0400 | |
| commit | 408b17765b7ae73b299eccaa3bc2e8c7f1555741 (patch) | |
| tree | eac8da6bf6da80b088b913e7d77ebfa81edca364 /tools/lib/python/kdoc/python_version.py | |
| parent | drm/amdkfd: Fix infinite loop parsing CRAT with zero subtype length (diff) | |
drm/amd/pm: Use strscpy in profile mode parsing
Use strscpy to copy the buffer which makes it explicit that a valid NULL
terminated string gets copied. Also, make it explicit that the source
buffer can be copied safely to the temporary buffer by checking against
its size.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
