1fe00fd358
In function power_guest_channel_read_msg, 'lcore_id' is used before
validity check, which may cause buffer 'global_fds' accessed by index
'lcore_id' overflow.
This patch moves the validity check of 'lcore_id' before the 'lcore_id'
being used for the first time.
Fixes:
|
||
---|---|---|
.. | ||
guest_channel.c | ||
guest_channel.h | ||
meson.build | ||
power_acpi_cpufreq.c | ||
power_acpi_cpufreq.h | ||
power_common.c | ||
power_common.h | ||
power_kvm_vm.c | ||
power_kvm_vm.h | ||
power_pstate_cpufreq.c | ||
power_pstate_cpufreq.h | ||
rte_power_empty_poll.c | ||
rte_power_empty_poll.h | ||
rte_power_guest_channel.h | ||
rte_power_pmd_mgmt.c | ||
rte_power_pmd_mgmt.h | ||
rte_power.c | ||
rte_power.h | ||
version.map |