From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiwei Bie Subject: Re: [PATCH] vhost: fix sprintf with snprintf Date: Wed, 20 Feb 2019 10:20:00 +0800 Message-ID: <20190220022000.GA27316@dpdk-tbie.sh.intel.com> References: <1549265286-6217-1-git-send-email-pallantlax.poornima@intel.com> <5c1f6711-5094-6d45-2e73-76dbce406959@redhat.com> <7AE31235A30B41498D1C31348DC858BD5B534A5F@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Maxime Coquelin , "Poornima, PallantlaX" , "dev@dpdk.org" , "Pattan, Reshma" , "Wang, Zhihong" , "stable@dpdk.org" To: "Parthasarathy, JananeeX M" Return-path: Content-Disposition: inline In-Reply-To: <7AE31235A30B41498D1C31348DC858BD5B534A5F@IRSMSX103.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Feb 19, 2019 at 08:59:51PM +0800, Parthasarathy, JananeeX M wrote: > > >-----Original Message----- > >From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Maxime Coquelin > >Sent: Monday, February 04, 2019 3:02 PM > >To: Poornima, PallantlaX ; dev@dpdk.org > >Cc: Pattan, Reshma ; Bie, Tiwei > >; Wang, Zhihong ; > >stable@dpdk.org > >Subject: Re: [dpdk-dev] [PATCH] vhost: fix sprintf with snprintf > > > > > > > >On 2/4/19 8:28 AM, Pallantla Poornima wrote: > >> sprintf function is not secure as it doesn't check the length of string. > >> More secure function snprintf is used. > >> > >> Fixes: d7280c9fff ("vhost: support selective datapath") > >> Cc: stable@dpdk.org > >> > >> Signed-off-by: Pallantla Poornima > >> --- > >> lib/librte_vhost/vdpa.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > > > >Reviewed-by: Maxime Coquelin > > > >Thanks, > >Maxime > > Request for Ack please if there are no comments Maxime already did the review. It will be merged in this release. :) But anyway, Acked-by: Tiwei Bie Thanks for your contribution. > > Thanks > M.P.Jananee