[dpdk-stable] [PATCH] app/testbbdev: fix sprintf with snprintf

Mokhtar, Amr amr.mokhtar at intel.com
Mon Feb 11 14:35:43 CET 2019


> -----Original Message-----
> From: Poornima, PallantlaX
> Sent: Monday 4 February 2019 07:16
> To: dev at dpdk.org
> Cc: Pattan, Reshma <reshma.pattan at intel.com>; Mokhtar, Amr
> <amr.mokhtar at intel.com>; Poornima, PallantlaX
> <pallantlax.poornima at intel.com>; stable at dpdk.org
> Subject: [PATCH] app/testbbdev: fix sprintf with snprintf
> 
> sprintf function is not secure as it doesn't check the length of string.
> More secure function snprintf is used.
> 
> Fixes: f714a18885 ("app/testbbdev: add test application for bbdev")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
> ---

Acked-by: Amr Mokhtar <amr.mokhtar at intel.com>



More information about the stable mailing list