Re: [PATCH v2] drm: Fix the length of event_string in drm_dev_wedged_event()
From: Raag Jadav
Date: Tue Apr 08 2025 - 10:14:03 EST
On Tue, Apr 08, 2025 at 07:27:28PM +0800, jiangfeng@xxxxxxxxxx wrote:
> From: Feng Jiang <jiangfeng@xxxxxxxxxx>
>
> 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.
Thanks. Perhaps change the subject to reflect this as well?
Raag