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

2023-10-04 Thread David Marchand
On Fri, Jul 21, 2023 at 7:28 AM Gagandeep Singh 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.

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

2023-07-21 Thread Jerin Jacob
On Fri, Jul 21, 2023 at 4:18 PM Hemant Agrawal wrote: > > Acked-by: Hemant Agrawal Acked-by: Jerin Jacob > > On 21-Jul-23 10:58 AM, Gagandeep Singh wrote: > > Caution: This is an external email. Please take care when clicking links or > > opening attachments. When in doubt, report the messa

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

2023-07-21 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 21-Jul-23 10:58 AM, Gagandeep Singh wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button when RTE_ENABLE_ASSERT is enable, DPAA driver is doi

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

2023-07-20 Thread Gagandeep Singh
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 q