diff options
| author | Andrey Vatoropin <a.vatoropin@crpt.ru> | 2025-12-17 09:11:05 +0000 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-02-14 11:07:12 +0100 |
| commit | 011a0502801c8536f64141a2b61362c14f456544 (patch) | |
| tree | 420d12b9731b49db63b0975d1b5f65410e17181d /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 40227f2efcfb7148fdee8d69ba52301951ef8a32 (diff) | |
fbcon: check return value of con2fb_acquire_newinfo()
If fbcon_open() fails when called from con2fb_acquire_newinfo() then
info->fbcon_par pointer remains NULL which is later dereferenced.
Add check for return value of the function con2fb_acquire_newinfo() to
avoid it.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: d1baa4ffa677 ("fbcon: set_con2fb_map fixes")
Cc: stable@vger.kernel.org
Signed-off-by: Andrey Vatoropin <a.vatoropin@crpt.ru>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
