On Tue, Jun 8, 2021 at 12:27 PM Dumitrescu, Cristian <[email protected]> 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: [email protected] > > > > Reported-by: Andy Moreton <[email protected]> > > Signed-off-by: Ivan Ilchenko <[email protected]> > > Reviewed-by: Andy Moreton <[email protected]> > > Signed-off-by: Andrew Rybchenko <[email protected]> > Acked-by: Cristian Dumitrescu <[email protected]>
Applied, thanks. -- David Marchand

