[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250327100126.12585-1-arefev@swemel.ru>
Date: Thu, 27 Mar 2025 13:01:23 +0300
From: Denis Arefev <arefev@...mel.ru>
To: Helge Deller <deller@....de>
Cc: Thomas Zimmermann <tzimmermann@...e.de>,
Jani Nikula <jani.nikula@...el.com>,
linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: [PATCH 0/1] fbdev: atyfb: Fix buffer overflow
The fixes I suggested are not the only ones.
There are more options for solving this problem.
1.Find datasheet for the chip, find out the register offset, calculate
the address using the formula (4*Dword offset), add this value to
the array lt_lcd_regs[] at index LCD_MISC_CNTL.
2. Delete this code completely, as the chip is very obsolete and
not applicable.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Denis Arefev (1):
fbdev: atyfb: Fix buffer overflow
drivers/video/fbdev/aty/atyfb_base.c | 4 ++++
1 file changed, 4 insertions(+)
base-commit: 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95
--
2.43.0
Powered by blists - more mailing lists