opnsense-src/sys/dev/iommu
Doug Moore 8765df60dc iommu_gas: avoid overflow in bounds check
Change the range test in iommu_gas_match_one from '< ubound' to '<=
ubound', and pass a smaller-by-one ubound parameter to it, to avoid
overflow in ubound calculation.

Reported by:	andrew
Reviewed by:	andrew (previous version)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D37764

(cherry picked from commit 5b9b55fbc4)
2022-12-25 01:01:16 -06:00
..
busdma_iommu.c iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-08-08 02:07:50 -05:00
busdma_iommu.h busdma_iommu: Fine-grained locking for the dmamap's map list 2022-07-06 12:11:10 -05:00
iommu.h iommu_gas: start space search from 1st free space 2022-11-21 02:24:57 -06:00
iommu_gas.c iommu_gas: avoid overflow in bounds check 2022-12-25 01:01:16 -06:00
iommu_gas.h iommu_gas: add iommu_gas_remove() 2022-08-22 16:37:09 +03:00
iommu_msi.h o Add iommu de-initialization method for MSI interface. 2020-10-24 20:09:27 +00:00
iommu_types.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00