Re: [PATCH] stm class: Fix out of bound access from bitmap allocation

From: Alexander Shishkin
Date: Tue Apr 16 2019 - 11:01:09 EST


Sai Prakash Ranjan <saiprakash.ranjan@xxxxxxxxxxxxxx> writes:

> From: Mulu He <muluhe@xxxxxxxxxxxxxx>
>
> Bitmap allocation works on array of unsigned longs and
> for stm master allocation when the number of software
> channels is 32, 4 bytes are allocated and there is a out of
> bound access at the first 8 bytes access of bitmap region.

Does the below fix the problem for you?