Re: [PATCH v4 2/6] accel/ivpu: Use effective buffer size for zero terminator

2025-05-12 Thread Jacek Lawrynowicz
Thanks for the fix, applied to drm-misc-fixes On 5/8/2025 3:06 PM, Markus Burri wrote: > Use the effective written size instead of original size as index for zero > termination. If the input from user-space is to larger and the input is > truncated, the original size is out-of-bound. > Since there

Re: [PATCH v4 2/6] accel/ivpu: Use effective buffer size for zero terminator

2025-05-12 Thread Jacek Lawrynowicz
Reviewed-by: Jacek Lawrynowicz On 5/8/2025 3:06 PM, Markus Burri wrote: > Use the effective written size instead of original size as index for zero > termination. If the input from user-space is to larger and the input is > truncated, the original size is out-of-bound. > Since there is an upfront

[PATCH v4 2/6] accel/ivpu: Use effective buffer size for zero terminator

2025-05-08 Thread Markus Burri
Use the effective written size instead of original size as index for zero termination. If the input from user-space is to larger and the input is truncated, the original size is out-of-bound. Since there is an upfront size check here, the change is for consistency. Signed-off-by: Markus Burri ---