Error: GCC_ANALYZER_WARNING (CWE-775): [#def1] evolution-data-server-3.59.1/iconv-detect.c:139:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/builddir/build/BUILD/evolution-data-server-3.59.1/redhat-linux-build/iconv-detect.h", "w")’ evolution-data-server-3.59.1/iconv-detect.c:127:12: branch_false: following ‘false’ branch... evolution-data-server-3.59.1/iconv-detect.c:130:14: branch_false: ...to here evolution-data-server-3.59.1/iconv-detect.c:130:14: acquire_resource: opened here evolution-data-server-3.59.1/iconv-detect.c:131:12: branch_false: following ‘false’ branch... evolution-data-server-3.59.1/iconv-detect.c:134:9: branch_false: ...to here evolution-data-server-3.59.1/iconv-detect.c:139:21: branch_true: following ‘true’ branch... evolution-data-server-3.59.1/iconv-detect.c:140:38: branch_true: ...to here evolution-data-server-3.59.1/iconv-detect.c:140:22: throw: if ‘iconv_open’ throws an exception... evolution-data-server-3.59.1/iconv-detect.c:139:21: danger: ‘fopen("/builddir/build/BUILD/evolution-data-server-3.59.1/redhat-linux-build/iconv-detect.h", "w")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) # 137| info = iso8859_tests; # 138| /*printf ("#define DEFAULT_ISO_FORMAT(iso,codepage)\t");*/ # 139|-> for (i = 0; i < num_iso8859_tests; i++) { # 140| cd = iconv_open (info[i].charset, "UTF-8"); # 141| if (cd != (iconv_t) -1) { Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] evolution-data-server-3.59.1/iconv-detect.c:139:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/builddir/build/BUILD/evolution-data-server-3.59.1/redhat-linux-build/iconv-detect.h", "w")’ evolution-data-server-3.59.1/iconv-detect.c:127:12: branch_false: following ‘false’ branch... evolution-data-server-3.59.1/iconv-detect.c:130:14: branch_false: ...to here evolution-data-server-3.59.1/iconv-detect.c:130:14: acquire_memory: allocated here evolution-data-server-3.59.1/iconv-detect.c:131:12: branch_false: following ‘false’ branch... evolution-data-server-3.59.1/iconv-detect.c:134:9: branch_false: ...to here evolution-data-server-3.59.1/iconv-detect.c:139:21: branch_true: following ‘true’ branch... evolution-data-server-3.59.1/iconv-detect.c:140:38: branch_true: ...to here evolution-data-server-3.59.1/iconv-detect.c:140:22: throw: if ‘iconv_open’ throws an exception... evolution-data-server-3.59.1/iconv-detect.c:139:21: danger: ‘fopen("/builddir/build/BUILD/evolution-data-server-3.59.1/redhat-linux-build/iconv-detect.h", "w")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2) # 137| info = iso8859_tests; # 138| /*printf ("#define DEFAULT_ISO_FORMAT(iso,codepage)\t");*/ # 139|-> for (i = 0; i < num_iso8859_tests; i++) { # 140| cd = iconv_open (info[i].charset, "UTF-8"); # 141| if (cd != (iconv_t) -1) {
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| 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-124.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.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | evolution-data-server-3.58.0-1.fc43 |
| diffbase-store-results-to | /tmp/tmph6r4eplz/evolution-data-server-3.58.0-1.fc43.tar.xz |
| diffbase-time-created | 2026-01-08 16:02:36 |
| diffbase-time-finished | 2026-01-08 16:16:05 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmph6r4eplz/evolution-data-server-3.58.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmph6r4eplz/evolution-data-server-3.58.0-1.fc43.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-124.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | evolution-data-server-3.59.1-1.fc44 |
| store-results-to | /tmp/tmp73wl1e9z/evolution-data-server-3.59.1-1.fc44.tar.xz |
| time-created | 2026-01-08 16:17:00 |
| time-finished | 2026-01-08 16:30:00 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp73wl1e9z/evolution-data-server-3.59.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp73wl1e9z/evolution-data-server-3.59.1-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |