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| {
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.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-218.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.20260420.180315.gd39a405.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | coreutils-9.10-3.fc44 |
| diffbase-store-results-to | /tmp/tmporv159u5/coreutils-9.10-3.fc44.tar.xz |
| diffbase-time-created | 2026-04-28 14:54:46 |
| diffbase-time-finished | 2026-04-28 15:10:36 |
| diffbase-tool | csmock |
| 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-version | csmock-3.8.5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-218.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.20260420.180315.gd39a405.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | coreutils-9.11-1.fc45 |
| store-results-to | /tmp/tmpocp34ot4/coreutils-9.11-1.fc45.tar.xz |
| time-created | 2026-04-28 15:11:32 |
| time-finished | 2026-04-28 15:17:40 |
| title | Newly introduced findings |
| tool | csmock |
| 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-version | csmock-3.8.5-1.el9 |