Error: COMPILER_WARNING (CWE-1164): [#def1] audit-userspace-4.2.1/audisp/plugins/remote/remote-config.c:809:12: warning[-Wunused-function]: ‘tls_path_parser’ defined but not used # 809 | static int tls_path_parser(struct nv_pair *nv, int line, const char **dest) # | ^~~~~~~~~~~~~~~ # 807| } # 808| # 809|-> static int tls_path_parser(struct nv_pair *nv, int line, const char **dest) # 810| { # 811| #ifndef HAVE_TLS Error: COMPILER_WARNING (CWE-1164): [#def2] audit-userspace-4.2.1/audisp/plugins/remote/remote-config.c:842:12: warning[-Wunused-function]: ‘tls_string_parser’ defined but not used # 842 | static int tls_string_parser(struct nv_pair *nv, int line, const char **dest) # | ^~~~~~~~~~~~~~~~~ # 840| } # 841| # 842|-> static int tls_string_parser(struct nv_pair *nv, int line, const char **dest) # 843| { # 844| #ifndef HAVE_TLS Error: COMPILER_WARNING (CWE-1164): [#def3] audit-userspace-4.2.1/src/auditd-config.c:1830:12: warning[-Wunused-function]: ‘tls_path_parser_s’ defined but not used # 1830 | static int tls_path_parser_s(const struct nv_pair *nv, int line, # | ^~~~~~~~~~~~~~~~~ # 1828| } # 1829| # 1830|-> static int tls_path_parser_s(const struct nv_pair *nv, int line, # 1831| const char **dest) # 1832| { Error: COMPILER_WARNING (CWE-1164): [#def4] audit-userspace-4.2.1/src/auditd-config.c:1851:12: warning[-Wunused-function]: ‘tls_string_parser_s’ defined but not used # 1851 | static int tls_string_parser_s(const struct nv_pair *nv, int line, # | ^~~~~~~~~~~~~~~~~~~ # 1849| } # 1850| # 1851|-> static int tls_string_parser_s(const struct nv_pair *nv, int line, # 1852| const char **dest) # 1853| { Error: GCC_ANALYZER_WARNING (CWE-775): [#def5] audit-userspace-4.2.1/src/auditd-sendmail.c:103:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pipe_fd[0], 0)’ audit-userspace-4.2.1/src/auditd-sendmail.c:80:12: branch_false: following ‘false’ branch... audit-userspace-4.2.1/src/auditd-sendmail.c:86:16: branch_false: ...to here audit-userspace-4.2.1/src/auditd-sendmail.c:87:12: branch_false: following ‘false’ branch... audit-userspace-4.2.1/src/auditd-sendmail.c:94:12: branch_false: ...to here audit-userspace-4.2.1/src/auditd-sendmail.c:94:12: branch_false: following ‘false’ branch... audit-userspace-4.2.1/src/auditd-sendmail.c:99:9: branch_false: ...to here audit-userspace-4.2.1/src/auditd-sendmail.c:103:13: acquire_resource: opened here audit-userspace-4.2.1/src/auditd-sendmail.c:103:12: danger: ‘dup2(pipe_fd[0], 0)’ leaks here; was opened at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7) # 101| # 102| close(pipe_fd[1]); // adjust pipe # 103|-> if (dup2(pipe_fd[0], STDIN_FILENO) < 0) { # 104| close(pipe_fd[0]); # 105| audit_msg(LOG_ALERT,
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.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-150.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | audit-4.1.4-1.fc44 |
| diffbase-store-results-to | /tmp/tmpj68xplob/audit-4.1.4-1.fc44.tar.xz |
| diffbase-time-created | 2026-08-03 13:21:26 |
| diffbase-time-finished | 2026-08-03 13:24:58 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpj68xplob/audit-4.1.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpj68xplob/audit-4.1.4-1.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.HEAD-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-150.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | audit-4.2.1-1.fc45 |
| store-results-to | /tmp/tmphwq2bpar/audit-4.2.1-1.fc45.tar.xz |
| time-created | 2026-08-03 13:25:12 |
| time-finished | 2026-08-03 13:27:58 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmphwq2bpar/audit-4.2.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphwq2bpar/audit-4.2.1-1.fc45.src.rpm' |
| tool-version | csmock-3.8.7.HEAD-1.el9 |