[PATCH] bus/dpaa: fix outside array bounds error with GCC v13

David Marchand david.marchand at redhat.com
Wed Oct 4 14:28:35 CEST 2023


On Fri, Jul 21, 2023 at 7:28 AM Gagandeep Singh <g.singh at nxp.com> wrote:
>
> when RTE_ENABLE_ASSERT is enable, DPAA driver is doing
> wrong NULL check on frame queue which allows the code
> to have access to NULL address.
> GCC v13 is giving array bounds error if code is
> accessing any memory region less than 4KB.
> This patch fixes this issue by adding proper NULL checks
> on frame queue.
>
> Bugzilla ID: 1233
> Fixes: c47ff048b99a ("bus/dpaa: add QMAN driver core routines")
> Cc: stable at dpdk.org
>
> Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> Acked-by: Jerin Jacob <jerinj at marvell.com>

Applied, thanks.


-- 
David Marchand



More information about the stable mailing list