mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
CID: 10166532: Out-of-bounds read. CID: 10166559: Out-of-bounds read. CID: 10166565: Out-of-bounds read. CID: 10166594: Out-of-bounds read. CID: 10166597: Out-of-bounds read. Fixed by adding checks to prevent get_ari_address_index() function used in all 5 defects from overflowing. Bug 3952896 Change-Id: Id67b57c621fd03d3727aea94c794251c8d0f0736 Signed-off-by: Ishan Shah <ishah@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2869316 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>