From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reshma Pattan Subject: [PATCH v5 0/5] fix issues in packet capture framework Date: Fri, 24 Jun 2016 17:36:18 +0100 Message-ID: <1466786183-3772-1-git-send-email-reshma.pattan@intel.com> References: <1466776473-30883-1-git-send-email-reshma.pattan@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3FAF1C5C8 for ; Fri, 24 Jun 2016 18:36:26 +0200 (CEST) Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u5OGaNNm022360 for ; Fri, 24 Jun 2016 17:36:23 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u5OGaNs2003814 for ; Fri, 24 Jun 2016 17:36:23 +0100 Received: (from reshmapa@localhost) by sivswdev02.ir.intel.com with id u5OGaN0Z003810 for dev@dpdk.org; Fri, 24 Jun 2016 17:36:23 +0100 In-Reply-To: <1466776473-30883-1-git-send-email-reshma.pattan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset includes listed fixes 1)fix default socket path in pdump library. 2)fix coverity issues in pdump library. 3)fix coverity issues in pdump tool. 4)fix wrong typecast of ring size in pdump tool. v5: changes are done to default socket paths now default socket path will be /var/run/.dpdk/pdump_sockets for root users and HOME/.dpdk/pdump_sockets for nonroot users. v4: added new patch for fixing wrong typecast of ring size in pdump tool. v3: added new patch for fixing default socket paths "HOME" and "/var/run". reworked coverity fixes on top of the above change. v2: fixed code review comment to use snprintf instead of strncpy. Reshma Pattan (5): pdump: fix default socket path pdump: check getenv return value pdump: fix string overflow app/pdump: fix string overflow app/pdump: fix type casting of ring size app/pdump/main.c | 6 ++-- lib/librte_pdump/rte_pdump.c | 78 +++++++++++++++++++++++++++++++++++--------- 2 files changed, 65 insertions(+), 19 deletions(-) -- 2.5.0