Re: [PATCH] video: fbdev: aty: do not leak uninitialized padding in clk to userspace

2017-09-04 Thread Bartlomiej Zolnierkiewicz
On Tuesday, August 29, 2017 03:50:04 PM Vladis Dronov wrote: > '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/

[PATCH] video: fbdev: aty: do not leak uninitialized padding in clk to userspace

2017-08-29 Thread Vladis Dronov
'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 Signed-off-by: Vladis Dronov --- drivers/v