linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] fbdev: atyfb: Fix buffer overflow
@ 2025-03-27 10:01 Denis Arefev
  2025-03-27 10:01 ` [PATCH 1/1] " Denis Arefev
  0 siblings, 1 reply; 8+ messages in thread
From: Denis Arefev @ 2025-03-27 10:01 UTC (permalink / raw)
  To: Helge Deller
  Cc: Thomas Zimmermann, Jani Nikula, linux-fbdev, dri-devel,
	linux-kernel, lvc-project

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-01 16:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 10:01 [PATCH 0/1] fbdev: atyfb: Fix buffer overflow Denis Arefev
2025-03-27 10:01 ` [PATCH 1/1] " Denis Arefev
2025-03-27 10:14   ` Jani Nikula
2025-03-31 19:55     ` Ville Syrjälä
2025-04-01  8:40       ` Denis Arefev
2025-04-01  9:03         ` Helge Deller
2025-04-01 10:23           ` Denis Arefev
2025-04-01 16:26             ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).