catatonit-0.2.1-2.fc43

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
catatonit-0.2.1/catatonit.c: scope_hint: In function ‘main’
catatonit-0.2.1/catatonit.c:521:16: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  521 |         (void) chdir("/");
#      |                ^~~~~~~~~~
#  519|   	 * don't care about the cwd anyway.
#  520|   	 */
#  521|-> 	(void) chdir("/");
#  522|   
#  523|   	if (close_fds_ge_than(3, sfd) < 0)

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-247.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecatatonit-0.2.1-2.fc43
store-results-to/tmp/tmpybrq0tkl/catatonit-0.2.1-2.fc43.tar.xz
time-created2025-04-25 12:10:33
time-finished2025-04-25 12:11:45
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpybrq0tkl/catatonit-0.2.1-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpybrq0tkl/catatonit-0.2.1-2.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9