diff options
| author | Achal Verma <achalv@nvidia.com> | 2021-01-07 04:03:19 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2021-01-15 21:39:41 -0500 |
| commit | d433c7e41991a46b572fcf08680b68279d985e02 (patch) | |
| tree | 1b7761a7ecece292585e823e5ed882a1395e6170 /include/uapi/linux/tegra_profiler.h | |
| parent | 2b5bb169c6e1f467dfd0e23912283a208310ddf7 (diff) | |
nvhost: make sure that user string has NULL
instead of memsetting the whole buffer, set the last byte to '\0'
This fixes the coverity issues 38940.
Bug 200689436
Change-Id: Iee6c3261b49c1531cb5ddbc7994056ac3833b582
Signed-off-by: Achal Verma <achalv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2467799
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@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/linux/tegra_profiler.h')
0 files changed, 0 insertions, 0 deletions
