The unpublished smatch static checker reported a warning.
drivers/accel/amdxdna/aie2_pci.c:904 aie2_query_ctx_status_array()
warn: potential user controlled sizeof overflow
'args->num_element * args->element_size' '1-u32max(user) * 1-u32max(user)'
Even this will not cause a real issue, it is bett
Reviewed-by: Maciej Falkowski
On 9/9/2025 5:45 PM, Lizhi Hou wrote:
The unpublished smatch static checker reported a warning.
drivers/accel/amdxdna/aie2_pci.c:904 aie2_query_ctx_status_array()
warn: potential user controlled sizeof overflow
'args->num_element * args->element_size' '1-u32max(us
Applied to drm-misc-next
On 9/11/25 07:56, Falkowski, Maciej wrote:
Reviewed-by: Maciej Falkowski
On 9/9/2025 5:45 PM, Lizhi Hou wrote:
The unpublished smatch static checker reported a warning.
drivers/accel/amdxdna/aie2_pci.c:904 aie2_query_ctx_status_array()
warn: potential user controlled