Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] jemalloc-5.4.0/include/jemalloc/internal/arena_inlines.h:27:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ jemalloc-5.4.0/src/arenas_management.c: scope_hint: In function ‘arena_choose_hard’ jemalloc-5.4.0/include/jemalloc/internal/arena_inlines.h:11: included_from: Included from here. jemalloc-5.4.0/src/arenas_management.c: scope_hint: In function ‘arena_choose_hard’ jemalloc-5.4.0/src/arenas_management.c: scope_hint: In function ‘arena_choose_hard’ # 25| static inline unsigned # 26| arena_ind_get(const arena_t *arena) { # 27|-> return arena->ind; # 28| } # 29| Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] jemalloc-5.4.0/include/jemalloc/internal/arena_inlines.h:27:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ret’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/include/jemalloc/internal/emap.h:366:9: note: in expansion of macro ‘util_assume’ jemalloc-5.4.0/include/jemalloc/internal/san.h:6: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/ecache.h:7: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/pa.h:7: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/arena_stats.h:9: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/include/jemalloc/internal/mutex.h:8: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/lockedint.h:6: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/arena_stats.h:6: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/tsd_internals.h:90:9: note: in expansion of macro ‘O’ jemalloc-5.4.0/include/jemalloc/internal/tsd.h:52:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.4.0/include/jemalloc/internal/tsd_internals.h:90:9: note: in expansion of macro ‘O’ jemalloc-5.4.0/include/jemalloc/internal/tsd.h:30:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ # 25| static inline unsigned # 26| arena_ind_get(const arena_t *arena) { # 27|-> return arena->ind; # 28| } # 29| Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] jemalloc-5.4.0/include/jemalloc/internal/thread_event.h:113:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/emap.h:230:9: note: in expansion of macro ‘EMAP_DECLARE_RTREE_CTX’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/emap.h:262:9: note: in expansion of macro ‘EMAP_DECLARE_RTREE_CTX’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/util.h:52:48: note: in definition of macro ‘unlikely’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/thread_event.h: scope_hint: In function ‘xallocx’ # 111| JEMALLOC_ALWAYS_INLINE uint64_t # 112| te_ctx_current_bytes_get(te_ctx_t *ctx) { # 113|-> return *ctx->current; # 114| } # 115| Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] jemalloc-5.4.0/include/jemalloc/internal/tsd_internals.h:214:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ jemalloc-5.4.0/include/jemalloc/internal/jemalloc_preamble.h:27: included_from: Included from here. jemalloc-5.4.0/src/jemalloc.c:1: included_from: Included from here. jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/san.h:6: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/ecache.h:7: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/pa.h:7: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/arena_stats.h:9: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/emap.h:230:9: note: in expansion of macro ‘EMAP_DECLARE_RTREE_CTX’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/emap.h:262:9: note: in expansion of macro ‘EMAP_DECLARE_RTREE_CTX’ jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/assert.h:3: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/atomic_gcc_atomic.h:5: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/atomic.h:8: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/arena_stats.h:5: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/util.h:52:48: note: in definition of macro ‘unlikely’ jemalloc-5.4.0/src/jemalloc.c:22: included_from: Included from here. jemalloc-5.4.0/include/jemalloc/internal/arena_inlines.h:223:20: note: in expansion of macro ‘unlikely’ jemalloc-5.4.0/include/jemalloc/internal/jemalloc_internal_inlines_c.h:6: included_from: Included from here. jemalloc-5.4.0/src/jemalloc.c:15: included_from: Included from here. jemalloc-5.4.0/src/jemalloc.c: scope_hint: In function ‘xallocx’ jemalloc-5.4.0/include/jemalloc/internal/util.h:52:48: note: in definition of macro ‘unlikely’ # 212| JEMALLOC_ALWAYS_INLINE uint8_t # 213| tsd_state_get(tsd_t *tsd) { # 214|-> return tsd->state; # 215| } # 216| Error: GCC_ANALYZER_WARNING (CWE-457): [#def5] jemalloc-5.4.0/src/arena.c:1039:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.edata’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/include/jemalloc/internal/jemalloc_internal_types.h:131:62: note: in definition of macro ‘VARIABLE_ARRAY_UNSAFE’ jemalloc-5.4.0/src/arena.c:1252:9: note: in expansion of macro ‘VARIABLE_ARRAY’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/include/jemalloc/internal/emap.h:366:9: note: in expansion of macro ‘util_assume’ jemalloc-5.4.0/include/jemalloc/internal/emap.h: scope_hint: In function ‘arena_ptr_array_flush’ jemalloc-5.4.0/include/jemalloc/internal/tsd_internals.h:90:9: note: in expansion of macro ‘O’ jemalloc-5.4.0/include/jemalloc/internal/tsd.h:52:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.4.0/include/jemalloc/internal/tsd_internals.h:90:9: note: in expansion of macro ‘O’ jemalloc-5.4.0/include/jemalloc/internal/tsd.h:30:1: note: in expansion of macro ‘TSD_DATA_SLOW’ jemalloc-5.4.0/src/arena.c: scope_hint: In function ‘arena_ptr_array_flush’ # 1037| unsigned prev_flush_start = flush_start; # 1038| # 1039|-> edata_t *cur_edata = item_edata[flush_start].edata; # 1040| unsigned cur_arena_ind = edata_arena_ind_get(cur_edata); # 1041| arena_t *cur_arena = arena_get(tsdn, cur_arena_ind, false);
| 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-171.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.202609181747gita1ba34a60-main |
| diffbase-store-results-to | /tmp/tmptmbj58oz/389-ds-base-3.4.0.202609181747gita1ba34a60-main.tar.xz |
| diffbase-time-created | 2026-09-21 19:04:13 |
| diffbase-time-finished | 2026-09-21 19:18:46 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-5d54fbfc-ae44-49a8-a5a3-b0c4d642216b' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmptmbj58oz/389-ds-base-3.4.0.202609181747gita1ba34a60-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmptmbj58oz/389-ds-base-3.4.0.202609181747gita1ba34a60-main.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260921.142331.gab3a308-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-171.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.202609211851gitaecf418ea-pr7875 |
| store-results-to | /tmp/tmptax4t65s/389-ds-base-3.4.0.202609211851gitaecf418ea-pr7875.tar.xz |
| time-created | 2026-09-21 19:19:27 |
| time-finished | 2026-09-21 19:31:37 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-d8f3d8f7-b2c3-4f26-ad81-c95373f2f3a8' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmptax4t65s/389-ds-base-3.4.0.202609211851gitaecf418ea-pr7875.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmptax4t65s/389-ds-base-3.4.0.202609211851gitaecf418ea-pr7875.src.rpm' |
| tool-version | csmock-3.8.7.20260921.142331.gab3a308-1.el9 |