mirror of
https://github.com/opnsense/src.git
synced 2026-05-15 02:30:35 -04:00
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
|
||
|---|---|---|
| .. | ||
| busdma_iommu.c | ||
| busdma_iommu.h | ||
| iommu.h | ||
| iommu_gas.c | ||
| iommu_gas.h | ||
| iommu_msi.h | ||
| iommu_types.h | ||