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 20B151B495; Mon, 11 Feb 2019 14:35:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2019 05:35:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,358,1544515200"; d="scan'208";a="318035525" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga006.fm.intel.com with ESMTP; 11 Feb 2019 05:35:44 -0800 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX152.ger.corp.intel.com (163.33.192.66) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Feb 2019 13:35:44 +0000 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.56]) by irsmsx112.ger.corp.intel.com ([169.254.1.124]) with mapi id 14.03.0415.000; Mon, 11 Feb 2019 13:35:44 +0000 From: "Mokhtar, Amr" To: "Poornima, PallantlaX" , "dev@dpdk.org" CC: "Pattan, Reshma" , "stable@dpdk.org" Thread-Topic: [PATCH] app/testbbdev: fix sprintf with snprintf Thread-Index: AQHUvFmfRlg8SeYKe0Cop7nSFaGXpKXapGSg Date: Mon, 11 Feb 2019 13:35:43 +0000 Message-ID: <3D3765A8CDB52A4C8B410430AA19CB2370948CB7@IRSMSX104.ger.corp.intel.com> References: <1549264554-2501-1-git-send-email-pallantlax.poornima@intel.com> In-Reply-To: <1549264554-2501-1-git-send-email-pallantlax.poornima@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTEzZjMwNTgtMDBkMC00YjEyLWEyYjYtODUwNmI1ZjU0OGQwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRHJpYjFWOWdEaHJcL3JhOTNyandKUW41dGlaY0ZUVG5tdUZWQ3Y3OStCR3NNRDQ4QzVcL0tcL2I4VDBNejVBS2VZSSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] app/testbbdev: fix sprintf with snprintf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 13:35:48 -0000 > -----Original Message----- > From: Poornima, PallantlaX > Sent: Monday 4 February 2019 07:16 > To: dev@dpdk.org > Cc: Pattan, Reshma ; Mokhtar, Amr > ; Poornima, PallantlaX > ; stable@dpdk.org > Subject: [PATCH] app/testbbdev: fix sprintf with snprintf >=20 > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. >=20 > Fixes: f714a18885 ("app/testbbdev: add test application for bbdev") > Cc: stable@dpdk.org >=20 > Signed-off-by: Pallantla Poornima > --- Acked-by: Amr Mokhtar