From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A2589160 for ; Fri, 20 Jul 2018 11:18:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 56B3620CE1; Fri, 20 Jul 2018 05:18:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 20 Jul 2018 05:18:42 -0400 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=Is76hlcY80ND8P0AjN//loR33u g0XaI6ajCkefa1UFs=; b=VzZIDlUcaVanrxz4NDFcYlHbN+M6HSd1Llq2/S5tYE sOofI55NeOicNjfJQMGtwOpn2SegfAf3g23RAjeF3vyRJ324S2usDNu8k10a1x5T 4dqPgVfUqXNiRXLrbphUVSwXUIGcKDi7LKPkaxIH1VsudhX01XPzWvllb5TeRzf2 M= 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=fm3; bh=Is76hl cY80ND8P0AjN//loR33ug0XaI6ajCkefa1UFs=; b=OFtnslP3Gi7ABFZltXbh7e j6fqtDoKP8UxYPA6DnV2pJ+JOq494TtNZ3PPGv6a654UiWw0u/C2zbx+1VCL2ss2 TmrdhNFleW6h6AMLhqRzRY5Fpq0OtN+fZ6tz1I2rfLDJZj1dKVPZGk9Ty2ciyjau 8aNSX+PPVvWgnuRekNLCRMYakMKt67MRPOz+fB1wEIh2kcdWWelXEJf2Bf9A0kBr dXULlqBxepRcepoLxc1zhqaXfI43szgAb7qIFzz9IjL3qE0t+XA5wrU3bSaGVwed YvremRtZLdeMuwVkjYQQDvkYWto4pCmr8OKo33qZy4+1lGuJiXOUmYtmGHGj0JDg == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (unknown [207.232.18.42]) by mail.messagingengine.com (Postfix) with ESMTPA id A60751026E; Fri, 20 Jul 2018 05:18:40 -0400 (EDT) From: Thomas Monjalon To: Andrew Rybchenko Cc: dev@dpdk.org, =?ISO-8859-1?Q?Ga=EBtan?= Rivet Date: Fri, 20 Jul 2018 11:18:38 +0200 Message-ID: <306416492.6C37yTgp1t@xps> In-Reply-To: <20180718084221.kbryl4ej5rmdioom@bidouze.vm.6wind.com> References: <1531898610-19654-1-git-send-email-arybchenko@solarflare.com> <20180718084221.kbryl4ej5rmdioom@bidouze.vm.6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [dpdk-dev] [PATCH] devargs: fix devargs truncation when format string is used 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: Fri, 20 Jul 2018 09:18:44 -0000 18/07/2018 10:42, Ga=EBtan Rivet: > Hi, >=20 > On Wed, Jul 18, 2018 at 08:23:30AM +0100, Andrew Rybchenko wrote: > > Space for string terminating NUL character should be provided to > > snprintf() to avoid the last symbol truncation. > >=20 > > Fixes: a23bc2c4e01b ("devargs: add non-variadic parsing function") > >=20 > > Reported-by: Ivan Malov > > Signed-off-by: Andrew Rybchenko > Acked-by: Gaetan Rivet Applied, thanks