diff options
| author | Feng Jiang <[email protected]> | 2025-04-09 01:46:33 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-05-02 13:34:22 +0000 |
| commit | b662b162c3d06f120749eea0351ec9317d9dd905 (patch) | |
| tree | 50a54106920e415e4e29a851a4a35cd9e9b84721 /net/unix/af_unix.c | |
| parent | accel/ivpu: Correct mutex unlock order in job submission (diff) | |
| download | kernel-b662b162c3d06f120749eea0351ec9317d9dd905.tar.gz kernel-b662b162c3d06f120749eea0351ec9317d9dd905.zip | |
drm: Fix potential overflow issue in event_string array
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: André Almeida <[email protected]>
Reviewed-by: Raag Jadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
