On Thu, 23 Jul 2026 at 08:01, Bernhard Beschow <[email protected]> wrote:
>
> Calculate mailbox indices from the `mbs[]` array layout instead of the
> oversized raw `mb[]` view. This prevents accessing mailbox entries beyond
> the valid array range and fixes Coverity CID 1662974.
>
> Reported-by: Peter Maydell <[email protected]>
> Signed-off-by: Bernhard Beschow <[email protected]>
> ---
>  hw/net/can/flexcan.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to