|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v3 0/5] pmstat interface fixes
Clarify and fix usage of the pmstat hypervisor and tools interfaces
regarding sizes of buffers passed in.
Ross Lagerwall (5):
x86/pmstat: Check size of PMSTAT_get_pxstat buffers
public/sysctl: Clarify usage of pm_{px,cx}_stat
cpufreq: Avoid potential buffer overrun and leak
libxc/PM: Ensure pxstat buffers are correctly sized
libxc/PM: Retry get_pxstat if data is incomplete
tools/libs/ctrl/xc_pm.c | 21 +++++++-------
tools/misc/xenpm.c | 48 ++++++++++++++++++++-----------
xen/drivers/acpi/pmstat.c | 7 +++--
xen/drivers/cpufreq/cpufreq.c | 3 +-
xen/include/public/sysctl.h | 54 +++++++++++++++++++++++++++--------
5 files changed, 90 insertions(+), 43 deletions(-)
--
2.49.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |