aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDan Rosenberg <[email protected]>2010-09-22 13:05:09 -0700
committerLinus Torvalds <[email protected]>2010-09-22 17:22:39 -0700
commitfd02db9de73faebc51240619c7c7f99bee9f65c7 (patch)
tree2781eada960ecdfbb407fd473b53011b30012fee /net/unix/sysctl_net_unix.c
parentcb1dcc0ff4b57873210100fc9d70defa81af43d4 (diff)
drivers/video/sis/sis_main.c: prevent reading uninitialized stack memory
The FBIOGET_VBLANK device ioctl allows unprivileged users to read 16 bytes of uninitialized stack memory, because the "reserved" member of the fb_vblank struct declared on the stack is not altered or zeroed before being copied back to the user. This patch takes care of it. Signed-off-by: Dan Rosenberg <[email protected]> Cc: Thomas Winischhofer <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions