[dpdk-dev] [PATCH] devargs: fix devargs truncation when format string is used
Thomas Monjalon
thomas at monjalon.net
Fri Jul 20 11:18:38 CEST 2018
18/07/2018 10:42, Gaëtan Rivet:
> Hi,
>
> On Wed, Jul 18, 2018 at 08:23:30AM +0100, Andrew Rybchenko wrote:
> > Space for string terminating NUL character should be provided to
> > snprintf() to avoid the last symbol truncation.
> >
> > Fixes: a23bc2c4e01b ("devargs: add non-variadic parsing function")
> >
> > Reported-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> > Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> Acked-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
Applied, thanks
More information about the dev
mailing list