[dpdk-dev] [PATCH v2] test/distributor: fix sprintf with strlcpy

Thomas Monjalon thomas at monjalon.net
Fri Apr 5 01:55:08 CEST 2019


25/03/2019 16:11, Hunt, David:
> On 14/2/2019 9:45 AM, Pallantla Poornima wrote:
> > sprintf function is not secure as it doesn't check the length of string.
> > replaced sprintf with strlcpy.
> >
> > Fixes: f74df2c57e ("test/distributor: test single and burst API")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
> > ---
> > v2: Addressed review comment to replace snprintf to strlcpy.
> > ---
> 
> Acked-by: David Hunt <david.hunt at intel.com>

Applied, thanks




More information about the dev mailing list