[dpdk-dev] [PATCH] app/test: fix +/-1 error in allocation

Thomas Monjalon thomas.monjalon at 6wind.com
Wed May 25 10:35:48 CEST 2016


2016-05-04 10:15, David Marchand:
> On Tue, May 3, 2016 at 9:15 PM, Jan Viktorin <viktorin at rehivetech.com> wrote:
> > A bug has been detected by valgrind:
[...]
> >  strlen(t->command) + strlen("#") + ONE_FOR_ZERO
> >
> > Fixes: 727909c59231 ("app/test: introduce dynamic commands list")
> >
> > Signed-off-by: Jan Viktorin <viktorin at rehivetech.com>
> 
> Good catch.
> Acked-by: David Marchand <david.marchand at 6wind.com>

Applied, thanks


More information about the dev mailing list