agp: info leak in agpioc_info_wrap()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 3 May 2014 20:27:00 +0000 (23:27 +0300)
committerDave Airlie <airlied@redhat.com>
Mon, 5 May 2014 00:33:28 +0000 (10:33 +1000)
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found