On Wed, Apr 09, 2025 at 09:46:33AM +0800, [email protected] wrote:
> From: Feng Jiang <[email protected]>
> 
> When calling scnprintf() to append recovery method to event_string,
> the second argument should be `sizeof(event_string) - len`, otherwise
> there is a potential overflow problem.
> 
> Fixes: b7cf9f4ac1b8 ("drm: Introduce device wedged event")
> Signed-off-by: Feng Jiang <[email protected]>

Reviewed-by: Raag Jadav <[email protected]>

Thanks for the fix.

Reply via email to