diff options
| author | dmitry pervushin <dpervushin@nvidia.com> | 2020-03-12 13:29:54 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2020-03-24 11:38:42 -0400 |
| commit | 74f006cebaf29dded0e95ec4852ecb7b8eda537a (patch) | |
| tree | 6eaf4aefa4ab9e508fc4ad3033b7bba27689b470 /include/uapi | |
| parent | df4bc2502d694bd67157ab9dacefcc39b4c50475 (diff) | |
nvhost: make sure that user string has NUL
instead of memsetting the whole buffer, set the last byte to '\0'
This fixes the coverity issues 38940 and 38941
Bug 2028892
Change-Id: I4f3bf843e0fd67b863f44c02aa30368b1871615c
Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2311737
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Hardik T Shah <hardikts@nvidia.com>
Reviewed-by: Phoenix Jung <pjung@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
