kiwi-10.0.21-2.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c: scope_hint: In function ‘main’
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:448:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:34: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  446|               break;
#  447|           case OUTPUT_FSTYPE:
#  448|->             printf("%s\n", header.fstype);
#  449|               break;
#  450|           case OUTPUT_ACCESS:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def3]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:451:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  449|               break;
#  450|           case OUTPUT_ACCESS:
#  451|->             printf("%s\n", header.access);
#  452|               break;
#  453|           case OUTPUT_IDENTIFIER:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:454:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  452|               break;
#  453|           case OUTPUT_IDENTIFIER:
#  454|->             printf("%s\n", header.identifier);
#  455|               break;
#  456|           case OUTPUT_HASH_TYPE:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:460:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  458|               break;
#  459|           case OUTPUT_DATA_BLOCK_SIZE:
#  460|->             printf("%s\n", metadata.data_blksize);
#  461|               break;
#  462|           case OUTPUT_HASH_BLOCK_SIZE:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def6]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:463:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  461|               break;
#  462|           case OUTPUT_HASH_BLOCK_SIZE:
#  463|->             printf("%s\n", metadata.hash_blksize);
#  464|               break;
#  465|           case OUTPUT_DATA_BLOCKS:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def7]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:466:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  464|               break;
#  465|           case OUTPUT_DATA_BLOCKS:
#  466|->             printf("%s\n", metadata.data_blocks);
#  467|               break;
#  468|           case OUTPUT_HASH_START_BLOCK:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def8]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:469:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  467|               break;
#  468|           case OUTPUT_HASH_START_BLOCK:
#  469|->             printf("%s\n", metadata.hash_start_block);
#  470|               break;
#  471|           case OUTPUT_ALGORITHM:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:472:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  470|               break;
#  471|           case OUTPUT_ALGORITHM:
#  472|->             printf("%s\n", metadata.algorithm);
#  473|               break;
#  474|           case OUTPUT_ROOT_HASH:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def10]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:475:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  473|               break;
#  474|           case OUTPUT_ROOT_HASH:
#  475|->             printf("%s\n", metadata.root_hash);
#  476|               break;
#  477|           case OUTPUT_SALT:

Error: GCC_ANALYZER_WARNING (CWE-688): [#def11]
kiwi-10.0.21-build/kiwi-10.0.21/dracut/modules.d/80kiwi-verity/kiwi-parse-verity.c:478:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
#  476|               break;
#  477|           case OUTPUT_SALT:
#  478|->             printf("%s\n", metadata.salt);
#  479|               break;
#  480|           default:

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-86.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekiwi-10.0.21-2.fc41
store-results-to/tmp/tmp1e64gf2e/kiwi-10.0.21-2.fc41.tar.xz
time-created2024-07-03 14:20:02
time-finished2024-07-03 14:21:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp1e64gf2e/kiwi-10.0.21-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp1e64gf2e/kiwi-10.0.21-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9