diff options
| author | Candice Li <candice.li@amd.com> | 2026-05-20 12:33:18 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-04 15:26:01 -0400 |
| commit | 9ab125397e9f461f171be383af57886c4eeb8d42 (patch) | |
| tree | 16c98cd913b9c6a0e54d8bf9d4fd9c34d1c77d25 /include/linux/timerqueue.h | |
| parent | d2be142124f40be1e5b6c7d25e9f9069bc874c1f (diff) | |
drm/amd/pm: bound OD parameter parsing to stack array size
Reject inputs once parameter_size reaches the array limit, and pass
ARRAY_SIZE(parameter) into parse_input_od_command_lines() for defense in
depth.
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
