Re: [dpdk-dev] [PATCH] lib/power: fix freq list function to handle null

2019-01-14 Thread Thomas Monjalon
07/01/2019 15:39, David Hunt: > This patch fixes a segfault in the case where a null buffer is passed > to the following functions: >power_acpi_cpufreq_freqs() >power_pstate_cpufreq_freqs() > > Fixes: 445c6528b55f ("power: common interface for guest and host") > > Signed-off-by: David Hun

[dpdk-dev] [PATCH] lib/power: fix freq list function to handle null

2019-01-07 Thread David Hunt
This patch fixes a segfault in the case where a null buffer is passed to the following functions: power_acpi_cpufreq_freqs() power_pstate_cpufreq_freqs() Fixes: 445c6528b55f ("power: common interface for guest and host") Signed-off-by: David Hunt --- lib/librte_power/power_acpi_cpufreq.c