mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 13:37:10 +00:00
security: Increase buffer size to avoid buffer overflow error
The array indexx of "vm_list" may be out of bound. Updated the size of "vm_list" Bug: ACRN-2544 Tracked-On: #2385 Signed-off-by: Manisha Chinthapally <manisha.chinthapally@intel.com>
This commit is contained in:
parent
d0eb83aa0c
commit
5e99565b74
@ -114,7 +114,7 @@ struct profiling_vm_info {
|
||||
|
||||
struct profiling_vm_info_list {
|
||||
uint16_t num_vms;
|
||||
struct profiling_vm_info vm_list[CONFIG_MAX_VM_NUM];
|
||||
struct profiling_vm_info vm_list[CONFIG_MAX_VM_NUM+1];
|
||||
};
|
||||
|
||||
struct sw_msr_op_info {
|
||||
|
Loading…
Reference in New Issue
Block a user