]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: memset gds_info struct in info ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2015 15:47:03 +0000 (11:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:23 +0000 (21:03 -0400)
commitb49fde70abb89027a4cea927248d326bfd63f34d
treeaa11a1ab074c25deae4914f0024c08b3374f02d4
parent93aa6e63e0d98ab7b1fd389b2d38a24a904083ea
drm/amdgpu: memset gds_info struct in info ioctl

Avoids possibility that info may leak via the uninitialized
_pad element.

Noticed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c