Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Niteesh G. S.
On Fri, May 7, 2021 at 4:16 AM Vijay Kumar Banerjee wrote: > On Thu, May 6, 2021 at 10:57 AM Gedare Bloom wrote: > > > > ok, Vijay please push > > Pushed. Thanks. > Thanks for pushing. > > > > > On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu > wrote: > > > > > > This patch adds asserts to

Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Vijay Kumar Banerjee
On Thu, May 6, 2021 at 10:57 AM Gedare Bloom wrote: > > ok, Vijay please push Pushed. Thanks. > > On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu wrote: > > > > This patch adds asserts to fix coverity defects > > 1) CID 1474437 (Out-of-bounds access) > > 2) CID 1474436 (Out-of-bounds access) >

Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Gedare Bloom
ok, Vijay please push On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu wrote: > > This patch adds asserts to fix coverity defects > 1) CID 1474437 (Out-of-bounds access) > 2) CID 1474436 (Out-of-bounds access) > > From manual inspection, out of bounds access cannot occur due to > bounds checking

[PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread G S Niteesh Babu
This patch adds asserts to fix coverity defects 1) CID 1474437 (Out-of-bounds access) 2) CID 1474436 (Out-of-bounds access) >From manual inspection, out of bounds access cannot occur due to bounds checking but coverity fails to detect the checks. We are adding asserts as a secondary check. ---