[libvirt] [PATCH v3 python 0/2] fix crash in libvirt_virDomainPin*

Konstantin Neumoin kneumoin at virtuozzo.com
Thu Nov 3 17:05:50 UTC 2016


this small patch set:
* move common logic of all libvirt_virDomainPin* functions to new helper
 in util module.
* fix overrun buffer when converting cpumap.

Changes since v2:
- fix comments for new helper function
- remove extra variables and labels
- fix commit message/subject
- rename new helper function

Changes since v1:
- add new helper in util module.

Konstantin Neumoin (2):
  move cpumap conversion code to a common helper
  don't overrun buffer when converting cpumap

 libvirt-override.c | 131 +++++------------------------------------------------
 libvirt-utils.c    |  62 +++++++++++++++++++++++++
 libvirt-utils.h    |   5 ++
 3 files changed, 78 insertions(+), 120 deletions(-)

-- 
2.5.5




More information about the libvir-list mailing list