[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/4] Coverity fixes relating to xmalloc()/xfree()
In the latest Coverity scan, I modelled _xmalloc() and xfree() which Coverity was previously unaware of. These four patches are as a result of this improved modelling. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: George Dunlap <george.dunlap@xxxxxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> George/Ian: (I cant recall offhand when release-maintainership switches) I request these patches for a freeze exemption, on the basis that they are quite obviouly bugs with serious consequences, the fixes for which are contained and very unlikely to have accidential impact on Xen as a whole. Andrew Cooper (4): common/sysctl: Don't leak status in SYSCTL_page_offline_op AMD/iommu_detect: Don't leak iommu structure on error paths AMD/microcode: Avoid use-after-free for the microcode buffer VTD/DMAR: free() correct pointer on error from acpi_parse_one_atsr() xen/arch/x86/microcode_amd.c | 17 +++++++++-------- xen/common/sysctl.c | 10 ++++------ xen/drivers/passthrough/amd/iommu_detect.c | 11 ++++++++--- xen/drivers/passthrough/vtd/dmar.c | 18 +++++++++++++----- 4 files changed, 34 insertions(+), 22 deletions(-) -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |