From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH] tmem fixes for Xen 4.5 - coverity inspired. Date: Wed, 30 Apr 2014 16:29:12 -0400 Message-ID: <1398889756-16352-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wfb8A-0001du-M0 for xen-devel@lists.xenproject.org; Wed, 30 Apr 2014 20:29:26 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org, andrew.cooper3@citrix.com, jbeulich@suse.com, keir@xen.org List-Id: xen-devel@lists.xenproject.org These patches are inspired by Coverity results - and I hope the last of them in the 'tmem' department. Please review, especially the: [PATCH 4/4] tmem: fix Out-of-bounds read reported by Coverity at your leisure. tools/libxc/xc_domain_save.c | 8 +++++-- tools/libxc/xc_tmem.c | 51 ++++++++++++++++++++++++++------------------ tools/libxc/xenctrl.h | 2 +- xen/common/tmem.c | 10 ++------- 4 files changed, 39 insertions(+), 32 deletions(-) Bob Liu (2): tmem: drop unnecessary lock in tmem_relinquish_pages() tmem: fix Out-of-bounds read reported by Coverity Konrad Rzeszutek Wilk (2): xc/tmem: Free temporary buffer used during migration. xc/tmem: Unchecked return value (v2).