Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
coreutils-9.11/lib/regex_internal.c:951:3: warning[-Wanalyzer-malloc-leak]: leak of '*set.elems'
coreutils-9.11/lib/regexec.c:3187:1: enter_function: entry to 'check_arrival_expand_ecl_sub'
coreutils-9.11/lib/regexec.c:3191:27: branch_true: following 'true' branch...
coreutils-9.11/lib/regexec.c:3195:11: branch_true: ...to here
coreutils-9.11/lib/regexec.c:3195:10: branch_true: following 'true' branch...
coreutils-9.11/lib/regexec.c:3196:14: branch_true: ...to here
coreutils-9.11/lib/regexec.c:3195:11: branch_false: following 'false' branch...
coreutils-9.11/lib/regexec.c:3206:12: branch_false: ...to here
coreutils-9.11/lib/regexec.c:3206:12: call_function: calling 're_node_set_insert' from 'check_arrival_expand_ecl_sub'
coreutils-9.11/lib/regexec.c:3206:12: return_function: returning to 'check_arrival_expand_ecl_sub' from 're_node_set_insert'
coreutils-9.11/lib/regexec.c:3207:10: branch_false: following 'false' branch...
coreutils-9.11/lib/regexec.c:3209:11: branch_false: ...to here
coreutils-9.11/lib/regexec.c:3209:10: branch_false: following 'false' branch...
coreutils-9.11/lib/regexec.c:3211:10: branch_false: ...to here
coreutils-9.11/lib/regexec.c:3211:10: branch_true: following 'true' branch...
coreutils-9.11/lib/regexec.c:3215:47: branch_true: ...to here
coreutils-9.11/lib/regexec.c:3214:17: call_function: calling 'check_arrival_expand_ecl_sub' from 'check_arrival_expand_ecl_sub'
coreutils-9.11/lib/regexec.c:3214:17: return_function: returning to 'check_arrival_expand_ecl_sub' from 'check_arrival_expand_ecl_sub'
coreutils-9.11/lib/regexec.c:3217:14: branch_false: following 'false' branch...
coreutils-9.11/lib/regexec.c:3220:18: branch_false: ...to here
coreutils-9.11/lib/regexec.c:3191:28: call_function: calling 're_node_set_contains' from 'check_arrival_expand_ecl_sub'
coreutils-9.11/lib/regexec.c:3191:28: return_function: returning to 'check_arrival_expand_ecl_sub' from 're_node_set_contains'
coreutils-9.11/lib/regexec.c:3191:27: branch_true: following 'true' branch...
coreutils-9.11/lib/regexec.c:3195:11: branch_true: ...to here
coreutils-9.11/lib/regexec.c:3206:12: call_function: calling 're_node_set_insert' from 'check_arrival_expand_ecl_sub'
#  949|     set->alloc = 1;
#  950|     set->nelem = 1;
#  951|->   set->elems = re_malloc (Idx, 1);
#  952|     if (__glibc_unlikely (set->elems == NULL))
#  953|       {

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-218.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecoreutils-9.10-3.fc44
diffbase-store-results-to/tmp/tmporv159u5/coreutils-9.10-3.fc44.tar.xz
diffbase-time-created2026-04-28 14:54:46
diffbase-time-finished2026-04-28 15:10:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmporv159u5/coreutils-9.10-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmporv159u5/coreutils-9.10-3.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-218.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecoreutils-9.11-1.fc45
store-results-to/tmp/tmpocp34ot4/coreutils-9.11-1.fc45.tar.xz
time-created2026-04-28 15:11:32
time-finished2026-04-28 15:17:40
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpocp34ot4/coreutils-9.11-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpocp34ot4/coreutils-9.11-1.fc45.src.rpm'
tool-versioncsmock-3.8.5-1.el9