mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Add checks in common.utils unit as part of BVEC analysis. The check in enabled.c makes sure that unauthorized memory access is not performed and string.c is modified with a check to avoid a possible invocation of BUG. Jira NVGPU-6268 Change-Id: I672c9c54a2d7b61219dee1b249b9e1345381a965 Signed-off-by: ajesh <akv@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2494951 (cherry picked from commit 464e101b23b0143ff2e26e07659e34d1678dbf9d) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2497647 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>