Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
tmux-3.6b/image.c: scope_hint: In function ‘image_free’
tmux-3.6b/image.c:33:26: warning[-Wunused-variable]: unused variable ‘s’
#   33 |         struct screen   *s = im->s;
#      |                          ^
#   31|   image_free(struct image *im)
#   32|   {
#   33|-> 	struct screen	*s = im->s;
#   34|   
#   35|   	TAILQ_REMOVE(&all_images, im, all_entry);

Error: COMPILER_WARNING (CWE-252): [#def2]
tmux-3.6b/spawn.c: scope_hint: In function ‘spawn_pane’
tmux-3.6b/spawn.c:404:25: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  404 |                         chdir("/");
#      |                         ^~~~~~~~~~
#  402|   		    chdir(path) != 0 &&
#  403|   		    (home == NULL || chdir(home) != 0))
#  404|-> 			chdir("/");
#  405|   		goto complete;
#  406|   	}

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.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-109.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nametmux-3.6a-1.fc44
diffbase-store-results-to/tmp/tmpl3zy7mpi/tmux-3.6a-1.fc44.tar.xz
diffbase-time-created2026-06-01 17:06:47
diffbase-time-finished2026-06-01 17:09:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpl3zy7mpi/tmux-3.6a-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpl3zy7mpi/tmux-3.6a-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-109.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nametmux-3.6b-1.fc45
store-results-to/tmp/tmpahq4563j/tmux-3.6b-1.fc45.tar.xz
time-created2026-06-01 17:09:32
time-finished2026-06-01 17:11:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpahq4563j/tmux-3.6b-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpahq4563j/tmux-3.6b-1.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9