mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 09:41:30 +00:00
The array index of "epid" may be out of bounds if "epid >= XHCI_MAX_ENDPOINTS", so bound check is necessary before it is used. Tracked-On: #3434 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@intel.com>