Newly introduced defects

List of Defects

Error: COMPILER_WARNING (CWE-252): [#def1]
c-ares-1.28.1/src/lib/ares_event_wake_pipe.c: scope_hint: In function ‘ares_pipeevent_signal’
c-ares-1.28.1/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.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-71.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/tmp4h7re876/c-ares-1.25.0-3.fc40.tar.xz
diffbase-time-created2024-04-22 10:51:35
diffbase-time-finished2024-04-22 10:53:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4h7re876/c-ares-1.25.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp4h7re876/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-71.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namec-ares-1.28.1-1.fc41
store-results-to/tmp/tmpczrof_2z/c-ares-1.28.1-1.fc41.tar.xz
time-created2024-04-22 10:53:40
time-finished2024-04-22 10:55:03
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpczrof_2z/c-ares-1.28.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpczrof_2z/c-ares-1.28.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9