diff options
author | G S Niteesh Babu <niteesh.gs@gmail.com> | 2021-05-06 13:36:02 +0530 |
---|---|---|
committer | Vijay Kumar Banerjee <vijay@rtems.org> | 2021-05-06 16:44:38 -0600 |
commit | b391affc3604ba661a8f427db53a4027e4ed32f9 (patch) | |
tree | 2ffd02dc2a08b13492d095228a6a0151b8cb65ae /testsuites/validation/tc-barrier-create.c | |
parent | Return NULL for zero size allocations (diff) | |
download | rtems-b391affc3604ba661a8f427db53a4027e4ed32f9.tar.bz2 |
bsps/shared/ofw: Fix coverity defects
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.
Diffstat (limited to 'testsuites/validation/tc-barrier-create.c')
0 files changed, 0 insertions, 0 deletions