[PATCH v2] drm: Fix the length of event_string in drm_dev_wedged_event()

Raag Jadav raag.jadav at intel.com
Tue Apr 8 14:08:49 UTC 2025


On Tue, Apr 08, 2025 at 07:27:28PM +0800, jiangfeng at kylinos.cn wrote:
> From: Feng Jiang <jiangfeng at kylinos.cn>
> 
> 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


More information about the dri-devel mailing list