diff options
| author | Vladis Dronov <vdronov@redhat.com> | 2017-09-04 16:00:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-05 09:47:36 +0200 |
| commit | fd7ea1828b0dc2a3501b403f4254e9b34ea8a8da (patch) | |
| tree | 5906ca8a2002d53d2903240383a7a2086e9d833f /include/linux/timerqueue.h | |
| parent | 841453bb0a270f902272cc7211442d477a355818 (diff) | |
| download | talos-op-linux-fd7ea1828b0dc2a3501b403f4254e9b34ea8a8da.tar.gz talos-op-linux-fd7ea1828b0dc2a3501b403f4254e9b34ea8a8da.zip | |
video: fbdev: aty: do not leak uninitialized padding in clk to userspace
commit 8e75f7a7a00461ef6d91797a60b606367f6e344d upstream.
'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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions

