[PATCH]
PATCH 1/1 [PATCH]
Prevent use of uninitialized data when hypervisor was built without ACM_SECURITY.
Signed-off-by Jan Beulich <[email protected]>
tools/python/xen/lowlevel/acm/acm.c +2 -0
@@ -182,6 +182,8 @@ static PyObject *getdecision(PyObject *if (xc_acm_op (xc_handle, ACMOP_getdecision, &getdecision,sizeof (getdecision)) <0 ) {if (errno ==EACCES )PERROR ("ACM operation failed." ); +xc_interface_close (xc_handle); +return NULL ; }xc_interface_close (xc_handle);