Task #530 - cryptsetup-2.7.1-1.fc40/scan-results.err

back to task #530
download
Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/bitlk/bitlk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/base64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/cipher_check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/crypto_cipher_kernel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/crypto_openssl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/crypto_storage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/pbkdf_check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/crypto_backend/utf8.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/integrity/integrity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/libdevmapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/loopaes/loopaes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks1/keyencryption.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks1/keymanage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/hw_opal/hw_opal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_digest_pbkdf2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_disk_metadata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_json_format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_json_metadata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_keyslot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_keyslot_luks2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_keyslot_reenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_luks1_convert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_reencrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_reencrypt.c:1872:6: warning[core.NullDereference]: Access to field 'digest_new' results in a dereference of a null pointer (loaded from variable 'rh')
# 1870|   
# 1871|   	/* FIXME: validate in reencrypt context load */
# 1872|-> 	if (rh->digest_new < 0 && rh->mode != CRYPT_REENCRYPT_DECRYPT)
# 1873|   		return -EINVAL;
# 1874|   

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_reencrypt_digest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_segment.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/luks2/luks2_token.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/random.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/setup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/tcrypt/tcrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775):
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c: scope_hint: In function 'crypt_keyfile_device_read'
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:331:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor '<unknown>'
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:31: included_from: Included from here.
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/internal.h:190:57: note: in definition of macro 'log_err'
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:220:29: note: in expansion of macro '_'
#  329|   	r = 0;
#  330|   out:
#  331|-> 	if (fd != STDIN_FILENO)
#  332|   		close(fd);
#  333|   

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_crypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_device_locking.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_devpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_io.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775):
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c: scope_hint: In function 'find_key_by_type_and_desc'
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c:173:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/keys", 0)'
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c:22: included_from: Included from here.
#  171|   		return 0;
#  172|   
#  173|-> 	while ((n = read(f, buf + buffer_len, sizeof(buf) - buffer_len - 1)) > 0) {
#  174|   		buffer_len += n;
#  175|   		buf[buffer_len] = '\0';

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_pbkdf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_storage_wrappers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_wipe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/verity/rs_decode_char.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/verity/rs_encode_char.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/verity/verity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/verity/verity_hash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/cryptsetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/integritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_blockdev.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775):
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c: scope_hint: In function ‘tools_read_json_file’
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:227:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:23: included_from: Included from here.
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:183:17: note: in expansion of macro ‘log_dbg’
#  225|   		free(buf);
#  226|   	}
#  227|-> 	return r;
#  228|   }
#  229|   

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_password.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_progress.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775):
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c: scope_hint: In function ‘parse_log’
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:281:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*rc.log_fd’
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/cryptsetup.h:33: included_from: Included from here.
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:26: included_from: Included from here.
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/cryptsetup.h:134:58: note: in definition of macro ‘log_std’
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:320:25: note: in expansion of macro ‘_’
#  279|   
#  280|   	s = read(rc->log_fd, rc->log_buf, SECTOR_SIZE);
#  281|-> 	if (s == -1) {
#  282|   		log_err(_("Cannot read reencryption log file."));
#  283|   		return -EIO;

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_tools.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/veritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
cryptsetup-2.7.1-build/cryptsetup-2.7.1/tokens/ssh/cryptsetup-ssh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.