Error: GCC_ANALYZER_WARNING (CWE-457): [#def1] jemalloc-5.3.0/include/jemalloc/internal/emap.h:340:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.rtree_leaf’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:344:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:323:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/include/jemalloc/internal/tcache_structs.h:4: included_from: Included from here. jemalloc-5.3.0/include/jemalloc/internal/tsd.h:14: included_from: Included from here. jemalloc-5.3.0/src/tcache.c:567:9: note: in expansion of macro ‘CACHE_BIN_PTR_ARRAY_DECLARE’ jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_types.h:127:50: note: in definition of macro ‘VARIABLE_ARRAY’ jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_types.h:127:50: note: in definition of macro ‘VARIABLE_ARRAY’ jemalloc-5.3.0/src/tcache.c: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘tcache_bin_flush_edatas_lookup’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:344:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:89:5: note: in expansion of macro ‘O’ jemalloc-5.3.0/include/jemalloc/internal/tsd.h:323:1: note: in expansion of macro ‘TSD_DATA_SLOW’ # 338| # 339| for (size_t i = 0; i < nptrs; i++) { # 340|-> rtree_leaf_elm_t *elm = result[i].rtree_leaf; # 341| rtree_contents_t contents = rtree_leaf_elm_read(tsd_tsdn(tsd), # 342| &emap->rtree, elm, /* dependent */ true); Error: CPPCHECK_WARNING (CWE-786): [#def2] jemalloc-5.3.0/include/jemalloc/internal/rtree.h:404: error[negativeIndex]: Array 'rtree_ctx->l2_cache[8]' accessed at index -1, which is out of bounds. # 402| } while (0) # 403| /* Check the first cache entry. */ # 404|-> RTREE_CACHE_CHECK_L2(0); # 405| /* Search the remaining cache elements. */ # 406| for (unsigned i = 1; i < RTREE_CTX_NCACHE_L2; i++) { Error: GCC_ANALYZER_WARNING (CWE-457): [#def3] jemalloc-5.3.0/src/hook.c:7: included_from: Included from here. jemalloc-5.3.0/src/hook.c: scope_hint: In function ‘seq_store_hooks’ jemalloc-5.3.0/include/jemalloc/internal/seq.h:30:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buf[i]’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/include/jemalloc/internal/jemalloc_internal_decls.h:66: included_from: Included from here. jemalloc-5.3.0/include/jemalloc/internal/jemalloc_preamble.h:5: included_from: Included from here. jemalloc-5.3.0/src/hook.c:1: included_from: Included from here. jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ # 28| atomic_fence(ATOMIC_RELEASE); \ # 29| for (size_t i = 0; i < sizeof(buf) / sizeof(size_t); i++) { \ # 30|-> atomic_store_zu(&dst->data[i], buf[i], ATOMIC_RELAXED); \ # 31| } \ # 32| atomic_store_zu(&dst->seq, old_seq + 2, ATOMIC_RELEASE); \ Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] jemalloc-5.3.0/src/extent.c: scope_hint: In function ‘extent_try_coalesce_impl’ jemalloc-5.3.0/src/extent.c:869:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘coalesced’ jemalloc-5.3.0/src/extent.c: scope_hint: In function ‘extent_try_coalesce_impl’ # 867| # 868| if (ecache->delay_coalesce) { # 869|-> *coalesced = false; # 870| } # 871| return edata; Error: GCC_ANALYZER_WARNING (CWE-457): [#def5] jemalloc-5.3.0/src/hook.c: scope_hint: In function ‘hook_install_locked’ jemalloc-5.3.0/src/hook.c:34:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hooks_internal.in_use’ jemalloc-5.3.0/src/hook.c:6: included_from: Included from here. jemalloc-5.3.0/include/jemalloc/internal/mutex.h: scope_hint: In function ‘hook_install_locked’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ jemalloc-5.3.0/src/hook.c:15:1: note: in expansion of macro ‘seq_define’ # 32| /* We hold mu; no concurrent access. */ # 33| assert(success); # 34|-> if (!hooks_internal.in_use) { # 35| hooks_internal.hooks = *to_install; # 36| hooks_internal.in_use = true; Error: CPPCHECK_WARNING (CWE-398): [#def6] jemalloc-5.3.0/src/jemalloc_cpp.cpp:102: error[throwInNoexceptFunction]: Unhandled exception thrown in function declared not to throw exceptions. # 100| return ptr; # 101| } # 102|-> return handleOOM(size, IsNoExcept); # 103| } # 104| Error: CPPCHECK_WARNING (CWE-476): [#def7] jemalloc-5.3.0/src/prof_data.c:70: error[ctunullpointer]: Null pointer dereference: a # 68| static int # 69| prof_tctx_comp(const prof_tctx_t *a, const prof_tctx_t *b) { # 70|-> uint64_t a_thr_uid = a->thr_uid; # 71| uint64_t b_thr_uid = b->thr_uid; # 72| int ret = (a_thr_uid > b_thr_uid) - (a_thr_uid < b_thr_uid); Error: CPPCHECK_WARNING (CWE-476): [#def8] jemalloc-5.3.0/src/prof_data.c:88: error[ctunullpointer]: Null pointer dereference: node # 86| } # 87| # 88|-> rb_gen(static UNUSED, tctx_tree_, prof_tctx_tree_t, prof_tctx_t, # 89| tctx_link, prof_tctx_comp) # 90| Error: CPPCHECK_WARNING (CWE-476): [#def9] jemalloc-5.3.0/src/prof_data.c:93: error[ctunullpointer]: Null pointer dereference: a # 91| static int # 92| prof_gctx_comp(const prof_gctx_t *a, const prof_gctx_t *b) { # 93|-> unsigned a_len = a->bt.len; # 94| unsigned b_len = b->bt.len; # 95| unsigned comp_len = (a_len < b_len) ? a_len : b_len; Error: CPPCHECK_WARNING (CWE-476): [#def10] jemalloc-5.3.0/src/prof_data.c:103: error[ctunullpointer]: Null pointer dereference: node # 101| } # 102| # 103|-> rb_gen(static UNUSED, gctx_tree_, prof_gctx_tree_t, prof_gctx_t, dump_link, # 104| prof_gctx_comp) # 105| Error: CPPCHECK_WARNING (CWE-476): [#def11] jemalloc-5.3.0/src/prof_data.c:109: error[ctunullpointer]: Null pointer dereference: a # 107| prof_tdata_comp(const prof_tdata_t *a, const prof_tdata_t *b) { # 108| int ret; # 109|-> uint64_t a_uid = a->thr_uid; # 110| uint64_t b_uid = b->thr_uid; # 111| Error: CPPCHECK_WARNING (CWE-476): [#def12] jemalloc-5.3.0/src/prof_data.c:122: error[ctunullpointer]: Null pointer dereference: node # 120| } # 121| # 122|-> rb_gen(static UNUSED, tdata_tree_, prof_tdata_tree_t, prof_tdata_t, tdata_link, # 123| prof_tdata_comp) # 124|
| analyzer-version-clippy | 1.98.1 |
| analyzer-version-cppcheck | 2.22.0 |
| analyzer-version-gcc | 16.2.1 |
| analyzer-version-gcc-analyzer | 16.2.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.98.1 |
| diffbase-analyzer-version-cppcheck | 2.22.0 |
| diffbase-analyzer-version-gcc | 16.2.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.2.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-144.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | 389-ds-base-3.4.0.202609211201git67baf422a-pr7875 |
| diffbase-store-results-to | /tmp/tmplcoy9tmd/389-ds-base-3.4.0.202609211201git67baf422a-pr7875.tar.xz |
| diffbase-time-created | 2026-09-21 12:30:41 |
| diffbase-time-finished | 2026-09-21 12:43:42 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-45d57061-9f57-4077-a8f3-aba75a838664' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmplcoy9tmd/389-ds-base-3.4.0.202609211201git67baf422a-pr7875.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmplcoy9tmd/389-ds-base-3.4.0.202609211201git67baf422a-pr7875.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260914.142338.gbd0b33d-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-144.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | 389-ds-base-3.4.0.202609181747gita1ba34a60-main |
| store-results-to | /tmp/tmp4939raat/389-ds-base-3.4.0.202609181747gita1ba34a60-main.tar.xz |
| time-created | 2026-09-21 12:14:40 |
| time-finished | 2026-09-21 12:30:14 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-5282c352-9e0b-4497-88ba-db0e40b68122' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp4939raat/389-ds-base-3.4.0.202609181747gita1ba34a60-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp4939raat/389-ds-base-3.4.0.202609181747gita1ba34a60-main.src.rpm' |
| tool-version | csmock-3.8.7.20260914.142338.gbd0b33d-1.el9 |