New Coverity Scan Report Available

2019-02-17 Thread Joel Sherrill
Hi It looks like the submission I did at the end of last week worked. There are some fixed issues and about 10 new issues. The new ones seem to be mostly in the RTL code and BSP code. FWIW looking through the over 100 outstanding, I see many that need to be reviewed by someone familiar with that

[PATCH] libdl/alloc: Add a locking interface to the allocator.

2019-02-17 Thread chrisj
From: Chris Johns - Allow an allocator to lock the allocations. This is needed to lock the heap allocator so the text and trampoline table are as close together as possible to allow for the largest possible object file size. - Update the default heap allocator to lock the heap allocator.

[PATCH 2/4] libdl/archive: Fix the config file string index while removing tailing white space.

2019-02-17 Thread chrisj
From: Chris Johns Coverity issue 1442540 Updates #3686 --- cpukit/include/rtems/rtl/rtl-archive.h | 2 +- cpukit/libdl/rtl-archive.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/rtl/rtl-archive.h b/cpukit/include/rtems/rtl/rtl-archiv

[PATCH 3/4] libdl/archive: Check for an overflow of the symbol table.

2019-02-17 Thread chrisj
From: Chris Johns Coverty 1442636 Updates #3686 --- cpukit/libdl/rtl-archive.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/cpukit/libdl/rtl-archive.c b/cpukit/libdl/rtl-archive.c index 8490b4bc07..77ad2b0d30 100644 --- a/cpukit/libdl/rtl-archive.c +++ b/

[PATCH 4/4] libdl/unresolved: Fix return value for rtems_rtl_unresolved_remove

2019-02-17 Thread chrisj
From: Chris Johns Coverity 1399717 Updates #3686 --- cpukit/libdl/rtl-unresolved.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libdl/rtl-unresolved.c b/cpukit/libdl/rtl-unresolved.c index 7ee572c351..dc21e9bcc1 100644 --- a/cpukit/libdl/rtl-unresolved.c +++ b/

[PATCH 1/4] libdl/archive: Return false on read failure.

2019-02-17 Thread chrisj
From: Chris Johns Coverity issue 1442641 Updates #3686 --- cpukit/libdl/rtl-archive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libdl/rtl-archive.c b/cpukit/libdl/rtl-archive.c index 07d40187e1..faa6616eb1 100644 --- a/cpukit/libdl/rtl-archive.c +++ b/cpukit/libdl/rtl-archive.c