From: Andrew Cooper Subject: [PATCH for-4.5 0/3] Coverity fixes for python lowlevel libraries Date: Thu, 27 Nov 2014 12:34:31 +0000 Message-ID: <1417091674-8163-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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 Cc: Wei Liu , Ian Campbell , Andrew Cooper , Ian Jackson , Xen Coverity Team List-Id: xen-devel@lists.xenproject.org These were initially flagged by the XenServer coverity scanning. It turns out that they were being found by the upstream scan, but had been grouped with Xend and listed as ignored, hiding them from the output. I have adjusted the scan filters to not ignore the lowlevel libraries, and identified the appropriate scan CIDs in the patches While Xend is certainly dead and gone, XenServer at the very least still has consumers of these python libraries. Konrad: I am requesting a release ack for this. All 5 issues are bugs with the handling of error cases, rather than with the basic functionality provided. With these changes, Coverity is of the opinion that the python libraries are perfect (0 issues), and I feel this is a worthy position to be in for 4.5 Andrew Cooper (3): python/xc: Fix multiple issues in pyflask_context_to_sid() python/xc: Fix multiple issues in pyxc_readconsolering() python/xs: Correct the indirection of the NULL xshandle() check tools/python/xen/lowlevel/xc/xc.c | 34 +++++++++------------------------- tools/python/xen/lowlevel/xs/xs.c | 2 +- 2 files changed, 10 insertions(+), 26 deletions(-)