From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id D3473C55C for ; Sat, 25 Jun 2016 00:51:07 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 24 Jun 2016 15:51:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,523,1459839600"; d="scan'208";a="994648690" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga001.fm.intel.com with ESMTP; 24 Jun 2016 15:51:02 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.240]) by IRSMSX154.ger.corp.intel.com ([169.254.12.28]) with mapi id 14.03.0248.002; Fri, 24 Jun 2016 23:51:01 +0100 From: "Mcnamara, John" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "Pattan, Reshma" Thread-Topic: [dpdk-dev] [PATCH v5 3/5] pdump: fix string overflow Thread-Index: AQHRzja7bSwNEuO93kiGva7rmX1YQ5/5OUHw Date: Fri, 24 Jun 2016 22:51:00 +0000 Message-ID: References: <1466776473-30883-1-git-send-email-reshma.pattan@intel.com> <1466786183-3772-1-git-send-email-reshma.pattan@intel.com> <1466786183-3772-4-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1466786183-3772-4-git-send-email-reshma.pattan@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWE1OTc3YWEtMjAyNS00YWJiLWJlZTUtNDM0YjIwYzM5NWE4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImM1aE9kblo0R0VZemM0cUpUUWlSditLYlFFcWZHYW9UK1hRRGk2OVE5NDQ9In0= x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 3/5] pdump: fix string overflow 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: Fri, 24 Jun 2016 22:51:08 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Friday, June 24, 2016 5:36 PM > To: dev@dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH v5 3/5] pdump: fix string overflow >=20 > replaced strncpy with snprintf for safely copying the strings. >=20 > Cverity issue 127350: string overflow >=20 > Fixes: 278f945402c5 ("pdump: add new library for packet capture") >=20 > Signed-off-by: Reshma Pattan Acked-by: John McNamara