Re: [dpdk-dev] [PATCH] event/opdl: fix sprintf with snprintf

2019-03-12 Thread Jerin Jacob Kollanukkaran
On Mon, 2019-03-11 at 13:52 +, Jerin Jacob Kollanukkaran wrote: > On Mon, 2019-03-11 at 06:51 +, Jerin Jacob Kollanukkaran wrote: > > On Mon, 2019-02-04 at 07:18 +, Pallantla Poornima wrote: > > > %'16"PRIu64" %s " > > > diff --git a/drivers/event/opdl/opdl_evdev_xstats.c > > > b/driver

Re: [dpdk-dev] [PATCH] event/opdl: fix sprintf with snprintf

2019-03-11 Thread Jerin Jacob Kollanukkaran
On Mon, 2019-03-11 at 06:51 +, Jerin Jacob Kollanukkaran wrote: > On Mon, 2019-02-04 at 07:18 +, Pallantla Poornima wrote: > > > > %'16"PRIu64" %s " > > diff --git a/drivers/event/opdl/opdl_evdev_xstats.c > > b/drivers/event/opdl/opdl_evdev_xstats.c > > index 0e6c6bd5e..27b3d8802 100644 >

Re: [dpdk-dev] [PATCH] event/opdl: fix sprintf with snprintf

2019-03-10 Thread Jerin Jacob Kollanukkaran
On Mon, 2019-02-04 at 07:18 +, Pallantla Poornima wrote: > sprintf function is not secure as it doesn't check the length of > string. > More secure function snprintf is used. > > Fixes: 3c7f3dcfb0 ("event/opdl: add PMD main body and helper > function") > Cc: sta...@dpdk.org > > Signed-off-by:

[dpdk-dev] [PATCH] event/opdl: fix sprintf with snprintf

2019-02-03 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. More secure function snprintf is used. Fixes: 3c7f3dcfb0 ("event/opdl: add PMD main body and helper function") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- drivers/event/opdl/opdl_evdev.c| 7 --- d