xhost-1.0.9-7.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
xhost-1.0.9-build/xhost-1.0.9/xhost.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
xhost-1.0.9-build/xhost-1.0.9/xhost.c:505:38: warning[deadcode.DeadStores]: Although the value stored to 'cp' is used in the enclosing expression, the value is never actually read from 'cp'
#  503|        * If it has an '@', it's a netname
#  504|        */
#  505|->     if ((family == FamilyNetname && (cp = strchr(name, '@'))) ||
#  506|   	(cp = strchr(name, '@'))) {
#  507|           char *netname = name;

Error: CLANG_WARNING: [#def3]
xhost-1.0.9-build/xhost-1.0.9/xhost.c:506:3: warning[deadcode.DeadStores]: Although the value stored to 'cp' is used in the enclosing expression, the value is never actually read from 'cp'
#  504|        */
#  505|       if ((family == FamilyNetname && (cp = strchr(name, '@'))) ||
#  506|-> 	(cp = strchr(name, '@'))) {
#  507|           char *netname = name;
#  508|   #ifdef SECURE_RPC

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-78.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namexhost-1.0.9-7.fc41
store-results-to/tmp/tmpzc4rsa6w/xhost-1.0.9-7.fc41.tar.xz
time-created2024-07-03 18:29:58
time-finished2024-07-03 18:30:55
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpzc4rsa6w/xhost-1.0.9-7.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpzc4rsa6w/xhost-1.0.9-7.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9