drm/amdgpu: information leak in amdgpu_info_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 28 Jul 2015 15:51:29 +0000 (18:51 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jul 2015 19:50:37 +0000 (15:50 -0400)
commitc193fa91b9182465a4a01665ad4096a6cdb4db2d
tree77f1c1f4cf876efdafc19a52720d6be2f645d780
parent8faf0e08d5a78ae5f1752b1d69f97ed70afa625f
drm/amdgpu: information leak in amdgpu_info_ioctl()

We recently changed the drm_amdgpu_info_device struct so now there is
a 4 byte hole at the end.  We need to initialize it so we don't disclose
secret information from the stack.

Fixes: fa92754e9c47 ('drm/amdgpu: add VCE harvesting instance query')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c