OpenCloudOS-Kernel/drivers/video/fbdev/aty
Vladis Dronov 8e75f7a7a0 video: fbdev: aty: do not leak uninitialized padding in clk to userspace
'clk' is copied to a userland with padding byte(s) after 'vclk_post_div'
field unitialized, leaking data from the stack. Fix this ensuring all of
'clk' is initialized to zero.

References: https://github.com/torvalds/linux/pull/441
Reported-by: sohu0106 <sohu0106@126.com>
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-09-04 16:00:50 +02:00
..
Makefile
ati_ids.h
aty128fb.c video: fbdev: make fb_videomode const 2017-09-04 16:00:49 +02:00
atyfb.h drivers/video/fbdev/atyfb: Use arch_phys_wc_add() and ioremap_wc() 2015-07-21 10:47:05 +02:00
atyfb_base.c video: fbdev: aty: do not leak uninitialized padding in clk to userspace 2017-09-04 16:00:50 +02:00
mach64_accel.c
mach64_ct.c
mach64_cursor.c
mach64_gx.c
radeon_accel.c
radeon_backlight.c backlight: Remove trivial get_brightness implementations 2014-06-23 13:24:22 +01:00
radeon_base.c video: fbdev: add const to bin_attribute structures 2017-08-18 19:56:40 +02:00
radeon_i2c.c
radeon_monitor.c scripts/spelling.txt: add "applys" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
radeon_pm.c fbdev: radeon: replace PPC_OF with PPC 2015-03-17 20:04:31 +11:00
radeonfb.h radeonfb: Deinline large functions 2015-10-08 12:24:12 +03:00