From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 96193AD8D for ; Wed, 15 Jun 2016 11:01:23 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 15 Jun 2016 02:01:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,475,1459839600"; d="scan'208";a="976040821" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga001.jf.intel.com with ESMTP; 15 Jun 2016 02:01:14 -0700 Date: Wed, 15 Jun 2016 17:01:17 +0800 From: Yuanhan Liu To: Marcin Kerlin Cc: huawei.xie@intel.com, dev@dpdk.org, "Mcnamara, John" Message-ID: <20160615090117.GE10038@yliu-dev.sh.intel.com> References: <1465984042-21634-1-git-send-email-marcinx.kerlin@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465984042-21634-1-git-send-email-marcinx.kerlin@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 1/1] vhost: fix null pointer dereference X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 09:01:24 -0000 On Wed, Jun 15, 2016 at 11:47:22AM +0200, Marcin Kerlin wrote: > Return value of function get_device() is not checking before > dereference. Fix this problem by adding checking condition. > > Coverity issue: 119262 > Fixes: 77d20126b4c2 ("vhost-user: handle message to enable vring") > > Signed-off-by: Marcin Kerlin Applied to dpdk-next-virtio. Thanks. --yliu