mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: fix possible buffer overflow issues
- cpu_secondary_init() @cpu.c - ptirq_intx_pin_remap() @ assign.c etc. Tracked-On: #1252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -626,7 +626,7 @@ enum pm_cmd_type {
|
||||
*
|
||||
* the parameter for HC_VM_INTR_MONITOR hypercall
|
||||
*/
|
||||
#define MAX_PTDEV_NUM 24
|
||||
#define MAX_PTDEV_NUM 24U
|
||||
struct acrn_intr_monitor {
|
||||
/** sub command for intr monitor */
|
||||
uint32_t cmd;
|
||||
|
||||
Reference in New Issue
Block a user