References: bnc#842513 CVE-2013-4370 XSA-69 # Commit 3cd10fd21220f2b814324e6e732004f8f0487d0a # Date 2013-10-10 15:49:40 +0100 # Author Matthew Daley # Committer Ian Jackson tools/ocaml: fix erroneous free of cpumap in stub_xc_vcpu_getaffinity Not sure how it got there... Coverity-ID: 1056196 This is CVE-2013-4370 / XSA-69 Signed-off-by: Matthew Daley Acked-by: Ian Campbell --- a/tools/ocaml/libs/xc/xenctrl_stubs.c +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c @@ -461,8 +461,6 @@ CAMLprim value stub_xc_vcpu_getaffinity( retval = xc_vcpu_getaffinity(_H(xch), _D(domid), Int_val(vcpu), c_cpumap); - free(c_cpumap); - if (retval < 0) { free(c_cpumap); failwith_xc(_H(xch));