tegra-profiler: fix security vulnerability issue
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Thu, 18 Aug 2016 08:35:20 +0000 (11:35 +0300)
committerWinnie Hsu <whsu@nvidia.com>
Sat, 10 Sep 2016 00:45:49 +0000 (17:45 -0700)
commite7e62d74cb3ff3da3e78e02856c9d2a2e18f47c5
treebc6b2e42122e7322202ca0cca199c3f481bc5dea
parent4cf47093a3862ba12f0096d736771a2a749d7865
tegra-profiler: fix security vulnerability issue

Tegra Profiler: some fields of structs are not initialized.
So, when they are copied to user space, stack information leaks.

Bug 1797747

Change-Id: I2b00f30fa2e3360c412573d40faf96f45c113346
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/1204252
(cherry picked from commit 9a1fa9884ad5cbb8199d0dc5a56fd5845a544d44)
Reviewed-on: http://git-master/r/1208917
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/misc/tegra-profiler/comm.c