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:
Manisha Chinthapally 2019-01-24 10:24:35 -08:00 committed by wenlingz
parent d0eb83aa0c
commit 5e99565b74

View File

@ -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 {