mbox series

[0/1] fbdev: atyfb: Fix buffer overflow

Message ID 20250327100126.12585-1-arefev@swemel.ru (mailing list archive)
Headers show
Series fbdev: atyfb: Fix buffer overflow | expand

Message

Denis Arefev March 27, 2025, 10:01 a.m. UTC
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