> -Original Message-
> From: Andrew Rybchenko
> Sent: Wednesday, June 2, 2021 10:49 AM
> To: Dumitrescu, Cristian
> Cc: dev@dpdk.org; Ivan Ilchenko ;
> sta...@dpdk.org; Andy Moreton
> Subject: [PATCH v2] bitmap: fix buffer overrun in bitmap init function
>
> From: Ivan Ilchenko
>
>
From: Ivan Ilchenko
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
2 matches
Mail list logo