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 55E1C1B7CC for ; Wed, 31 Jan 2018 15:54:27 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E3AE520BF1; Wed, 31 Jan 2018 09:54:26 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 31 Jan 2018 09:54:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=tPMKUcp9nYPy9p3xtaalOzYIiY ZMpHd1XHhmDPzyyiQ=; b=kx4oR/RJcuM9/0OC+j3HIh2geEOklE/NN9gIqwBJ1N EK/GXKBkS4ZyIYwlmmd9muvUkXbqW5yP3b+sdSMw6LKcn2PLPcyZe0cnM64dkkhs pD2BNU2FdQIO77o+QKf/PV5INbT7JZT9tWg7eK2fBB8KX9gc3SsJJmZEBLYDsr85 g= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=tPMKUc p9nYPy9p3xtaalOzYIiYZMpHd1XHhmDPzyyiQ=; b=Lsn5gaxTOZLub7UxOk0OwD ztr39dicPEmuK9fqOv2v9296Mr32H82R1uewXAGxN7JcGPCKl4/tgwH+T1cuxM8l Vxxo9Jw/ICIBYeu/6AZ87eHzaar2wPPFoXZOf9KOiJGovQvirLIgYAqlXsma27SL zlnQvODn9SrbEWcauNw4zDFyRutzAQC0qFTv59pOe0eKiABB85HJwAY7dGJUWjMb yKZQPug9WRgigcG7E6eUANWHlPcf5BrrZDKZ2vMi8qKiFBQND9NbbghDDyUGithF fQg15on6yUWQAVl9xw1fvIjqNCK7XCBL9o4zkLPNDJvhOBg5bFtz07tUJ/yrVVgw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 96FBB7E12E; Wed, 31 Jan 2018 09:54:26 -0500 (EST) From: Thomas Monjalon To: Amr Mokhtar Cc: dev@dpdk.org Date: Wed, 31 Jan 2018 15:53:38 +0100 Message-ID: <5332072.BFpjqQBh5C@xps> In-Reply-To: <1517402440-129255-1-git-send-email-amr.mokhtar@intel.com> References: <1517402440-129255-1-git-send-email-amr.mokhtar@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testbbdev: fix buffer null termination due to strncpy 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: Wed, 31 Jan 2018 14:54:27 -0000 31/01/2018 13:40, Amr Mokhtar: > use snprintf instead of strncpy to ensure null termination when > copying test_vector_filename from cmd arguments. > > Coverity issue: 257001 > Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") > > Signed-off-by: Amr Mokhtar Applied, thanks