Commit 8e75f7a
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: torvalds/linux#441
Reported-by: sohu0106 <[email protected]>
Signed-off-by: Vladis Dronov <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>1 parent b9a58de commit 8e75f7a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
1858 | | - | |
| 1858 | + | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | 1861 | | |
| |||
0 commit comments