diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-08-03 03:14:00 -0400 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2016-08-04 05:43:33 -0400 |
commit | 118809f4bd07af20df2b6c012828834695a5fccf (patch) | |
tree | 161bd70cab58ec74e7609909183e00309c7af3b2 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | 1933eb7d18c43cc70a0dbe94d3382d918f853383 (diff) |
gpu: nvgpu: initialize local variable
Initialize character array buf in gk20a_channel_ioctl() to zero
Keeping it uninitialized can result in leaking kernel stack
info to user space since we pass this buffer to UMD
Bug 1793398
Change-Id: Iffd654dbaca3b4e3c8fd2ac270d0febd01c165b8
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1195862
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions