[dpdk-stable] [dpdk-dev] [PATCH v2] app/test: fix sprintf with strlcat

Thomas Monjalon thomas at monjalon.net
Tue Apr 2 02:37:50 CEST 2019


13/03/2019 14:51, Aaron Conole:
> Pallantla Poornima <pallantlax.poornima at intel.com> writes:
> 
> > sprintf function is not secure as it doesn't check the length of string.
> > More secure function strlcat is used.
> >
> > Fixes: 727909c592 ("app/test: introduce dynamic commands list")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
> > ---
> > v2: Used strlcat to avoid buffer overflow.
> > ---
> 
> LGTM.
> 
> Reviewed-by: Aaron Conole <aconole at redhat.com>

Applied, thanks




More information about the stable mailing list