commit | 3ca9e5d36afb5c0a6ee6ceee69e507370beb59c6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue May 06 12:50:12 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 06 13:05:00 2014 -0700 |
tree | db4bf1253bbaba30d4955b4eed1a5708ec73793c | |
parent | d353efd02357a74753cd45f367a2d3d357fd6904 [diff] |
agp: info leak in agpioc_info_wrap() On 64 bit systems the agp_info struct has a 4 byte hole between ->agp_mode and ->aper_base. We need to clear it to avoid disclosing stack information to userspace. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>