mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 12:49:45 +00:00
Input parameter "bus" of assign_iommu_device/unassign_iommu_device may be from hypercall. And the conext tables are static allocated according to CONFIG_IOMMU_BUS_NUM. Need to check the bus value to avoid access invalid memory address with invalid value. Tracked-On: #2743 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> |
||
---|---|---|
.. | ||
x86 |