All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Coverity fixes relating to xmalloc()/xfree()
@ 2013-12-27 14:57 Andrew Cooper
  2013-12-27 14:57 ` [PATCH 1/4] common/sysctl: Don't leak status in SYSCTL_page_offline_op Andrew Cooper
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Andrew Cooper @ 2013-12-27 14:57 UTC (permalink / raw)
  To: Xen-devel; +Cc: George Dunlap, Andrew Cooper, Ian Campbell

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@citrix.com>
CC: George Dunlap <george.dunlap@eu.citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-01-17 17:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 14:57 [PATCH 0/4] Coverity fixes relating to xmalloc()/xfree() Andrew Cooper
2013-12-27 14:57 ` [PATCH 1/4] common/sysctl: Don't leak status in SYSCTL_page_offline_op Andrew Cooper
2014-01-07 11:33   ` Jan Beulich
2014-01-07 11:34     ` Andrew Cooper
2014-01-07 11:48       ` Jan Beulich
2014-01-07 11:59         ` [Patch v2 " Andrew Cooper
2014-01-13 11:13           ` Andrew Cooper
2014-01-17 17:59           ` Keir Fraser
2013-12-27 14:57 ` [PATCH 2/4] AMD/iommu_detect: Don't leak iommu structure on error paths Andrew Cooper
2013-12-29 17:39   ` Suravee Suthikulpanit
2013-12-27 14:57 ` [PATCH 3/4] AMD/microcode: Avoid use-after-free for the microcode buffer Andrew Cooper
2013-12-27 15:30   ` Boris Ostrovsky
2013-12-27 15:36     ` Andrew Cooper
2013-12-27 15:50       ` Boris Ostrovsky
2013-12-27 15:57         ` [Patch v2 " Andrew Cooper
2013-12-27 22:43           ` Matthew Daley
2013-12-28 11:24             ` Andrew Cooper
2013-12-28 11:28               ` [Patch v3 " Andrew Cooper
2013-12-27 14:57 ` [PATCH 4/4] VTD/DMAR: free() correct pointer on error from acpi_parse_one_atsr() Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.