From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id CA97B1B296; Mon, 22 Apr 2019 21:21:20 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5A1F421B84; Mon, 22 Apr 2019 15:21:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 15:21:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=6H22EQxqWXba7e0g2GMxhMpnN7YWAyz8vmA/4mX8a9w=; b=MspCqpj1ZMFw vgR0rP/toPUf38SNi/D7zqggaQfq+SSG9GR986gt7r9s/wIkgbJtbtArFD2bMdcQ aLocy/Huxf7SLM250YOv1QHIGo5F3uNCh1L+p8q+GEx5KbjBSZUIMfRc9kJszGLM zGeX4H1EtYR4itwzQI0eaTpsh4LfIo0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6H22EQxqWXba7e0g2GMxhMpnN7YWAyz8vmA/4mX8a 9w=; b=cdiFCc+cy8tvL7++AGBwEJnvpMlTSFpNm0jKXQOcACEL0z9bUhCsW7USs /vyE31GAsdIyiIEjyvRzfhbzDmAGv5dgvKjQb0l3infz6nyl/DmbLpB75EEi8lv4 PS1TAfEqN1OQvpImqDMrlGk2Oci2jND0mEW/asME2sI03DHL5nRItdjgIj7SHc18 eNrgZMoY85FC5SlBVKW4g0QclOLcEBVWKYb2zG/uY6Ry/KejHufTXArcX7KwZpgz dsr0HP+KsO+0QVeDttj1X9JG6xFYPchiLm5VK961El/D5B13BLIVqAkmg/kI03GN LRLn9aO4whXT3FvU40b2pdmboRU+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 51B42E415C; Mon, 22 Apr 2019 15:21:18 -0400 (EDT) From: Thomas Monjalon To: Pallantla Poornima Cc: dev@dpdk.org, reshma.pattan@intel.com, amr.mokhtar@intel.com, stable@dpdk.org Date: Mon, 22 Apr 2019 21:21:16 +0200 Message-ID: <9691168.drilrykKnk@xps> In-Reply-To: <1554815140-9407-1-git-send-email-pallantlax.poornima@intel.com> References: <1550487010-730-1-git-send-email-pallantlax.poornima@intel.com> <1554815140-9407-1-git-send-email-pallantlax.poornima@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] app/testbbdev: fix sprintf with snprintf or strlcpy 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, 22 Apr 2019 19:21:21 -0000 09/04/2019 15:05, Pallantla Poornima: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf and strlcpy is used. > > Fixes: f714a18885 ("app/testbbdev: add test application for bbdev") > Cc: stable@dpdk.org > > Signed-off-by: Pallantla Poornima > Acked-by: Amr Mokhtar Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 496DAA05D3 for ; Mon, 22 Apr 2019 21:21:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3D701B458; Mon, 22 Apr 2019 21:21:22 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id CA97B1B296; Mon, 22 Apr 2019 21:21:20 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5A1F421B84; Mon, 22 Apr 2019 15:21:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 15:21:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=6H22EQxqWXba7e0g2GMxhMpnN7YWAyz8vmA/4mX8a9w=; b=MspCqpj1ZMFw vgR0rP/toPUf38SNi/D7zqggaQfq+SSG9GR986gt7r9s/wIkgbJtbtArFD2bMdcQ aLocy/Huxf7SLM250YOv1QHIGo5F3uNCh1L+p8q+GEx5KbjBSZUIMfRc9kJszGLM zGeX4H1EtYR4itwzQI0eaTpsh4LfIo0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6H22EQxqWXba7e0g2GMxhMpnN7YWAyz8vmA/4mX8a 9w=; b=cdiFCc+cy8tvL7++AGBwEJnvpMlTSFpNm0jKXQOcACEL0z9bUhCsW7USs /vyE31GAsdIyiIEjyvRzfhbzDmAGv5dgvKjQb0l3infz6nyl/DmbLpB75EEi8lv4 PS1TAfEqN1OQvpImqDMrlGk2Oci2jND0mEW/asME2sI03DHL5nRItdjgIj7SHc18 eNrgZMoY85FC5SlBVKW4g0QclOLcEBVWKYb2zG/uY6Ry/KejHufTXArcX7KwZpgz dsr0HP+KsO+0QVeDttj1X9JG6xFYPchiLm5VK961El/D5B13BLIVqAkmg/kI03GN LRLn9aO4whXT3FvU40b2pdmboRU+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 51B42E415C; Mon, 22 Apr 2019 15:21:18 -0400 (EDT) From: Thomas Monjalon To: Pallantla Poornima Cc: dev@dpdk.org, reshma.pattan@intel.com, amr.mokhtar@intel.com, stable@dpdk.org Date: Mon, 22 Apr 2019 21:21:16 +0200 Message-ID: <9691168.drilrykKnk@xps> In-Reply-To: <1554815140-9407-1-git-send-email-pallantlax.poornima@intel.com> References: <1550487010-730-1-git-send-email-pallantlax.poornima@intel.com> <1554815140-9407-1-git-send-email-pallantlax.poornima@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3] app/testbbdev: fix sprintf with snprintf or strlcpy 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190422192116.quUyRWMjLHB4vGFhGyCO4zSWUmcrmHVin2QCSoPDuEQ@z> 09/04/2019 15:05, Pallantla Poornima: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf and strlcpy is used. > > Fixes: f714a18885 ("app/testbbdev: add test application for bbdev") > Cc: stable@dpdk.org > > Signed-off-by: Pallantla Poornima > Acked-by: Amr Mokhtar Applied, thanks