Newly introduced defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares__close_sockets.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares__threads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_destroy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_event_configchg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_event_select.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_event_thread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-252): [#def7]
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_event_wake_pipe.c: scope_hint: In function ‘ares_pipeevent_signal’
c-ares-1.31.0-build/c-ares-1.31.0/src/lib/ares_event_wake_pipe.c:120:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#  120 |   (void)write(p->filedes[1], "1", 1);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  118|   
#  119|     p = e->data;
#  120|->   (void)write(p->filedes[1], "1", 1);
#  121|   }
#  122|   

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-186.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namec-ares-1.25.0-3.fc40
diffbase-store-results-to/tmp/tmpo7f06vvm/c-ares-1.25.0-3.fc40.tar.xz
diffbase-time-created2024-07-03 12:06:47
diffbase-time-finished2024-07-03 12:08:28
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo7f06vvm/c-ares-1.25.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpo7f06vvm/c-ares-1.25.0-3.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-186.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namec-ares-1.31.0-1.fc41
store-results-to/tmp/tmpankimcjx/c-ares-1.31.0-1.fc41.tar.xz
time-created2024-07-03 12:08:49
time-finished2024-07-03 12:10:10
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpankimcjx/c-ares-1.31.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpankimcjx/c-ares-1.31.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9