summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2026-05-19 18:42:09 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:53:00 -0400
commit66a856e3e5d92a09363dea37e9376921b30aaa6b (patch)
tree54dbfc1ab9c644de1d06726d9ef02f5e3e937508 /include/linux/timerqueue.h
parentc83e4a45ff9a0b7aa1c48246102009a99ccef11b (diff)
drm/amdgpu: NUL-terminate securedisplay debugfs input from userspace
Use strncpy_from_user() instead of copy_from_user() before sscanf() in the securedisplay_test debugfs write handler so a full-length write cannot leave the stack buffer without a terminator. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions