cryptsetup-2.8.3-3.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: warning[-Wanalyzer-malloc-leak]: leak of 'fve_validated_block'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:502:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:527:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:20: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:19: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:539:31: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:545:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:560:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_false: following 'false' branch (when 'i == 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: acquire_memory: allocated here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: following 'false' branch (when 'fve_validated_block' is non-NULL)...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:577:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: throw: if 'device_path' throws an exception...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: danger: 'fve_validated_block' leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
cryptsetup-2.8.3/lib/bitlk/bitlk.c:582:21: warning[-Wanalyzer-malloc-leak]: leak of 'fve_validated_block'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:502:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:527:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:20: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:19: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:539:31: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:545:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:560:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_false: following 'false' branch (when 'i == 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: acquire_memory: allocated here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: following 'false' branch (when 'fve_validated_block' is non-NULL)...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:577:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:582:21: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:582:21: danger: 'fve_validated_block' leaks here; was allocated at [(21)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
cryptsetup-2.8.3/lib/bitlk/bitlk.c:585:74: warning[-Wanalyzer-malloc-leak]: leak of 'fve_validated_block'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:471:5: enter_function: entry to 'BITLK_read_sb'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:502:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:527:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:20: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:19: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:539:31: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:545:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:560:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_false: following 'false' branch (when 'i == 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: acquire_memory: allocated here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: following 'false' branch (when 'fve_validated_block' is non-NULL)...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:577:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:585:74: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:585:74: danger: 'fve_validated_block' leaks here; was allocated at [(22)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
cryptsetup-2.8.3/lib/bitlk/bitlk.c:589:25: warning[-Wanalyzer-malloc-leak]: leak of 'fve_validated_block'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:471:5: enter_function: entry to 'BITLK_read_sb'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:502:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:527:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:20: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:19: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:539:31: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:545:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:560:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_false: following 'false' branch (when 'i == 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: acquire_memory: allocated here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: following 'false' branch (when 'fve_validated_block' is non-NULL)...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:577:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:582:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:587:26: call_function: inlined call to 'check_fve_metadata_validation' from 'BITLK_read_sb'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:589:25: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:589:25: danger: 'fve_validated_block' leaks here; was allocated at [(22)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
cryptsetup-2.8.3/lib/bitlk/bitlk.c:593:25: warning[-Wanalyzer-malloc-leak]: leak of 'fve_validated_block'
cryptsetup-2.8.3/lib/bitlk/bitlk.c:502:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:508:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:527:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:20: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:531:19: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:539:31: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:545:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:552:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:560:13: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:569:46: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:568:21: branch_false: following 'false' branch (when 'i == 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:571:31: acquire_memory: allocated here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: following 'false' branch (when 'fve_validated_block' is non-NULL)...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:572:12: branch_false: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:577:21: branch_true: following 'true' branch (when 'i != 3')...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:579:17: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:582:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:593:25: branch_true: ...to here
cryptsetup-2.8.3/lib/bitlk/bitlk.c:593:25: throw: if 'device_path' throws an exception...
cryptsetup-2.8.3/lib/bitlk/bitlk.c:593:25: danger: 'fve_validated_block' leaks here; was allocated at [(21)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:70:21: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:215:5: enter_function: entry to 'crypt_cipher_check_kernel'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:243:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:246:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:266:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:269:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:271:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:272:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:276:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:279:13: call_function: calling '_crypt_cipher_init' from 'crypt_cipher_check_kernel'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:207:17: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:215:5: enter_function: entry to 'crypt_cipher_check_kernel'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:243:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:246:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:266:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:269:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:271:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:272:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:276:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:279:13: call_function: calling '_crypt_cipher_init' from 'crypt_cipher_check_kernel'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:209:17: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:215:5: enter_function: entry to 'crypt_cipher_check_kernel'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:243:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:246:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:266:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:269:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:271:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:272:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:276:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:279:13: call_function: calling '_crypt_cipher_init' from 'crypt_cipher_check_kernel'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:279:13: return_function: returning to 'crypt_cipher_check_kernel' from '_crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_cipher_kernel.c:280:9: call_function: calling 'crypt_cipher_destroy_kernel' from 'crypt_cipher_check_kernel'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:277:16: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:325:5: enter_function: entry to 'crypt_hash_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:334:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: call_function: calling 'hash_id_get' from 'crypt_hash_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:286:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:325:5: enter_function: entry to 'crypt_hash_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:334:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:347:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:347:17: call_function: inlined call to 'hash_id_free' from 'crypt_hash_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:295:16: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:736:5: enter_function: entry to 'crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:742:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:743:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: call_function: calling '_cipher_init' from 'crypt_cipher_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:304:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:736:5: enter_function: entry to 'crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:742:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:743:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: call_function: calling '_cipher_init' from 'crypt_cipher_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: throw: if 'EVP_MD_CTX_new' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:341:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:334:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:340:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:341:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:341:17: throw: if 'EVP_MD_CTX_free' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:341:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:334:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: throw: if 'EVP_DigestInit_ex' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:348:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:329:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:330:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:333:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:334:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:339:22: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:346:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:347:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:348:17: throw: if 'EVP_MD_CTX_free' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:348:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: throw: if 'EVP_MAC_fetch' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: throw: if 'EVP_MAC_CTX_new' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:432:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:432:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:432:17: throw: if 'EVP_MAC_free' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:432:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: throw: if 'EVP_MAC_init' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:438:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:438:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:438:17: throw: if 'EVP_MAC_CTX_free' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:438:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:439:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:438:17: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:439:17: throw: if 'EVP_MAC_free' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:439:17: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:444:23: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:444:23: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:444:23: throw: if 'EVP_MAC_CTX_get_mac_size' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:444:23: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:445:21: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:420:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:421:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:424:18: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:425:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:430:17: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:437:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:444:23: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:445:21: throw: if 'EVP_MAC_CTX_dup' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:445:21: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:710:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:736:5: enter_function: entry to 'crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:742:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:743:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: call_function: calling '_cipher_init' from 'crypt_cipher_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:711:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:736:5: enter_function: entry to 'crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:742:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:743:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: call_function: calling '_cipher_init' from 'crypt_cipher_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:719:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:736:5: enter_function: entry to 'crypt_cipher_init'
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:742:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:743:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_openssl.c:746:14: call_function: calling '_cipher_init' from 'crypt_cipher_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:254:13: warning[-Wanalyzer-malloc-leak]: leak of 's'
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:222:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:224:27: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:222:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:228:14: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:230:20: branch_false: following 'false' branch (when 'r == 2')...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:232:21: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:233:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:243:21: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:244:12: branch_false: following 'false' branch (when 'cipher_iv' is NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:249:13: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:249:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:250:12: branch_false: following 'false' branch (when 's' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:252:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:254:13: throw: if 'crypt_cipher_init' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/crypto_storage.c:254:13: danger: 's' leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:110:21: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:195:12: enter_function: entry to 'crypt_argon2_check'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:214:26: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:217:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:220:15: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:220:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:221:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:224:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:229:21: call_function: calling 'measure_argon2' from 'crypt_argon2_check'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:304:17: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:195:12: enter_function: entry to 'crypt_argon2_check'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:214:26: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:217:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:220:15: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:220:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:221:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:224:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:229:21: call_function: calling 'measure_argon2' from 'crypt_argon2_check'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:229:21: return_function: returning to 'crypt_argon2_check' from 'measure_argon2'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:232:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:240:20: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:240:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:241:25: branch_true: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:304:17: throw: if 'crypt_backend_memzero' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:304:17: danger: 'key' leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:340:21: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:325:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:328:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:329:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:332:9: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:335:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:340:21: branch_false: ...to here
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:340:21: throw: if 'crypt_pbkdf' throws an exception...
cryptsetup-2.8.3/lib/crypto_backend/pbkdf_check.c:340:21: danger: 'key' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:187:13: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: warning[-Wanalyzer-malloc-leak]: leak of 'cipher_in'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:203:12: enter_function: entry to '_unwrap_key'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:226:9: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:229:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:232:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:232:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:233:12: branch_false: following 'false' branch (when 'cipher_in' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:238:22: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:239:12: branch_false: following 'false' branch (when 'cipher_out' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:247:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:253:31: branch_true: following 'true' branch (when 't != 0')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:258:50: call_function: inlined call to '__bswap_64' from '_unwrap_key'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: throw: if 'crypt_cipher_decrypt' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: danger: 'cipher_in' leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: warning[-Wanalyzer-malloc-leak]: leak of 'cipher_out'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:203:12: enter_function: entry to '_unwrap_key'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:226:9: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:229:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:232:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:233:12: branch_false: following 'false' branch (when 'cipher_in' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:238:22: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:238:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:239:12: branch_false: following 'false' branch (when 'cipher_out' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:247:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:253:31: branch_true: following 'true' branch (when 't != 0')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:258:50: call_function: inlined call to '__bswap_64' from '_unwrap_key'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: throw: if 'crypt_cipher_decrypt' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:262:21: danger: 'cipher_out' leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:320:13: warning[-Wanalyzer-malloc-leak]: leak of 'log_vol_size_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:320:13: warning[-Wanalyzer-malloc-leak]: leak of 'pwk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:320:13: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:773:29: call_function: calling '_parse_metadata_block_0x001a' from '_read_encrypted_metadata'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:320:13: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of 'log_vol_size_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of 'pwk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:773:29: call_function: calling '_parse_metadata_block_0x001a' from '_read_encrypted_metadata'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'family_uuid_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'kwvk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'log_vol_size_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'pwk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:773:29: call_function: calling '_parse_metadata_block_0x001a' from '_read_encrypted_metadata'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: warning[-Wanalyzer-malloc-leak]: leak of 'pwk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: throw: if 'crypt_base64_decode' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: danger: 'pwk_base64' leaks here; was allocated at [(14)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: throw: if 'crypt_base64_decode' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: danger: 'xml' leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: warning[-Wanalyzer-malloc-leak]: leak of 'kwvk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:393:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: throw: if 'crypt_base64_decode' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: danger: 'kwvk_base64' leaks here; was allocated at [(33)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: warning[-Wanalyzer-malloc-leak]: leak of 'pwk_base64'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:393:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: throw: if 'crypt_base64_decode' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: danger: 'pwk_base64' leaks here; was allocated at [(14)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:357:12: enter_function: entry to '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:374:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:377:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:378:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:381:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:382:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:385:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:387:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x0019'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:392:13: return_function: returning to '_parse_metadata_block_0x0019' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:393:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: throw: if 'crypt_base64_decode' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:395:13: danger: 'xml' leaks here; was allocated at [(4)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:428:13: warning[-Wanalyzer-malloc-leak]: leak of 'family_uuid_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:428:13: warning[-Wanalyzer-malloc-leak]: leak of 'log_vol_size_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:428:13: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of 'family_uuid_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of 'log_vol_size_str'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of 'xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:442:12: enter_function: entry to '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:454:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:457:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:458:12: branch_false: following 'false' branch (when 'xml' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:461:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:462:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:464:25: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:465:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: call_function: calling '_search_xml' from '_parse_metadata_block_0x001a'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:470:13: return_function: returning to '_parse_metadata_block_0x001a' from '_search_xml'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:471:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:473:13: call_function: calling '_reformat_uuid' from '_parse_metadata_block_0x001a'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:526:9: warning[-Wanalyzer-malloc-leak]: leak of 'vol_header'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:520:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:521:12: branch_false: following 'false' branch (when 'vol_header' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:526:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:526:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:526:9: danger: 'vol_header' leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:527:13: warning[-Wanalyzer-malloc-leak]: leak of 'vol_header'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:520:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:521:12: branch_false: following 'false' branch (when 'vol_header' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:526:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:527:13: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:527:13: danger: 'vol_header' leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:617:17: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:609:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:617:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:617:17: danger: 'md_block' leaks here; was allocated at [(2)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:609:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: danger: 'md_block' leaks here; was allocated at [(2)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:13: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:609:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:13: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:13: danger: 'md_block' leaks here; was allocated at [(2)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:644:17: warning[-Wanalyzer-malloc-leak]: leak of 'vol_gr_des'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: call_function: calling '_check_crc' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: return_function: returning to '_read_disklabel' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:630:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:636:12: branch_false: following 'false' branch (when 'vol_gr_des' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:642:16: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:643:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:644:17: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:644:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:644:17: danger: 'vol_gr_des' leaks here; was allocated at [(22)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:649:9: warning[-Wanalyzer-malloc-leak]: leak of 'vol_gr_des'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: call_function: calling '_check_crc' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: return_function: returning to '_read_disklabel' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:630:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:636:12: branch_false: following 'false' branch (when 'vol_gr_des' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:642:16: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:643:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:649:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:649:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:649:9: danger: 'vol_gr_des' leaks here; was allocated at [(22)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:650:13: warning[-Wanalyzer-malloc-leak]: leak of 'vol_gr_des'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:593:12: enter_function: entry to '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:610:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:615:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:622:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:623:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: call_function: calling '_check_crc' from '_read_disklabel'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:629:13: return_function: returning to '_read_disklabel' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:630:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:635:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:636:12: branch_false: following 'false' branch (when 'vol_gr_des' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:642:16: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:643:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:649:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:650:13: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:650:13: danger: 'vol_gr_des' leaks here; was allocated at [(22)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: throw: if 'crypt_cipher_init' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: danger: 'md_block' leaks here; was allocated at [(5)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: warning[-Wanalyzer-malloc-leak]: leak of 'md_block_enc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: throw: if 'crypt_cipher_init' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: danger: 'md_block_enc' leaks here; was allocated at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: throw: if 'crypt_cipher_init' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:13: danger: 'tweak' leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: throw: if 'crypt_volume_key_get_key' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: danger: 'md_block' leaks here; was allocated at [(5)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: warning[-Wanalyzer-malloc-leak]: leak of 'md_block_enc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: throw: if 'crypt_volume_key_get_key' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: danger: 'md_block_enc' leaks here; was allocated at [(3)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: throw: if 'crypt_volume_key_get_key' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: danger: 'tweak' leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: danger: 'md_block' leaks here; was allocated at [(6)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: warning[-Wanalyzer-malloc-leak]: leak of 'md_block_enc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: danger: 'md_block_enc' leaks here; was allocated at [(4)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:720:17: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: danger: 'md_block' leaks here; was allocated at [(6)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of 'md_block_enc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: danger: 'md_block_enc' leaks here; was allocated at [(4)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:729:25: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:729:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:729:25: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: danger: 'md_block' leaks here; was allocated at [(6)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: warning[-Wanalyzer-malloc-leak]: leak of 'md_block_enc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: danger: 'md_block_enc' leaks here; was allocated at [(4)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: warning[-Wanalyzer-malloc-leak]: leak of 'md_block'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: throw: if 'crypt_cipher_decrypt' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: danger: 'md_block' leaks here; was allocated at [(6)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: throw: if 'crypt_cipher_decrypt' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:745:21: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:752:25: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:752:25: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:752:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:752:25: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:760:25: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:760:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:760:25: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:772:25: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:772:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:772:25: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:782:25: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:782:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:782:25: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:789:33: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:787:29: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:789:33: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:789:33: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:789:33: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
cryptsetup-2.8.3/lib/fvault2/fvault2.c:799:17: warning[-Wanalyzer-malloc-leak]: leak of 'tweak'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:674:12: enter_function: entry to '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:696:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:697:12: branch_false: following 'false' branch (when 'tweak' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:702:24: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:703:12: branch_false: following 'false' branch (when 'md_block_enc' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:708:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:709:12: branch_false: following 'false' branch (when 'md_block' is non-NULL)...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:714:54: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:715:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: call_function: inlined call to 'uint64_mult_overflow' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:718:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:725:9: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:726:21: branch_true: following 'true' branch (when 'i < blocks_n')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:727:35: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:728:20: branch_false: following 'false' branch (when 'off <= 1073741824')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:733:20: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:21: call_function: inlined call to '_filled_with' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:741:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:744:17: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:747:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: call_function: calling '_check_crc' from '_read_encrypted_metadata'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:750:21: return_function: returning to '_read_encrypted_metadata' from '_check_crc'
cryptsetup-2.8.3/lib/fvault2/fvault2.c:751:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:757:30: branch_false: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:798:12: branch_true: following 'true' branch (when 'status != 7')...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:799:17: branch_true: ...to here
cryptsetup-2.8.3/lib/fvault2/fvault2.c:799:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/fvault2/fvault2.c:799:17: danger: 'tweak' leaks here; was allocated at [(2)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
cryptsetup-2.8.3/lib/keyslot_context.c:779:40: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 176)'
cryptsetup-2.8.3/lib/keyslot_context.c:762:12: enter_function: entry to '_crypt_keyslot_context_init_by_passphrase'
cryptsetup-2.8.3/lib/keyslot_context.c:770:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:773:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_passphrase'
cryptsetup-2.8.3/lib/keyslot_context.c:774:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:777:12: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:777:12: branch_true: following 'true' branch (when 'self_contained != 0')...
cryptsetup-2.8.3/lib/keyslot_context.c:778:20: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:778:20: branch_true: following 'true' branch (when 'passphrase_size != 0')...
cryptsetup-2.8.3/lib/keyslot_context.c:779:40: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:779:40: throw: if 'crypt_safe_alloc' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:779:40: danger: 'calloc(1, 176)' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
cryptsetup-2.8.3/lib/keyslot_context.c:784:25: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 176)'
cryptsetup-2.8.3/lib/keyslot_context.c:762:12: enter_function: entry to '_crypt_keyslot_context_init_by_passphrase'
cryptsetup-2.8.3/lib/keyslot_context.c:770:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:773:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_passphrase'
cryptsetup-2.8.3/lib/keyslot_context.c:774:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:777:12: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:777:12: branch_true: following 'true' branch (when 'self_contained != 0')...
cryptsetup-2.8.3/lib/keyslot_context.c:778:20: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:778:20: branch_true: following 'true' branch (when 'passphrase_size != 0')...
cryptsetup-2.8.3/lib/keyslot_context.c:779:40: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:780:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:784:25: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:784:25: throw: if 'crypt_safe_memcpy' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:784:25: danger: 'calloc(1, 176)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 176)'
cryptsetup-2.8.3/lib/keyslot_context.c:886:12: enter_function: entry to '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:897:14: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:896:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:900:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:901:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:904:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:910:13: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:910:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: throw: if 'crypt_safe_alloc' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: danger: 'calloc(1, 176)' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: warning[-Wanalyzer-malloc-leak]: leak of 'i_type'
cryptsetup-2.8.3/lib/keyslot_context.c:886:12: enter_function: entry to '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:897:14: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:896:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:900:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:901:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:904:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: acquire_memory: allocated here
cryptsetup-2.8.3/lib/keyslot_context.c:905:20: branch_false: following 'false' branch (when 'i_type' is non-NULL)...
cryptsetup-2.8.3/lib/keyslot_context.c:910:13: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:910:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: throw: if 'crypt_safe_alloc' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: danger: 'i_type' leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
cryptsetup-2.8.3/lib/keyslot_context.c:913:17: warning[-Wanalyzer-malloc-leak]: leak of 'i_type'
cryptsetup-2.8.3/lib/keyslot_context.c:886:12: enter_function: entry to '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:897:14: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:896:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:900:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:901:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:904:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: acquire_memory: allocated here
cryptsetup-2.8.3/lib/keyslot_context.c:905:20: branch_false: following 'false' branch (when 'i_type' is non-NULL)...
cryptsetup-2.8.3/lib/keyslot_context.c:910:13: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:910:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:911:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:913:17: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:913:17: throw: if 'crypt_safe_memcpy' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:913:17: danger: 'i_type' leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
cryptsetup-2.8.3/lib/keyslot_context.c:929:9: warning[-Wanalyzer-malloc-leak]: leak of 'i_type'
cryptsetup-2.8.3/lib/keyslot_context.c:886:12: enter_function: entry to '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:897:14: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:896:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:900:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_token'
cryptsetup-2.8.3/lib/keyslot_context.c:901:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:904:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:904:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:905:32: acquire_memory: allocated here
cryptsetup-2.8.3/lib/keyslot_context.c:905:20: branch_false: following 'false' branch (when 'i_type' is non-NULL)...
cryptsetup-2.8.3/lib/keyslot_context.c:910:13: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:910:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:911:31: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:911:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:912:25: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:929:9: throw: if 'crypt_safe_free' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:929:9: danger: 'i_type' leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
cryptsetup-2.8.3/lib/keyslot_context.c:975:28: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 176)'
cryptsetup-2.8.3/lib/keyslot_context.c:960:12: enter_function: entry to '_crypt_keyslot_context_init_by_volume_key'
cryptsetup-2.8.3/lib/keyslot_context.c:968:12: branch_false: following 'false' branch (when 'kc' is non-NULL)...
cryptsetup-2.8.3/lib/keyslot_context.c:971:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_volume_key'
cryptsetup-2.8.3/lib/keyslot_context.c:972:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:975:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:975:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:976:30: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:976:30: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:975:28: danger: 'calloc(1, 176)' leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
cryptsetup-2.8.3/lib/keyslot_context.c:1032:28: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 176)'
cryptsetup-2.8.3/lib/keyslot_context.c:1015:12: enter_function: entry to '_crypt_keyslot_context_init_by_signed_key'
cryptsetup-2.8.3/lib/keyslot_context.c:1025:12: branch_false: following 'false' branch (when 'kc' is non-NULL)...
cryptsetup-2.8.3/lib/keyslot_context.c:1028:15: call_function: inlined call to 'crypt_zalloc' from '_crypt_keyslot_context_init_by_signed_key'
cryptsetup-2.8.3/lib/keyslot_context.c:1029:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:1032:28: branch_false: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:1032:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/keyslot_context.c:1033:30: branch_true: ...to here
cryptsetup-2.8.3/lib/keyslot_context.c:1033:30: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/keyslot_context.c:1032:28: danger: 'calloc(1, 176)' leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
cryptsetup-2.8.3/lib/libdevmapper.c:2315:15: warning[-Wanalyzer-malloc-leak]: leak of 'hash_name'
cryptsetup-2.8.3/lib/libdevmapper.c:2205:12: enter_function: entry to '_dm_target_query_verity'
cryptsetup-2.8.3/lib/libdevmapper.c:2222:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2223:22: call_function: inlined call to 'crypt_zalloc' from '_dm_target_query_verity'
cryptsetup-2.8.3/lib/libdevmapper.c:2224:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2228:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2234:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2236:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2236:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2237:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2242:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2244:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2244:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2255:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2256:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2258:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2258:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2269:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2270:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2272:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2272:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2273:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2278:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2280:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2280:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2281:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2286:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2288:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2288:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2289:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2294:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2296:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2301:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2303:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2303:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2304:29: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2304:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2305:20: branch_false: following 'false' branch (when 'hash_name' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2312:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2313:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2315:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2315:15: throw: if 'crypt_hex_to_bytes' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2315:15: danger: 'hash_name' leaks here; was allocated at [(37)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
cryptsetup-2.8.3/lib/libdevmapper.c:2333:31: warning[-Wanalyzer-malloc-leak]: leak of 'hash_name'
cryptsetup-2.8.3/lib/libdevmapper.c:2205:12: enter_function: entry to '_dm_target_query_verity'
cryptsetup-2.8.3/lib/libdevmapper.c:2222:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2223:22: call_function: inlined call to 'crypt_zalloc' from '_dm_target_query_verity'
cryptsetup-2.8.3/lib/libdevmapper.c:2224:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2228:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2234:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2236:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2236:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2237:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2242:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2244:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2244:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2255:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2256:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2258:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2258:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2269:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2270:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2272:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2272:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2273:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2278:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2280:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2280:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2281:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2286:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2288:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2288:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2289:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2294:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2296:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2301:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2303:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2303:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2304:29: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2304:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2305:20: branch_false: following 'false' branch (when 'hash_name' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2312:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2313:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2315:15: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2316:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2320:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2321:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2322:17: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2328:12: branch_true: following 'true' branch (when 'vp' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2329:22: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2329:20: branch_false: following 'false' branch (when the strings are non-equal)...
cryptsetup-2.8.3/lib/libdevmapper.c:2333:31: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2333:31: throw: if 'crypt_hex_to_bytes' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2333:31: danger: 'hash_name' leaks here; was allocated at [(37)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: warning[-Wanalyzer-malloc-leak]: leak of 'integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2568:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2570:36: branch_false: following 'false' branch (when 'integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2576:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2576:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: throw: if 'crypt_hex_to_bytes' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: danger: 'integrity' leaks here; was allocated at [(31)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
cryptsetup-2.8.3/lib/libdevmapper.c:2585:46: warning[-Wanalyzer-malloc-leak]: leak of 'integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2568:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2570:36: branch_false: following 'false' branch (when 'integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2576:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2576:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2578:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2584:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2584:36: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2585:46: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2585:46: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2585:46: danger: 'integrity' leaks here; was allocated at [(31)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
cryptsetup-2.8.3/lib/libdevmapper.c:2589:46: warning[-Wanalyzer-malloc-leak]: leak of 'integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2568:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2569:45: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2570:36: branch_false: following 'false' branch (when 'integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2576:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2576:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2577:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2578:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2584:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2584:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2588:44: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2588:43: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2589:46: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2589:46: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2589:46: danger: 'integrity' leaks here; was allocated at [(31)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: warning[-Wanalyzer-malloc-leak]: leak of 'journal_crypt'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2608:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2610:36: branch_false: following 'false' branch (when 'journal_crypt' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2616:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2616:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: throw: if 'crypt_hex_to_bytes' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: danger: 'journal_crypt' leaks here; was allocated at [(35)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
cryptsetup-2.8.3/lib/libdevmapper.c:2625:61: warning[-Wanalyzer-malloc-leak]: leak of 'journal_crypt'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2608:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2610:36: branch_false: following 'false' branch (when 'journal_crypt' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2616:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2616:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2618:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2624:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2624:36: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2625:61: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2625:61: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2625:61: danger: 'journal_crypt' leaks here; was allocated at [(35)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
cryptsetup-2.8.3/lib/libdevmapper.c:2629:61: warning[-Wanalyzer-malloc-leak]: leak of 'journal_crypt'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2608:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2609:49: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2610:36: branch_false: following 'false' branch (when 'journal_crypt' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2616:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2616:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2617:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2618:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2624:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2624:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2628:44: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2628:43: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2629:61: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2629:61: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2629:61: danger: 'journal_crypt' leaks here; was allocated at [(35)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: warning[-Wanalyzer-malloc-leak]: leak of 'journal_integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2637:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2637:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2640:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2642:36: branch_false: following 'false' branch (when 'journal_integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2648:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2648:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: throw: if 'crypt_hex_to_bytes' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: danger: 'journal_integrity' leaks here; was allocated at [(37)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
cryptsetup-2.8.3/lib/libdevmapper.c:2657:65: warning[-Wanalyzer-malloc-leak]: leak of 'journal_integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2637:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2637:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2640:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2642:36: branch_false: following 'false' branch (when 'journal_integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2648:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2648:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2650:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2656:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2656:36: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2657:65: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2657:65: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2657:65: danger: 'journal_integrity' leaks here; was allocated at [(37)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
cryptsetup-2.8.3/lib/libdevmapper.c:2661:65: warning[-Wanalyzer-malloc-leak]: leak of 'journal_integrity'
cryptsetup-2.8.3/lib/libdevmapper.c:2490:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2501:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2501:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2503:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2504:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2506:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2511:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2515:13: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2516:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2535:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2537:9: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2540:21: branch_true: following 'true' branch (when 'i < features')...
cryptsetup-2.8.3/lib/libdevmapper.c:2542:21: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2542:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2544:23: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2554:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2556:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2556:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2559:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2559:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2561:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2561:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2563:26: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2563:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2565:27: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2565:25: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2597:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2597:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2605:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2605:27: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2637:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2637:27: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2640:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2641:53: acquire_memory: allocated here
cryptsetup-2.8.3/lib/libdevmapper.c:2642:36: branch_false: following 'false' branch (when 'journal_integrity' is non-NULL)...
cryptsetup-2.8.3/lib/libdevmapper.c:2648:29: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2648:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2649:39: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2650:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2656:37: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2656:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2660:44: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2660:43: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2661:65: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2661:65: throw: if 'crypt_alloc_volume_key' throws an exception...
cryptsetup-2.8.3/lib/libdevmapper.c:2661:65: danger: 'journal_integrity' leaks here; was allocated at [(37)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
cryptsetup-2.8.3/lib/libdevmapper.c:2901:9: warning[-Wanalyzer-malloc-leak]: leak of 'dmd.segment.next'
cryptsetup-2.8.3/lib/libdevmapper.c:2928:12: enter_function: entry to '_process_deps'
cryptsetup-2.8.3/lib/libdevmapper.c:2937:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2937:12: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2940:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2941:25: branch_true: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2946:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/libdevmapper.c:2949:17: branch_false: ...to here
cryptsetup-2.8.3/lib/libdevmapper.c:2950:21: call_function: calling '_dm_query_device' from '_process_deps'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
cryptsetup-2.8.3/lib/luks1/keyencryption.c:113:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&path, mode | 1069056)'
cryptsetup-2.8.3/lib/luks1/keyencryption.c:57:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:60:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:69:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:71:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:71:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:73:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:73:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:76:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:78:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:84:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:84:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:90:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:93:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:96:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:97:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:106:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:106:17: acquire_resource: opened here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:107:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:113:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keyencryption.c:113:13: throw: if the called function throws an exception...
cryptsetup-2.8.3/lib/luks1/keyencryption.c:113:13: danger: 'open(&path, mode | 1069056)' leaks here; was opened at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
cryptsetup-2.8.3/lib/luks1/keymanage.c:584:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(backup_file, 0)'
cryptsetup-2.8.3/lib/luks1/keymanage.c:578:17: acquire_resource: opened here
cryptsetup-2.8.3/lib/luks1/keymanage.c:579:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks1/keymanage.c:584:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks1/keymanage.c:584:13: throw: if 'read_buffer' throws an exception...
cryptsetup-2.8.3/lib/luks1/keymanage.c:584:13: danger: 'open(backup_file, 0)' leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:411:13: warning[-Wanalyzer-malloc-leak]: leak of 'desc'
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:397:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:400:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:401:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:405:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:407:16: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:408:12: branch_false: following 'false' branch (when 'desc' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:411:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:411:13: throw: if 'crypt_get_uuid' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_digest.c:411:13: danger: 'desc' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:455:45: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, json_area_len)'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:403:5: enter_function: entry to 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:410:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:415:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:416:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:422:50: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:423:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:439:21: call_function: inlined call to 'crypt_zalloc' from 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:440:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:455:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:462:12: branch_true: following 'true' branch (when 'seqid_check != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:463:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:463:21: call_function: calling 'LUKS2_device_write_lock' from 'LUKS2_disk_hdr_write'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:465:21: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, json_area_len)'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:403:5: enter_function: entry to 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:410:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:415:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:416:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:422:50: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:423:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:439:21: call_function: inlined call to 'crypt_zalloc' from 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:440:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:455:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:462:12: branch_false: following 'false' branch (when 'seqid_check == 0')...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:465:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:465:21: throw: if 'device_write_lock' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:465:21: danger: 'calloc(1, json_area_len)' leaks here; was allocated at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:472:9: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, json_area_len)'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:403:5: enter_function: entry to 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:410:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:415:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:416:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:422:50: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:423:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:431:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:439:21: call_function: inlined call to 'crypt_zalloc' from 'LUKS2_disk_hdr_write'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:440:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:455:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:462:12: branch_false: following 'false' branch (when 'seqid_check == 0')...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:465:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:466:12: branch_false: following 'false' branch (when 'r >= 0')...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:472:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:475:13: call_function: calling 'hdr_write_disk' from 'LUKS2_disk_hdr_write'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:831:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(device_path(device), flags)'
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:820:17: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:823:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:823:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:827:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:830:17: acquire_resource: opened here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:831:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:831:29: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:831:29: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_disk_metadata.c:831:29: danger: 'open(device_path(device), flags)' leaks here; was opened at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:221:24: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:22: call_function: calling 'json_str_to_uint64' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:262:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: call_function: calling 'numbered' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:273:14: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:274:14: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:275:17: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:291:20: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:375:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'validate_intervals' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:380:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'validate_intervals' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:385:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'validate_intervals' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:390:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'validate_intervals' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:589:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:26: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_false: following 'false' branch (when 'i >= first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: call_function: calling 'validate_segment_intervals' from 'hdr_validate_segments'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:598:33: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:717:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:726:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:726:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:729:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:729:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:735:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:746:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:750:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:756:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:756:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:764:21: call_function: inlined call to 'atoi' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:766:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:776:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:776:20: branch_false: following 'false' branch (when the strings are non-equal)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:781:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:26: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_false: following 'false' branch (when 'i >= first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: call_function: calling 'validate_segment_intervals' from 'hdr_validate_segments'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:603:33: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:717:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:722:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: call_function: calling 'json_contains_string' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:723:37: return_function: returning to 'hdr_validate_segments' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:721:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:726:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:726:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:729:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:729:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:735:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:746:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:750:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:750:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:756:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:756:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:764:21: call_function: inlined call to 'atoi' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:766:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:776:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:776:20: branch_false: following 'false' branch (when the strings are non-equal)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:781:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:26: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_false: following 'false' branch (when 'i >= first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:840:14: call_function: calling 'validate_segment_intervals' from 'hdr_validate_segments'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: throw: if 'json_segments_get_segment' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: danger: 'intervals' leaks here; was allocated at [(23)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:832:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:832:25: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:832:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:832:25: danger: 'intervals' leaks here; was allocated at [(23)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:39: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:26: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:39: throw: if 'json_segment_get_offset' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:39: danger: 'intervals' leaks here; was allocated at [(23)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:696:12: enter_function: entry to 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: call_function: calling 'json_contains' from 'hdr_validate_segments'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:31: return_function: returning to 'hdr_validate_segments' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:703:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:706:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:707:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:713:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:716:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:807:12: branch_false: following 'false' branch (when 'first_backup != 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:813:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: following 'true' branch (when 'first_backup < 0')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:818:12: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:822:29: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:824:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:829:21: branch_true: following 'true' branch (when 'i < first_backup')...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:830:24: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:831:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:836:26: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: throw: if 'json_segment_get_size' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:837:39: danger: 'intervals' leaks here; was allocated at [(23)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:861:9: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'LUKS2_hdr_and_areas_size_jobj' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:862:9: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'LUKS2_hdr_and_areas_size_jobj' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: throw: if 'json_object_get_string' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: danger: 'intervals' leaks here; was allocated at [(10)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: throw: if 'json_object_get_string' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: danger: 'intervals' leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:922:25: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_true: following 'true' branch (when 'entrykey' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: call_function: inlined call to 'lh_entry_k' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:922:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:922:25: danger: 'intervals' leaks here; was allocated at [(10)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1314:9: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'LUKS2_hdr_and_areas_size_jobj' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1315:9: warning[-Wanalyzer-malloc-leak]: leak of 'intervals'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:873:12: enter_function: entry to 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:880:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:14: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:884:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:888:25: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:893:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:896:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:901:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:902:12: branch_false: following 'false' branch (when 'intervals' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: call_function: calling 'json_contains' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:35: return_function: returning to 'hdr_validate_areas' from 'json_contains'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:910:22: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:911:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: call_function: calling 'json_contains_string' from 'hdr_validate_areas'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:912:37: return_function: returning to 'hdr_validate_areas' from 'json_contains_string'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:913:22: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:914:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:909:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:64: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:921:22: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:920:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:927:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:907:9: branch_false: following 'false' branch (when 'entrykey' is NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:930:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:935:15: call_function: calling 'LUKS2_hdr_and_areas_size_jobj' from 'hdr_validate_areas'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1353:9: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1353:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1353:9: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1355:13: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1355:13: throw: if 'device_read_lock' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1355:13: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1357:17: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1356:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1357:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1357:17: throw: if 'device_path' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1357:17: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1356:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: throw: if 'device_open_locked' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1364:17: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1356:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1363:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1364:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1364:17: throw: if 'device_read_unlock' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1364:17: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1365:17: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1356:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1363:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1364:17: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1365:17: throw: if 'device_path' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1365:17: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1370:13: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1356:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1362:17: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1363:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1370:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1370:13: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1370:13: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1396:9: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1348:18: acquire_memory: allocated here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1349:12: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1352:9: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1396:9: throw: if 'crypt_safe_memzero' throws an exception...
cryptsetup-2.8.3/lib/luks2/luks2_json_metadata.c:1396:9: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:807:24: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:811:9: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:812:16: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:829:24: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:1175:29: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:1178:13: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:1285:9: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 368)'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3320:12: enter_function: entry to 'reencrypt_load'
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3331:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3334:19: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3337:13: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3338:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_false: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3341:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: branch_true: ...to here
cryptsetup-2.8.3/lib/luks2/luks2_reencrypt.c:3342:21: call_function: calling 'reencrypt_load_clean' from 'reencrypt_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:488:14: warning[-Wanalyzer-malloc-leak]: leak of 'data'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:636:5: enter_function: entry to 'TCRYPT_read_phdr'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:666:12: branch_false: following 'false' branch (when 'devfd >= 0')...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:13: branch_false: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:21: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: call_function: calling 'TCRYPT_init_hdr' from 'TCRYPT_read_phdr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:490:17: warning[-Wanalyzer-malloc-leak]: leak of 'data'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:636:5: enter_function: entry to 'TCRYPT_read_phdr'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:666:12: branch_false: following 'false' branch (when 'devfd >= 0')...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:13: branch_false: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:21: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: call_function: calling 'TCRYPT_init_hdr' from 'TCRYPT_read_phdr'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:494:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(keyfile, 0)'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:636:5: enter_function: entry to 'TCRYPT_read_phdr'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:666:12: branch_false: following 'false' branch (when 'devfd >= 0')...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:13: branch_false: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:21: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: call_function: calling 'TCRYPT_init_hdr' from 'TCRYPT_read_phdr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:494:21: warning[-Wanalyzer-malloc-leak]: leak of 'data'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:636:5: enter_function: entry to 'TCRYPT_read_phdr'
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:666:12: branch_false: following 'false' branch (when 'devfd >= 0')...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:13: branch_false: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:673:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:21: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:674:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: branch_true: ...to here
cryptsetup-2.8.3/lib/tcrypt/tcrypt.c:677:29: call_function: calling 'TCRYPT_init_hdr' from 'TCRYPT_read_phdr'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
cryptsetup-2.8.3/lib/utils.c:87:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/meminfo", 0)'
cryptsetup-2.8.3/lib/utils.c:83:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:83:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:86:16: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:87:9: danger: 'open("/proc/meminfo", 0)' leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
cryptsetup-2.8.3/lib/utils.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:212:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:212:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:212:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
cryptsetup-2.8.3/lib/utils.c:228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:228:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:228:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:228:25: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
cryptsetup-2.8.3/lib/utils.c:236:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:231:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:231:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:233:52: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:235:28: branch_true: following 'true' branch (when 'file_read_size < keyfile_offset')...
cryptsetup-2.8.3/lib/utils.c:236:33: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:236:33: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:236:33: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
cryptsetup-2.8.3/lib/utils.c:249:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:231:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:249:16: throw: if 'crypt_safe_alloc' throws an exception...
cryptsetup-2.8.3/lib/utils.c:249:16: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
cryptsetup-2.8.3/lib/utils.c:251:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:231:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:250:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:251:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:251:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:251:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
cryptsetup-2.8.3/lib/utils.c:303:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:231:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:250:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:256:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:256:12: branch_false: following 'false' branch (when 'keyfile_offset == 0')...
cryptsetup-2.8.3/lib/utils.c:261:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:261:34: branch_false: following 'false' branch (when 'key_size <= i')...
cryptsetup-2.8.3/lib/utils.c:302:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:302:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:303:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:303:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
cryptsetup-2.8.3/lib/utils.c:315:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:217:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:226:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:227:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:227:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:231:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:235:28: branch_false: following 'false' branch (when 'file_read_size >= keyfile_offset')...
cryptsetup-2.8.3/lib/utils.c:239:25: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:250:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:256:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:256:12: branch_false: following 'false' branch (when 'keyfile_offset == 0')...
cryptsetup-2.8.3/lib/utils.c:261:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:261:34: branch_false: following 'false' branch (when 'key_size <= i')...
cryptsetup-2.8.3/lib/utils.c:302:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:302:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:309:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:309:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:309:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:314:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:315:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:315:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils.c:315:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
cryptsetup-2.8.3/lib/utils.c:324:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils.c:195:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:198:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:201:12: branch_true: following 'true' branch (when 'keyfile' is non-NULL)...
cryptsetup-2.8.3/lib/utils.c:202:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:202:22: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils.c:203:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils.c:211:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils.c:212:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:323:12: branch_true: following 'true' branch (when 'close_fd != 0')...
cryptsetup-2.8.3/lib/utils.c:324:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils.c:324:17: throw: if 'close' throws an exception...
cryptsetup-2.8.3/lib/utils.c:324:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
cryptsetup-2.8.3/lib/utils_benchmark.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of 'iv'
cryptsetup-2.8.3/lib/utils_benchmark.c:27:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:31:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:45:12: branch_true: following 'true' branch (when 'iv_size != 0')...
cryptsetup-2.8.3/lib/utils_benchmark.c:46:22: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:46:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_benchmark.c:47:20: branch_false: following 'false' branch (when 'iv' is non-NULL)...
cryptsetup-2.8.3/lib/utils_benchmark.c:49:17: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:49:17: throw: if 'crypt_random_get' throws an exception...
cryptsetup-2.8.3/lib/utils_benchmark.c:49:17: danger: 'iv' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
cryptsetup-2.8.3/lib/utils_benchmark.c:56:9: warning[-Wanalyzer-malloc-leak]: leak of 'key'
cryptsetup-2.8.3/lib/utils_benchmark.c:27:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:31:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_benchmark.c:35:13: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:45:12: branch_false: following 'false' branch (when 'iv_size == 0')...
cryptsetup-2.8.3/lib/utils_benchmark.c:52:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:52:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_benchmark.c:53:12: branch_false: following 'false' branch (when 'key' is non-NULL)...
cryptsetup-2.8.3/lib/utils_benchmark.c:56:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_benchmark.c:56:9: throw: if 'crypt_random_get' throws an exception...
cryptsetup-2.8.3/lib/utils_benchmark.c:56:9: danger: 'key' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
cryptsetup-2.8.3/lib/utils_blkid.c:76:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:77:12: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:80:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: throw: if 'blkid_new_probe_from_filename' throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: danger: 'tmp' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
cryptsetup-2.8.3/lib/utils_blkid.c:76:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:77:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:80:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: throw: if ‘blkid_new_probe_from_filename’ throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:82:19: danger: ‘tmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: throw: if 'blkid_new_probe' throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: danger: 'tmp' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: throw: if ‘blkid_new_probe’ throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: danger: ‘tmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:99:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: throw: if 'blkid_probe_set_device' throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: danger: 'tmp' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:99:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: throw: if ‘blkid_probe_set_device’ throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: danger: ‘tmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:99:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:104:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: throw: if 'blkid_free_probe' throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: danger: 'tmp' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
cryptsetup-2.8.3/lib/utils_blkid.c:94:36: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_blkid.c:95:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
cryptsetup-2.8.3/lib/utils_blkid.c:98:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:99:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_blkid.c:104:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:104:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: throw: if ‘blkid_free_probe’ throws an exception...
cryptsetup-2.8.3/lib/utils_blkid.c:105:17: danger: ‘tmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
cryptsetup-2.8.3/lib/utils_device.c:79:33: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
cryptsetup-2.8.3/lib/utils_device.c:156:13: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
cryptsetup-2.8.3/lib/utils_device.c:157:17: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
cryptsetup-2.8.3/lib/utils_device.c:160:17: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
cryptsetup-2.8.3/lib/utils_device.c:164:9: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
cryptsetup-2.8.3/lib/utils_device.c:186:17: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
cryptsetup-2.8.3/lib/utils_device.c:186:17: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
cryptsetup-2.8.3/lib/utils_device.c:189:25: warning[-Wanalyzer-malloc-leak]: leak of 'dev'
cryptsetup-2.8.3/lib/utils_device.c:420:5: enter_function: entry to 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: call_function: calling 'device_alloc_no_check' from 'device_alloc'
cryptsetup-2.8.3/lib/utils_device.c:425:13: return_function: returning to 'device_alloc' from 'device_alloc_no_check'
cryptsetup-2.8.3/lib/utils_device.c:426:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:429:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:429:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:430:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:430:21: call_function: calling 'device_ready' from 'device_alloc'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
cryptsetup-2.8.3/lib/utils_device.c:254:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(device_path(device), flags)'
cryptsetup-2.8.3/lib/utils_device.c:236:12: enter_function: entry to '_open_locked'
cryptsetup-2.8.3/lib/utils_device.c:240:12: branch_false: following 'false' branch (when 'device' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device.c:243:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:243:9: call_function: calling 'device_path' from '_open_locked'
cryptsetup-2.8.3/lib/utils_device.c:243:9: return_function: returning to '_open_locked' from 'device_path'
cryptsetup-2.8.3/lib/utils_device.c:250:14: call_function: calling 'device_path' from '_open_locked'
cryptsetup-2.8.3/lib/utils_device.c:250:14: return_function: returning to '_open_locked' from 'device_path'
cryptsetup-2.8.3/lib/utils_device.c:250:14: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_device.c:251:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:254:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:254:13: throw: if 'device_locked_verify' throws an exception...
cryptsetup-2.8.3/lib/utils_device.c:254:13: danger: 'open(device_path(device), flags)' leaks here; was opened at [(14)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
cryptsetup-2.8.3/lib/utils_device.c:778:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd'
cryptsetup-2.8.3/lib/utils_device.c:724:12: branch_false: following 'false' branch (when 'device' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device.c:727:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:730:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:736:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:741:14: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_device.c:742:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:747:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:747:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device.c:752:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:752:12: branch_false: following 'false' branch (when 'fd != -1')...
cryptsetup-2.8.3/lib/utils_device.c:758:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device.c:758:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_device.c:760:39: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:777:12: branch_true: following 'true' branch (when 'fd != -1')...
cryptsetup-2.8.3/lib/utils_device.c:778:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device.c:778:17: throw: if 'close' throws an exception...
cryptsetup-2.8.3/lib/utils_device.c:778:17: danger: 'fd' leaks here; was opened at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
cryptsetup-2.8.3/lib/utils_device_locking.c:84:17: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
cryptsetup-2.8.3/lib/utils_device_locking.c:84:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
cryptsetup-2.8.3/lib/utils_device_locking.c:86:17: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
cryptsetup-2.8.3/lib/utils_device_locking.c:86:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
cryptsetup-2.8.3/lib/utils_device_locking.c:88:25: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
cryptsetup-2.8.3/lib/utils_device_locking.c:88:25: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def198]
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(dir, 589824)'
cryptsetup-2.8.3/lib/utils_device_locking.c:84:17: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_device_locking.c:85:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: throw: if 'openat' throws an exception...
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: danger: 'open(dir, 589824)' leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
cryptsetup-2.8.3/lib/utils_device_locking.c:92:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
cryptsetup-2.8.3/lib/utils_device_locking.c:95:25: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
cryptsetup-2.8.3/lib/utils_device_locking.c:95:25: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
cryptsetup-2.8.3/lib/utils_device_locking.c:99:33: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
cryptsetup-2.8.3/lib/utils_device_locking.c:99:33: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
cryptsetup-2.8.3/lib/utils_device_locking.c:101:43: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
cryptsetup-2.8.3/lib/utils_device_locking.c:101:43: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
cryptsetup-2.8.3/lib/utils_device_locking.c:103:25: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
cryptsetup-2.8.3/lib/utils_device_locking.c:103:25: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_false: following 'false' branch (when 'device' is NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:67: call_function: calling 'acquire_lock_handle_by_name' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
cryptsetup-2.8.3/lib/utils_device_locking.c:138:18: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_true: following 'true' branch (when 'device' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: call_function: calling 'acquire_lock_handle' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
cryptsetup-2.8.3/lib/utils_device_locking.c:143:17: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_true: following 'true' branch (when 'device' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: call_function: calling 'acquire_lock_handle' from 'acquire_and_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
cryptsetup-2.8.3/lib/utils_device_locking.c:149:25: warning[-Wanalyzer-malloc-leak]: leak of 'h'
cryptsetup-2.8.3/lib/utils_device_locking.c:286:12: enter_function: entry to 'acquire_and_verify'
cryptsetup-2.8.3/lib/utils_device_locking.c:291:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:19: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: following 'false' branch (when 'h' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:294:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:21: branch_true: following 'true' branch (when 'device' is non-NULL)...
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_device_locking.c:298:30: call_function: calling 'acquire_lock_handle' from 'acquire_and_verify'
Error: CPPCHECK_WARNING (CWE-476): [#def212]
cryptsetup-2.8.3/lib/utils_device_locking.c:185: error[ctunullpointer]: Null pointer dereference: name
Error: CPPCHECK_WARNING (CWE-476): [#def213]
cryptsetup-2.8.3/lib/utils_device_locking.c:185: warning[nullPointer]: Possible null pointer dereference: name
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
cryptsetup-2.8.3/lib/utils_devpath.c:48:24: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(path)'
cryptsetup-2.8.3/lib/utils_devpath.c:113:7: enter_function: entry to 'crypt_lookup_dev'
cryptsetup-2.8.3/lib/utils_devpath.c:120:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:123:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:123:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:126:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:127:12: branch_true: following 'true' branch (when 'len < 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:129:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:129:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:130:32: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:130:32: call_function: calling 'lookup_dev_old' from 'crypt_lookup_dev'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
cryptsetup-2.8.3/lib/utils_devpath.c:79:9: warning[-Wanalyzer-malloc-leak]: leak of 'result'
cryptsetup-2.8.3/lib/utils_devpath.c:113:7: enter_function: entry to 'crypt_lookup_dev'
cryptsetup-2.8.3/lib/utils_devpath.c:120:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:123:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:123:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:126:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:127:12: branch_true: following 'true' branch (when 'len < 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:129:21: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:129:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:130:32: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:130:32: call_function: calling 'lookup_dev_old' from 'crypt_lookup_dev'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def216]
cryptsetup-2.8.3/lib/utils_devpath.c:167:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(sysfs_path, 0)'
cryptsetup-2.8.3/lib/utils_devpath.c:164:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_devpath.c:164:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:166:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:167:9: danger: 'open(sysfs_path, 0)' leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def217]
cryptsetup-2.8.3/lib/utils_devpath.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&path, 0)'
cryptsetup-2.8.3/lib/utils_devpath.c:205:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:209:19: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:209:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_devpath.c:209:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:211:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:212:9: danger: 'open(&path, 0)' leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
cryptsetup-2.8.3/lib/utils_devpath.c:353:17: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&path)'
cryptsetup-2.8.3/lib/utils_devpath.c:337:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:340:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:343:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:343:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:348:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:351:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:352:12: branch_true: following 'true' branch (when 'len < 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:353:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:353:17: danger: 'opendir(&path)' leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
cryptsetup-2.8.3/lib/utils_devpath.c:361:17: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&path)'
cryptsetup-2.8.3/lib/utils_devpath.c:337:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:340:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:343:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:343:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:348:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:351:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:352:12: branch_false: following 'false' branch (when 'len >= 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:358:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:360:12: branch_true: following 'true' branch (when 'devname' is NULL)...
cryptsetup-2.8.3/lib/utils_devpath.c:361:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:361:17: danger: 'opendir(&path)' leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
cryptsetup-2.8.3/lib/utils_devpath.c:367:13: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&path)'
cryptsetup-2.8.3/lib/utils_devpath.c:337:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:340:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:343:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:343:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:348:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:351:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:352:12: branch_false: following 'false' branch (when 'len >= 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:358:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:360:12: branch_false: following 'false' branch (when 'devname' is non-NULL)...
cryptsetup-2.8.3/lib/utils_devpath.c:364:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:367:13: throw: if 'dm_is_dm_kernel_name' throws an exception...
cryptsetup-2.8.3/lib/utils_devpath.c:367:13: danger: 'opendir(&path)' leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
cryptsetup-2.8.3/lib/utils_devpath.c:368:17: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&path)'
cryptsetup-2.8.3/lib/utils_devpath.c:337:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:340:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:343:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:343:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:348:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:351:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:352:12: branch_false: following 'false' branch (when 'len >= 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:358:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:360:12: branch_false: following 'false' branch (when 'devname' is non-NULL)...
cryptsetup-2.8.3/lib/utils_devpath.c:364:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:367:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:368:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:368:17: danger: 'opendir(&path)' leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
cryptsetup-2.8.3/lib/utils_devpath.c:373:24: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&path)'
cryptsetup-2.8.3/lib/utils_devpath.c:337:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:340:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:340:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:343:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:343:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:347:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:348:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:351:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:352:12: branch_false: following 'false' branch (when 'len >= 0')...
cryptsetup-2.8.3/lib/utils_devpath.c:358:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:360:12: branch_false: following 'false' branch (when 'devname' is non-NULL)...
cryptsetup-2.8.3/lib/utils_devpath.c:364:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:367:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:372:23: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:373:24: throw: if 'readdir' throws an exception...
cryptsetup-2.8.3/lib/utils_devpath.c:373:24: danger: 'opendir(&path)' leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
cryptsetup-2.8.3/lib/utils_devpath.c:453:25: warning[-Wanalyzer-malloc-leak]: leak of 'opendir("/dev/disk/by-id")'
cryptsetup-2.8.3/lib/utils_devpath.c:447:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:449:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:449:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:453:25: throw: if 'readdir' throws an exception...
cryptsetup-2.8.3/lib/utils_devpath.c:453:25: danger: 'opendir("/dev/disk/by-id")' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
cryptsetup-2.8.3/lib/utils_devpath.c:491:35: warning[-Wanalyzer-malloc-leak]: leak of 'opendir("/sys/block/")'
cryptsetup-2.8.3/lib/utils_devpath.c:485:20: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_devpath.c:487:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_devpath.c:487:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:491:16: branch_true: following 'true' branch (when 'r != 1')...
cryptsetup-2.8.3/lib/utils_devpath.c:491:35: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_devpath.c:491:35: throw: if 'readdir' throws an exception...
cryptsetup-2.8.3/lib/utils_devpath.c:491:35: danger: 'opendir("/sys/block/")' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
cryptsetup-2.8.3/lib/utils_keyring.c:160:13: warning[-Wanalyzer-malloc-leak]: leak of 'name_copy'
cryptsetup-2.8.3/lib/utils_keyring.c:331:14: enter_function: entry to 'keyring_find_key_id_by_name'
cryptsetup-2.8.3/lib/utils_keyring.c:337:9: branch_true: following 'true' branch (when 'key_name' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:339:13: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:339:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_keyring.c:353:12: branch_false: following 'false' branch (when 'name_copy' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:357:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:357:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:360:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:361:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:364:20: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:375:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: call_function: calling 'find_key_by_type_and_desc' from 'keyring_find_key_id_by_name'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
cryptsetup-2.8.3/lib/utils_keyring.c:164:47: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/keys", 0)'
cryptsetup-2.8.3/lib/utils_keyring.c:154:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:154:23: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:154:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:160:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:160:13: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_keyring.c:161:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:161:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:164:47: danger: 'open("/proc/keys", 0)' leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
cryptsetup-2.8.3/lib/utils_keyring.c:179:33: warning[-Wanalyzer-malloc-leak]: leak of 'name_copy'
cryptsetup-2.8.3/lib/utils_keyring.c:331:14: enter_function: entry to 'keyring_find_key_id_by_name'
cryptsetup-2.8.3/lib/utils_keyring.c:337:9: branch_true: following 'true' branch (when 'key_name' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:339:13: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:339:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_keyring.c:353:12: branch_false: following 'false' branch (when 'name_copy' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:357:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:357:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:360:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:361:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:364:20: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:375:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: call_function: calling 'find_key_by_type_and_desc' from 'keyring_find_key_id_by_name'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
cryptsetup-2.8.3/lib/utils_keyring.c:188:9: warning[-Wanalyzer-malloc-leak]: leak of 'name_copy'
cryptsetup-2.8.3/lib/utils_keyring.c:331:14: enter_function: entry to 'keyring_find_key_id_by_name'
cryptsetup-2.8.3/lib/utils_keyring.c:337:9: branch_true: following 'true' branch (when 'key_name' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:339:13: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:339:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:352:21: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_keyring.c:353:12: branch_false: following 'false' branch (when 'name_copy' is non-NULL)...
cryptsetup-2.8.3/lib/utils_keyring.c:357:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:357:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:360:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:361:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:364:20: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:375:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_keyring.c:378:22: call_function: calling 'find_key_by_type_and_desc' from 'keyring_find_key_id_by_name'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
cryptsetup-2.8.3/lib/utils_loop.c:64:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'file_fd'
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to 'crypt_loop_attach'
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following 'true' branch (when 'loop_fd == -1')...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling 'crypt_loop_get_device' from 'crypt_loop_attach'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
cryptsetup-2.8.3/lib/utils_loop.c:64:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file_fd’
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to ‘crypt_loop_attach’
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following ‘true’ branch (when ‘loop_fd == -1’)...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling ‘crypt_loop_get_device’ from ‘crypt_loop_attach’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def231]
cryptsetup-2.8.3/lib/utils_loop.c:70:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'file_fd'
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to 'crypt_loop_attach'
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following 'true' branch (when 'loop_fd == -1')...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling 'crypt_loop_get_device' from 'crypt_loop_attach'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
cryptsetup-2.8.3/lib/utils_loop.c:70:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file_fd’
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to ‘crypt_loop_attach’
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following ‘true’ branch (when ‘loop_fd == -1’)...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling ‘crypt_loop_get_device’ from ‘crypt_loop_attach’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def233]
cryptsetup-2.8.3/lib/utils_loop.c:73:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'file_fd'
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to 'crypt_loop_attach'
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following 'true' branch (when 'loop_fd == -1')...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling 'crypt_loop_get_device' from 'crypt_loop_attach'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
cryptsetup-2.8.3/lib/utils_loop.c:73:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file_fd’
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to ‘crypt_loop_attach’
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following ‘true’ branch (when ‘loop_fd == -1’)...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling ‘crypt_loop_get_device’ from ‘crypt_loop_attach’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
cryptsetup-2.8.3/lib/utils_loop.c:85:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'file_fd'
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to 'crypt_loop_attach'
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following 'true' branch (when 'loop_fd == -1')...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling 'crypt_loop_get_device' from 'crypt_loop_attach'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
cryptsetup-2.8.3/lib/utils_loop.c:85:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file_fd’
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to ‘crypt_loop_attach’
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following ‘true’ branch (when ‘loop_fd == -1’)...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling ‘crypt_loop_get_device’ from ‘crypt_loop_attach’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
cryptsetup-2.8.3/lib/utils_loop.c:91:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'file_fd'
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to 'crypt_loop_attach'
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following 'true' branch (when 'loop_fd == -1')...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling 'crypt_loop_get_device' from 'crypt_loop_attach'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
cryptsetup-2.8.3/lib/utils_loop.c:91:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file_fd’
cryptsetup-2.8.3/lib/utils_loop.c:105:5: enter_function: entry to ‘crypt_loop_attach’
cryptsetup-2.8.3/lib/utils_loop.c:115:19: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:116:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:134:16: branch_true: following ‘true’ branch (when ‘loop_fd == -1’)...
cryptsetup-2.8.3/lib/utils_loop.c:135:25: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:135:25: call_function: calling ‘crypt_loop_get_device’ from ‘crypt_loop_attach’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
cryptsetup-2.8.3/lib/utils_loop.c:287:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&buf, 0)'
cryptsetup-2.8.3/lib/utils_loop.c:275:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:278:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:282:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:282:14: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:283:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_loop.c:286:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:287:9: danger: 'open(&buf, 0)' leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
cryptsetup-2.8.3/lib/utils_loop.c:287:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&buf, 0)’
cryptsetup-2.8.3/lib/utils_loop.c:275:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:278:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:282:14: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:282:14: acquire_resource: opened here
cryptsetup-2.8.3/lib/utils_loop.c:283:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/lib/utils_loop.c:286:15: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_loop.c:287:9: danger: ‘open(&buf, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
cryptsetup-2.8.3/lib/utils_safe_memory.c:53:9: warning[-Wanalyzer-malloc-leak]: leak of 'alloc'
cryptsetup-2.8.3/lib/utils_safe_memory.c:46:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_safe_memory.c:49:24: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_safe_memory.c:49:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_safe_memory.c:50:12: branch_false: following 'false' branch (when 'alloc' is non-NULL)...
cryptsetup-2.8.3/lib/utils_safe_memory.c:53:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_safe_memory.c:53:9: throw: if 'crypt_backend_memzero' throws an exception...
cryptsetup-2.8.3/lib/utils_safe_memory.c:53:9: danger: 'alloc' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:52:13: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: call_function: calling 'crypt_storage_backend_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:53:32: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: call_function: calling 'crypt_storage_backend_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:58:40: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: call_function: calling 'crypt_storage_backend_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:59:17: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: call_function: calling 'crypt_storage_backend_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:60:17: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: call_function: calling 'crypt_storage_backend_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:141:5: enter_function: entry to 'crypt_storage_wrapper_init'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:198:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:203:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:205:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:208:13: call_function: calling 'crypt_storage_dmcrypt_init' from 'crypt_storage_wrapper_init'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:170:28: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:170:28: throw: if 'device_alignment' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:170:28: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:171:25: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:171:25: throw: if 'device_block_size' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:171:25: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:173:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:173:17: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:178:21: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:178:21: throw: if 'device_open' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:178:21: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: throw: if 'crypt_is_cipher_null' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:185:17: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:185:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:185:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:185:17: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:192:17: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_true: following 'true' branch (when 'vk' is NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:192:17: branch_true: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:192:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:192:17: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:203:9: warning[-Wanalyzer-malloc-leak]: leak of 'w'
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:156:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:159:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:162:35: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:164:13: acquire_memory: allocated here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:165:12: branch_false: following 'false' branch (when 'w' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:168:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:172:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:179:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:184:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:191:12: branch_false: following 'false' branch (when 'vk' is non-NULL)...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:197:13: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:198:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:203:9: branch_false: ...to here
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:203:9: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/utils_storage_wrappers.c:203:9: danger: 'w' leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
cryptsetup-2.8.3/lib/verity/verity_fec.c:86:25: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:94:12: enter_function: entry to 'FEC_process_inputs'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:144:29: call_function: calling 'FEC_read_interleaved' from 'FEC_process_inputs'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
cryptsetup-2.8.3/lib/verity/verity_fec.c:146:33: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:94:12: enter_function: entry to 'FEC_process_inputs'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:144:29: call_function: calling 'FEC_read_interleaved' from 'FEC_process_inputs'
cryptsetup-2.8.3/lib/verity/verity_fec.c:144:29: return_function: returning to 'FEC_process_inputs' from 'FEC_read_interleaved'
cryptsetup-2.8.3/lib/verity/verity_fec.c:144:28: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:146:33: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:146:33: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:146:33: danger: 'buf' leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:37: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:153:37: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:157:28: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:157:28: branch_true: following 'true' branch (when 'decode != 0')...
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:37: throw: if 'read_buffer' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:37: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
cryptsetup-2.8.3/lib/verity/verity_fec.c:159:41: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:159:41: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:159:41: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
cryptsetup-2.8.3/lib/verity/verity_fec.c:165:37: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:153:37: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:157:28: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:157:28: branch_true: following 'true' branch (when 'decode != 0')...
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:165:37: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:165:37: throw: if 'decode_rs_char' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:165:37: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
cryptsetup-2.8.3/lib/verity/verity_fec.c:167:41: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:158:36: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:165:37: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:167:41: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:167:41: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
cryptsetup-2.8.3/lib/verity/verity_fec.c:177:33: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:177:33: throw: if 'encode_rs_char' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:177:33: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
cryptsetup-2.8.3/lib/verity/verity_fec.c:178:37: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:178:37: throw: if 'write_buffer' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:178:37: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
cryptsetup-2.8.3/lib/verity/verity_fec.c:179:41: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:142:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:179:41: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:179:41: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
cryptsetup-2.8.3/lib/verity/verity_fec.c:187:9: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
cryptsetup-2.8.3/lib/verity/verity_fec.c:117:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_fec.c:123:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:134:15: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: following 'false' branch (when 'buf' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_fec.c:135:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_fec.c:187:9: throw: if 'free_rs_char' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_fec.c:187:9: danger: 'buf' leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: warning[-Wanalyzer-malloc-leak]: leak of 'block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:42:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:43:12: branch_false: following 'false' branch (when 'block' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_hash.c:46:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:46:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: danger: 'block' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: following 'true' branch (when 'blocks == 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: following 'true' branch (when 'verify != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: call_function: calling 'verify_zero' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
cryptsetup-2.8.3/lib/verity/verity_hash.c:47:17: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: following 'true' branch (when 'blocks == 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: following 'true' branch (when 'verify != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: call_function: calling 'verify_zero' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
cryptsetup-2.8.3/lib/verity/verity_hash.c:53:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:42:17: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:43:12: branch_false: following 'false' branch (when 'block' is non-NULL)...
cryptsetup-2.8.3/lib/verity/verity_hash.c:46:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:46:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:46:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:51:21: branch_true: following 'true' branch (when 'i < bytes')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:52:26: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:53:25: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_hash.c:53:25: danger: 'block' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
cryptsetup-2.8.3/lib/verity/verity_hash.c:53:25: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: following 'true' branch (when 'blocks == 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: following 'true' branch (when 'verify != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: call_function: calling 'verify_zero' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
cryptsetup-2.8.3/lib/verity/verity_hash.c:53:25: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:13: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: following 'true' branch (when 'blocks == 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:21: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:234:20: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:235:28: branch_true: following 'true' branch (when 'verify != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:236:37: call_function: calling 'verify_zero' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
cryptsetup-2.8.3/lib/verity/verity_hash.c:72:13: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
cryptsetup-2.8.3/lib/verity/verity_hash.c:72:13: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
cryptsetup-2.8.3/lib/verity/verity_hash.c:75:34: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
cryptsetup-2.8.3/lib/verity/verity_hash.c:75:34: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
cryptsetup-2.8.3/lib/verity/verity_hash.c:78:18: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
cryptsetup-2.8.3/lib/verity/verity_hash.c:78:18: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
cryptsetup-2.8.3/lib/verity/verity_hash.c:81:34: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
cryptsetup-2.8.3/lib/verity/verity_hash.c:81:34: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
cryptsetup-2.8.3/lib/verity/verity_hash.c:84:13: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
cryptsetup-2.8.3/lib/verity/verity_hash.c:84:13: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
cryptsetup-2.8.3/lib/verity/verity_hash.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
cryptsetup-2.8.3/lib/verity/verity_hash.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:178:29: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:179:28: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:182:28: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:188:29: call_function: calling 'verify_hash_block' from 'create_or_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: warning[-Wanalyzer-malloc-leak]: leak of 'data_buffer'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:169:23: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: danger: 'data_buffer' leaks here; was allocated at [(16)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: warning[-Wanalyzer-malloc-leak]: leak of 'left_block'
cryptsetup-2.8.3/lib/verity/verity_hash.c:131:12: enter_function: entry to 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:149:12: branch_false: following 'false' branch (when 'digest_size <= 1024')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:152:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:153:13: call_function: inlined call to 'uint64_mult_overflow' from 'create_or_verify'
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:13: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:158:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:163:12: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:168:22: acquire_memory: allocated here
cryptsetup-2.8.3/lib/verity/verity_hash.c:170:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/verity/verity_hash.c:175:9: branch_false: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: following 'true' branch (when 'blocks_to_write != 0')...
cryptsetup-2.8.3/lib/verity/verity_hash.c:176:16: branch_true: ...to here
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: throw: if 'crypt_logf' throws an exception...
cryptsetup-2.8.3/lib/verity/verity_hash.c:183:33: danger: 'left_block' leaks here; was allocated at [(16)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
cryptsetup-2.8.3/lib/volumekey.c:44:27: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 48)'
cryptsetup-2.8.3/lib/volumekey.c:26:20: enter_function: entry to 'crypt_alloc_volume_key'
cryptsetup-2.8.3/lib/volumekey.c:30:12: branch_false: following 'false' branch (when 'keylength <= 18446744073709551567')...
cryptsetup-2.8.3/lib/volumekey.c:33:14: call_function: inlined call to 'crypt_zalloc' from 'crypt_alloc_volume_key'
cryptsetup-2.8.3/lib/volumekey.c:34:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/volumekey.c:37:9: branch_false: ...to here
cryptsetup-2.8.3/lib/volumekey.c:43:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/volumekey.c:44:27: throw: if 'crypt_safe_alloc' throws an exception...
cryptsetup-2.8.3/lib/volumekey.c:44:27: danger: 'calloc(1, 48)' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
cryptsetup-2.8.3/lib/volumekey.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of 'calloc(1, 48)'
cryptsetup-2.8.3/lib/volumekey.c:26:20: enter_function: entry to 'crypt_alloc_volume_key'
cryptsetup-2.8.3/lib/volumekey.c:30:12: branch_false: following 'false' branch (when 'keylength <= 18446744073709551567')...
cryptsetup-2.8.3/lib/volumekey.c:33:14: call_function: inlined call to 'crypt_zalloc' from 'crypt_alloc_volume_key'
cryptsetup-2.8.3/lib/volumekey.c:34:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/volumekey.c:37:9: branch_false: ...to here
cryptsetup-2.8.3/lib/volumekey.c:43:12: branch_true: following 'true' branch...
cryptsetup-2.8.3/lib/volumekey.c:45:20: branch_false: following 'false' branch...
cryptsetup-2.8.3/lib/volumekey.c:49:17: branch_false: ...to here
cryptsetup-2.8.3/lib/volumekey.c:49:17: throw: if 'crypt_safe_memcpy' throws an exception...
cryptsetup-2.8.3/lib/volumekey.c:49:17: danger: 'calloc(1, 48)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
cryptsetup-2.8.3/src/utils_blockdev.c:68:35: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&data_dev_dir)’
cryptsetup-2.8.3/src/utils_blockdev.c:48:12: enter_function: entry to ‘lookup_holder_dm_name’
cryptsetup-2.8.3/src/utils_blockdev.c:57:12: branch_false: following ‘false’ branch (when ‘r_dm_name’ is non-NULL)...
cryptsetup-2.8.3/src/utils_blockdev.c:60:15: call_function: inlined call to ‘gnu_dev_minor’ from ‘lookup_holder_dm_name’
cryptsetup-2.8.3/src/utils_blockdev.c:61:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_blockdev.c:64:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:64:21: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_blockdev.c:64:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_blockdev.c:64:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:68:16: branch_true: following ‘true’ branch (when ‘r != 1’)...
cryptsetup-2.8.3/src/utils_blockdev.c:68:35: branch_true: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:68:35: throw: if ‘readdir’ throws an exception...
cryptsetup-2.8.3/src/utils_blockdev.c:68:35: danger: ‘opendir(&data_dev_dir)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def289]
cryptsetup-2.8.3/src/utils_blockdev.c:291:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, flags)’
cryptsetup-2.8.3/src/utils_blockdev.c:266:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_blockdev.c:271:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:271:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_blockdev.c:277:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:282:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_blockdev.c:283:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_blockdev.c:291:18: branch_false: ...to here
cryptsetup-2.8.3/src/utils_blockdev.c:291:18: throw: if ‘blk_init_by_fd’ throws an exception...
cryptsetup-2.8.3/src/utils_blockdev.c:291:18: danger: ‘open(path, flags)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
cryptsetup-2.8.3/src/utils_key_description.c:131:25: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:130:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: danger: ‘key_part_out2’ leaks here; was allocated at [(40)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/39)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
cryptsetup-2.8.3/src/utils_key_description.c:131:25: warning[-Wanalyzer-malloc-leak]: leak of ‘keyring_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:130:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: danger: ‘keyring_part_out2’ leaks here; was allocated at [(38)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/37)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
cryptsetup-2.8.3/src/utils_key_description.c:131:25: warning[-Wanalyzer-malloc-leak]: leak of ‘type_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:130:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:131:25: danger: ‘type_part_out2’ leaks here; was allocated at [(44)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/43)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
cryptsetup-2.8.3/src/utils_key_description.c:136:25: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:135:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: danger: ‘key_part_out2’ leaks here; was allocated at [(37)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
cryptsetup-2.8.3/src/utils_key_description.c:136:25: warning[-Wanalyzer-malloc-leak]: leak of ‘keyring_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:135:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: danger: ‘keyring_part_out2’ leaks here; was allocated at [(35)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
cryptsetup-2.8.3/src/utils_key_description.c:136:25: warning[-Wanalyzer-malloc-leak]: leak of ‘type_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:135:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:136:25: danger: ‘type_part_out2’ leaks here; was allocated at [(44)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/43)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
cryptsetup-2.8.3/src/utils_key_description.c:143:21: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:143:21: throw: if ‘crypt_set_keyring_to_link’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: danger: ‘key_part_out1’ leaks here; was allocated at [(15)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
cryptsetup-2.8.3/src/utils_key_description.c:143:21: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:143:21: throw: if ‘crypt_set_keyring_to_link’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: danger: ‘key_part_out2’ leaks here; was allocated at [(37)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
cryptsetup-2.8.3/src/utils_key_description.c:143:21: warning[-Wanalyzer-malloc-leak]: leak of ‘keyring_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:143:21: throw: if ‘crypt_set_keyring_to_link’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: danger: ‘keyring_part_out1’ leaks here; was allocated at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
cryptsetup-2.8.3/src/utils_key_description.c:143:21: warning[-Wanalyzer-malloc-leak]: leak of ‘type_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:143:21: throw: if ‘crypt_set_keyring_to_link’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: danger: ‘type_part_out1’ leaks here; was allocated at [(24)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
cryptsetup-2.8.3/src/utils_key_description.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:145:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:146:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: danger: ‘key_part_out1’ leaks here; was allocated at [(15)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
cryptsetup-2.8.3/src/utils_key_description.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:145:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:146:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: danger: ‘key_part_out2’ leaks here; was allocated at [(37)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
cryptsetup-2.8.3/src/utils_key_description.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘keyring_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:145:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:146:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: danger: ‘keyring_part_out1’ leaks here; was allocated at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
cryptsetup-2.8.3/src/utils_key_description.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘type_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: following ‘false’ branch (when ‘keyring_key_links_count == 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:145:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:146:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:146:25: danger: ‘type_part_out1’ leaks here; was allocated at [(24)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
cryptsetup-2.8.3/src/utils_key_description.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out1’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:142:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:143:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:149:12: branch_true: following ‘true’ branch (when ‘r == -22’)...
cryptsetup-2.8.3/src/utils_key_description.c:150:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:150:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:150:17: danger: ‘key_part_out1’ leaks here; was allocated at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
cryptsetup-2.8.3/src/utils_key_description.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:135:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:150:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:150:17: danger: ‘key_part_out2’ leaks here; was allocated at [(37)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
cryptsetup-2.8.3/src/utils_key_description.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘type_part_out2’
cryptsetup-2.8.3/src/utils_key_description.c:104:5: enter_function: entry to ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:114:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count > 0’)...
cryptsetup-2.8.3/src/utils_key_description.c:115:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:115:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:115:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:119:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:122:12: branch_true: following ‘true’ branch (when ‘keyring_key_links_count != 1’)...
cryptsetup-2.8.3/src/utils_key_description.c:123:21: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:123:21: call_function: calling ‘parse_single_vk_and_keyring_description’ from ‘tools_parse_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:123:21: return_function: returning to ‘tools_parse_vk_and_keyring_description’ from ‘parse_single_vk_and_keyring_description’
cryptsetup-2.8.3/src/utils_key_description.c:127:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:22: branch_false: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:130:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_key_description.c:130:59: branch_true: ...to here
cryptsetup-2.8.3/src/utils_key_description.c:150:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_key_description.c:150:17: danger: ‘type_part_out2’ leaks here; was allocated at [(46)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, 0)’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:25: throw: if ‘crypt_get_type’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:25: danger: ‘open(device, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, 0)’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: throw: if ‘crypt_keyslot_status’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: danger: ‘open(device, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def309]
cryptsetup-2.8.3/src/utils_keyslot_check.c:152:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, 0)’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:155:21: throw: if ‘crypt_keyslot_area’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:152:21: danger: ‘open(device, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
cryptsetup-2.8.3/src/utils_keyslot_check.c:178:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:156:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:159:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:160:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:164:20: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:173:26: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_keyslot_check.c:174:20: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
cryptsetup-2.8.3/src/utils_keyslot_check.c:177:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:177:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:178:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:178:25: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:178:25: danger: ‘buffer’ leaks here; was allocated at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
cryptsetup-2.8.3/src/utils_keyslot_check.c:182:21: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:156:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:159:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:160:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:164:20: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:173:26: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_keyslot_check.c:174:20: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
cryptsetup-2.8.3/src/utils_keyslot_check.c:177:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:177:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:182:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:182:21: throw: if ‘read_buffer’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:182:21: danger: ‘buffer’ leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
cryptsetup-2.8.3/src/utils_keyslot_check.c:193:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, 0)’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:193:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:195:1: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:193:13: danger: ‘open(device, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
cryptsetup-2.8.3/src/utils_keyslot_check.c:197:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
cryptsetup-2.8.3/src/utils_keyslot_check.c:140:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:145:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:146:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:149:21: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:151:22: branch_true: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:156:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:159:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:160:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_keyslot_check.c:164:20: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:173:26: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_keyslot_check.c:174:20: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
cryptsetup-2.8.3/src/utils_keyslot_check.c:177:21: branch_false: ...to here
cryptsetup-2.8.3/src/utils_keyslot_check.c:197:17: throw: if ‘close’ throws an exception...
cryptsetup-2.8.3/src/utils_keyslot_check.c:197:17: danger: ‘buffer’ leaks here; was allocated at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
cryptsetup-2.8.3/src/utils_luks.c:193:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
cryptsetup-2.8.3/src/utils_luks.c:172:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:176:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:177:22: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_luks.c:178:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:186:15: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:187:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: following ‘false’ branch (when ‘batch_mode == 0’)...
cryptsetup-2.8.3/src/utils_luks.c:193:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:193:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_luks.c:193:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
cryptsetup-2.8.3/src/utils_luks.c:193:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
cryptsetup-2.8.3/src/utils_luks.c:172:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_luks.c:174:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:186:15: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_luks.c:187:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: following ‘false’ branch (when ‘batch_mode == 0’)...
cryptsetup-2.8.3/src/utils_luks.c:193:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:193:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_luks.c:193:17: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
cryptsetup-2.8.3/src/utils_luks.c:197:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
cryptsetup-2.8.3/src/utils_luks.c:172:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:176:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:177:22: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_luks.c:178:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:186:15: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:187:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:196:9: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:197:15: throw: if ‘read_buffer_intr’ throws an exception...
cryptsetup-2.8.3/src/utils_luks.c:197:15: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
cryptsetup-2.8.3/src/utils_luks.c:197:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
cryptsetup-2.8.3/src/utils_luks.c:172:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_luks.c:174:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:186:15: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_luks.c:187:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
cryptsetup-2.8.3/src/utils_luks.c:192:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:192:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:196:9: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:197:15: throw: if ‘read_buffer_intr’ throws an exception...
cryptsetup-2.8.3/src/utils_luks.c:197:15: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
cryptsetup-2.8.3/src/utils_luks.c:216:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
cryptsetup-2.8.3/src/utils_luks.c:172:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:176:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:177:22: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_luks.c:178:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_luks.c:186:15: branch_false: ...to here
cryptsetup-2.8.3/src/utils_luks.c:187:12: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
cryptsetup-2.8.3/src/utils_luks.c:188:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:215:12: branch_true: following ‘true’ branch (when ‘close_fd != 0’)...
cryptsetup-2.8.3/src/utils_luks.c:216:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_luks.c:216:17: throw: if ‘close’ throws an exception...
cryptsetup-2.8.3/src/utils_luks.c:216:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:108:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:108:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:116:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:116:25: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:120:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:120:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:176:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, <unknown>)’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:107:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:113:41: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:113:17: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:114:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:124:12: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:124:12: branch_true: following ‘true’ branch (when ‘set_magic == 3’)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:126:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:176:9: danger: ‘open(device, <unknown>)’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:176:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:176:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:292:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: return_function: returning to ‘reencrypt_luks1’ from ‘initialize_context’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1241:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1285:9: call_function: calling ‘destroy_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:656:60: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*rc.device_header, 1)’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:646:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:648:20: branch_false: following ‘false’ branch (when ‘r != -1’)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:651:29: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:651:27: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:652:25: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:651:28: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:654:35: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:654:30: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:655:28: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:656:60: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:656:37: throw: if ‘posix_fallocate’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:656:60: danger: ‘open(*rc.device_header, 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def332]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&*rc.crypt_path_org, <unknown>)’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:853:18: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:854:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:18: throw: if ‘open’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: danger: ‘open(&*rc.crypt_path_org, <unknown>)’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def333]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&*rc.crypt_path_new, <unknown>)’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:854:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:18: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:860:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:866:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:866:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:13: danger: ‘open(&*rc.crypt_path_new, <unknown>)’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def334]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:918:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_new’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:854:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:18: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:860:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:866:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:917:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:918:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:918:17: throw: if ‘close’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:918:17: danger: ‘fd_new’ leaks here; was opened at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:920:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd_new’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:845:29: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:854:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:55: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:859:18: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:860:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:865:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:866:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:917:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:918:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:919:12: branch_true: following ‘true’ branch (when ‘fd_new != -1’)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:920:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:920:17: throw: if ‘close’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:920:17: danger: ‘fd_new’ leaks here; was opened at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1119:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1202:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1221:5: enter_function: entry to ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: call_function: calling ‘initialize_context’ from ‘reencrypt_luks1’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:18: return_function: returning to ‘reencrypt_luks1’ from ‘initialize_context’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1240:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1241:17: branch_true: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1285:9: call_function: calling ‘destroy_context’ from ‘reencrypt_luks1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1231:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1231:17: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1231:17: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1231:17: throw: if ‘crypt_logf’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1231:17: danger: ‘rc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1238:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1226:14: acquire_memory: allocated here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1227:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1230:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1238:9: throw: if ‘set_int_handler’ throws an exception...
cryptsetup-2.8.3/src/utils_reencrypt_luks1.c:1238:9: danger: ‘rc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
cryptsetup-2.8.3/src/utils_tools.c:384:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
cryptsetup-2.8.3/src/utils_tools.c:371:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_tools.c:374:16: branch_false: ...to here
cryptsetup-2.8.3/src/utils_tools.c:375:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_tools.c:378:14: branch_false: ...to here
cryptsetup-2.8.3/src/utils_tools.c:378:14: acquire_resource: opened here
cryptsetup-2.8.3/src/utils_tools.c:379:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/utils_tools.c:384:13: branch_false: ...to here
cryptsetup-2.8.3/src/utils_tools.c:384:13: throw: if ‘read_buffer’ throws an exception...
cryptsetup-2.8.3/src/utils_tools.c:384:13: danger: ‘open(file, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
cryptsetup-2.8.3/src/veritysetup.c:117:21: warning[-Wanalyzer-malloc-leak]: leak of ‘root_hash_bytes’
cryptsetup-2.8.3/src/veritysetup.c:62:12: enter_function: entry to ‘action_format’
cryptsetup-2.8.3/src/veritysetup.c:73:13: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:81:13: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:92:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:95:13: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:98:13: call_function: calling ‘_prepare_format’ from ‘action_format’
cryptsetup-2.8.3/src/veritysetup.c:98:13: return_function: returning to ‘action_format’ from ‘_prepare_format’
cryptsetup-2.8.3/src/veritysetup.c:99:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:102:56: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:102:56: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:102:56: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:103:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:106:9: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:109:12: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:110:34: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:111:35: acquire_memory: allocated here
cryptsetup-2.8.3/src/veritysetup.c:112:20: branch_false: following ‘false’ branch (when ‘root_hash_bytes’ is non-NULL)...
cryptsetup-2.8.3/src/veritysetup.c:117:21: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:117:21: throw: if ‘crypt_volume_key_get’ throws an exception...
cryptsetup-2.8.3/src/veritysetup.c:117:21: danger: ‘root_hash_bytes’ leaks here; was allocated at [(37)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
cryptsetup-2.8.3/src/veritysetup.c:222:21: warning[-Wanalyzer-malloc-leak]: leak of ‘root_hash_from_file’
cryptsetup-2.8.3/src/veritysetup.c:161:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:164:13: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:183:43: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:183:43: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:184:42: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:184:42: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:185:37: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:185:37: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:186:36: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:186:36: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:203:12: branch_true: following ‘true’ branch (when ‘root_hash’ is NULL)...
cryptsetup-2.8.3/src/veritysetup.c:204:37: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:204:37: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:204:37: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:205:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:210:21: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:210:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:216:39: acquire_memory: allocated here
cryptsetup-2.8.3/src/veritysetup.c:217:20: branch_false: following ‘false’ branch (when ‘root_hash_from_file’ is non-NULL)...
cryptsetup-2.8.3/src/veritysetup.c:222:21: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:222:21: throw: if ‘read_buffer’ throws an exception...
cryptsetup-2.8.3/src/veritysetup.c:222:21: danger: ‘root_hash_from_file’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
cryptsetup-2.8.3/src/veritysetup.c:422:29: warning[-Wanalyzer-malloc-leak]: leak of ‘root_hash’
cryptsetup-2.8.3/src/veritysetup.c:338:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:338:12: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:363:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:366:17: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:369:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:373:21: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:374:20: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/src/veritysetup.c:377:17: branch_false: ...to here
cryptsetup-2.8.3/src/veritysetup.c:421:20: branch_true: following ‘true’ branch...
cryptsetup-2.8.3/src/veritysetup.c:421:56: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:421:56: acquire_memory: allocated here
cryptsetup-2.8.3/src/veritysetup.c:421:21: branch_true: following ‘true’ branch (when ‘root_hash’ is non-NULL)...
cryptsetup-2.8.3/src/veritysetup.c:422:29: branch_true: ...to here
cryptsetup-2.8.3/src/veritysetup.c:422:29: throw: if ‘crypt_volume_key_get’ throws an exception...
cryptsetup-2.8.3/src/veritysetup.c:422:29: danger: ‘root_hash’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: warning[-Wanalyzer-malloc-leak]: leak of 'pass'
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:32:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:38:13: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:39:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:44:16: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:45:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:51:21: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:52:12: branch_false: following 'false' branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:58:20: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:59:16: acquire_memory: allocated here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:60:12: branch_false: following 'false' branch (when 'pass' is non-NULL)...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: throw: if 'sftp_read' throws an exception...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: danger: 'pass' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pass’
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:32:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:38:13: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:39:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:44:16: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:45:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:51:21: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:52:12: branch_false: following ‘false’ branch...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:58:20: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:59:16: acquire_memory: allocated here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:60:12: branch_false: following ‘false’ branch (when ‘pass’ is non-NULL)...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: branch_false: ...to here
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: throw: if ‘sftp_read’ throws an exception...
cryptsetup-2.8.3/tokens/ssh/ssh-utils.c:66:13: danger: ‘pass’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-241.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | cryptsetup-2.8.3-3.fc44 |
| store-results-to | /tmp/tmpecb8z2lx/cryptsetup-2.8.3-3.fc44.tar.xz |
| time-created | 2026-01-08 15:50:17 |
| time-finished | 2026-01-08 15:52:05 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpecb8z2lx/cryptsetup-2.8.3-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpecb8z2lx/cryptsetup-2.8.3-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |