Thread (7 messages) 7 messages, 3 authors, 2022-08-05

Re: [PATCH 0/3] Fix bugs in *_set_par() caused by user input

From: Helge Deller <deller@gmx.de>
Date: 2022-08-05 16:48:10
Also in: dri-devel, lkml

On 8/4/22 14:41, Zheyu Ma wrote:
In the function *_set_par(), the value of 'screen_size' is
calculated by the user input. If the user provides the improper value,
the value of 'screen_size' may larger than 'info->screen_size', which
may cause a bug in the memset_io().

Zheyu Ma (3):
  video: fbdev: vt8623fb: Check the size of screen before memset_io()
  video: fbdev: arkfb: Check the size of screen before memset_io()
  video: fbdev: s3fb: Check the size of screen before memset_io()
applied all 3 patches to fbdev git tree.

Thanks!
Helge
 drivers/video/fbdev/arkfb.c    | 2 ++
 drivers/video/fbdev/s3fb.c     | 2 ++
 drivers/video/fbdev/vt8623fb.c | 2 ++
 3 files changed, 6 insertions(+)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help