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

2021-05-01 Thread Niteesh G. S.
On Thu, Apr 29, 2021 at 9:25 PM Gedare Bloom wrote: > On Wed, Apr 28, 2021 at 9:04 PM Niteesh G. S. > wrote: > > > > > > > > On Thu, Apr 29, 2021 at 12:50 AM Gedare Bloom wrote: > >> > >> On Wed, Apr 28, 2021 at 11:30 AM G S Niteesh Babu > wrote: > >> > > >> > This patch adds asserts to fix co

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

2021-04-29 Thread Gedare Bloom
On Wed, Apr 28, 2021 at 9:04 PM Niteesh G. S. wrote: > > > > On Thu, Apr 29, 2021 at 12:50 AM Gedare Bloom wrote: >> >> On Wed, Apr 28, 2021 at 11:30 AM G S Niteesh Babu >> wrote: >> > >> > This patch adds asserts to fix coverity defects >> > 1) CID 1474437 (Out-of-bounds access) >> > 2) CID 14

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

2021-04-28 Thread Niteesh G. S.
On Thu, Apr 29, 2021 at 12:50 AM Gedare Bloom wrote: > On Wed, Apr 28, 2021 at 11:30 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 bou

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

2021-04-28 Thread Gedare Bloom
On Wed, Apr 28, 2021 at 11:30 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 but coverity fails to

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

2021-04-28 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. --- bs