mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
9568aaa35d559a0667671fbf3d70204bf606a553
Add call to check_add_overflow to fix CERT INT 30-C and INT 8-C defects. Add boundary check for offset value to fix default coverity TAINTED_SCALAR and MISRA 4.14 defects. Offset value is being passed on and eventually used as a loop boundary. So, a check at the beginning is required. Total Defects Fixed: 4 Defects Bug 4479044 Change-Id: Ie687c5d7d84cd3f7897d5e6e04ab90d0ed2e1619 Signed-off-by: N V S Abhishek <nabhishek@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3263923 Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Description
No description provided