Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
conmon-2.2.1/src/conn_sock.c: scope_hint: In function ‘bind_unix_socket’
conmon-2.2.1/src/conn_sock.c:234:45: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
conmon-2.2.1/src/conn_sock.h:4: included_from: Included from here.
conmon-2.2.1/src/conn_sock.c:3: included_from: Included from here.
conmon-2.2.1/src/conn_sock.c:277:24: note: in expansion of macro ‘g_strdup’
conmon-2.2.1/src/conn_sock.c:277:24: note: in expansion of macro ‘g_strdup’
conmon-2.2.1/src/conn_sock.c: scope_hint: In function ‘bind_unix_socket’
/usr/include/glib-2.0/glib-unix.h:34: included_from: Included from here.
conmon-2.2.1/src/utils.h:11: included_from: Included from here.
conmon-2.2.1/src/conn_sock.c:6: included_from: Included from here.
/usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null
#  232|   	 * to actually refer to the file where the socket will be created below.
#  233|   	 */
#  234|-> 	_cleanup_close_ int parent_dir_fd = open(parent_dir, O_PATH | O_CLOEXEC);
#  235|   	if (parent_dir_fd < 0)
#  236|   		pexitf("failed to open socket path parent dir %s", parent_dir);

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-11.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameconmon-2.2.1-1.20260825072137964545.main.115.g8398777
diffbase-store-results-to/tmp/tmp8fd3lqs_/conmon-2.2.1-1.20260825072137964545.main.115.g8398777.tar.xz
diffbase-time-created2026-08-26 00:32:27
diffbase-time-finished2026-08-26 00:34:25
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp8fd3lqs_/conmon-2.2.1-1.20260825072137964545.main.115.g8398777.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8fd3lqs_/conmon-2.2.1-1.20260825072137964545.main.115.g8398777.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-11.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameconmon-2.2.1-1.20260826002659219513.pr690.124.g0dd5467
store-results-to/tmp/tmpqxkuv1zw/conmon-2.2.1-1.20260826002659219513.pr690.124.g0dd5467.tar.xz
time-created2026-08-26 00:34:54
time-finished2026-08-26 00:35:54
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpqxkuv1zw/conmon-2.2.1-1.20260826002659219513.pr690.124.g0dd5467.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpqxkuv1zw/conmon-2.2.1-1.20260826002659219513.pr690.124.g0dd5467.src.rpm'
tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9