From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5EB55959 for ; Tue, 16 Dec 2014 16:05:14 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 16 Dec 2014 07:01:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,587,1413270000"; d="scan'208";a="654916470" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 16 Dec 2014 07:03:54 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id sBGF3ri0008292; Tue, 16 Dec 2014 15:03:53 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id sBGF3rB3016815; Tue, 16 Dec 2014 15:03:53 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id sBGF3rTM016811; Tue, 16 Dec 2014 15:03:53 GMT From: Bruce Richardson To: dev@dpdk.org Date: Tue, 16 Dec 2014 15:03:48 +0000 Message-Id: <1418742233-16776-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/5] Fixes for issues highlighted by static analysis scan 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: Tue, 16 Dec 2014 15:05:14 -0000 This patch set fixes 5 issues found during a static analysis scan of the latest DPDK code. These fixes are for possible NULL pointer references and array overflow/underflow. Bruce Richardson (5): test: after NULL check, don't free the NULL pointer test: check for mbuf alloc failure examples: set correct limit for length of unix socket path examples: fix check for null before de-reference cfgfile: prevent error when reading an empty file app/test/test_kvargs.c | 3 --- app/test/test_table_acl.c | 5 +++++ examples/vm_power_manager/channel_manager.c | 4 ++-- examples/vm_power_manager/channel_manager.h | 8 +++++++- examples/vm_power_manager/vm_power_cli.c | 4 ++-- lib/librte_cfgfile/rte_cfgfile.c | 4 +++- 6 files changed, 19 insertions(+), 9 deletions(-) -- 1.9.3