On Tue, Jun 8, 2021 at 12:27 PM Dumitrescu, Cristian <cristian.dumitre...@intel.com> wrote: > > Bitmap initialization function is allowed to memset() > > caller-provided buffer with number of bytes exceeded > > this buffer size. This happens due to wrong comparison > > sign between buffer size and number of bytes required > > to initialize bitmap. > > > > Fixes: 602c9ca33a4 ("sched: bitmap is now dynamically allocated") > > Cc: sta...@dpdk.org > > > > Reported-by: Andy Moreton <amore...@xilinx.com> > > Signed-off-by: Ivan Ilchenko <ivan.ilche...@oktetlabs.ru> > > Reviewed-by: Andy Moreton <amore...@xilinx.com> > > Signed-off-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> > Acked-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>
Applied, thanks. -- David Marchand