criu-4.2-11.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-476): [#def1]
criu-4.2/compel/plugins/std/infect.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-404): [#def2]
criu-4.2/compel/plugins/std/string.c:14:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/compel/plugins/std/string.c:115:6: enter_function: entry to ‘std_dprintf’
criu-4.2/compel/plugins/std/string.c:119:9: acquire_resource: ‘va_start’ called here
criu-4.2/compel/plugins/std/string.c:120:9: call_function: calling ‘std_vdprintf’ from ‘std_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
criu-4.2/compel/src/lib/handle-elf-host.c:48:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: call_function: calling ‘test_pointer’ from ‘handle_elf_x86_64’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
criu-4.2/compel/src/lib/handle-elf-host.c:102:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
criu-4.2/compel/src/lib/handle-elf-host.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
criu-4.2/compel/src/lib/handle-elf-host.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
criu-4.2/compel/src/lib/handle-elf-host.c:175:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:175:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:175:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
criu-4.2/compel/src/lib/handle-elf-host.c:207:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:199:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:200:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:206:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:207:25: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:207:25: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
criu-4.2/compel/src/lib/handle-elf-host.c:214:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_true: following ‘true’ branch (when ‘symtab_hdr’ is NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:214:17: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:214:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:214:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
criu-4.2/compel/src/lib/handle-elf-host.c:219:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:219:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:219:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
criu-4.2/compel/src/lib/handle-elf-host.c:223:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:223:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:223:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
criu-4.2/compel/src/lib/handle-elf-host.c:224:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:224:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:224:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
criu-4.2/compel/src/lib/handle-elf-host.c:234:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:234:17: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:234:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:234:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
criu-4.2/compel/src/lib/handle-elf-host.c:253:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:241:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:242:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:246:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:247:36: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:248:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:250:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:250:20: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:253:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:253:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:253:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
criu-4.2/compel/src/lib/handle-elf-host.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:282:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:282:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
criu-4.2/compel/src/lib/handle-elf-host.c:283:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:283:9: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:283:9: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
criu-4.2/compel/src/lib/handle-elf-host.c:337:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:337:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:337:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
criu-4.2/compel/src/lib/handle-elf-host.c:347:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:347:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:347:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
criu-4.2/compel/src/lib/handle-elf-host.c:361:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:361:25: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:361:25: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
criu-4.2/compel/src/lib/handle-elf-host.c:371:41: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:371:41: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:371:41: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
criu-4.2/compel/src/lib/handle-elf-host.c:559:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:559:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:559:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
criu-4.2/compel/src/lib/handle-elf-host.c:565:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:364:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:365:52: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:565:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:565:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
criu-4.2/compel/src/lib/handle-elf-host.c:571:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:571:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:571:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
criu-4.2/compel/src/lib/handle-elf-host.c:579:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:579:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:579:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
criu-4.2/compel/src/lib/handle-elf-host.c:589:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:589:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:589:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
criu-4.2/compel/src/lib/handle-elf-host.c:640:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:351:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:352:33: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:640:33: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:640:33: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
criu-4.2/compel/src/lib/handle-elf-host.c:660:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.2/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.2/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.2/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.2/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:180:20: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.2/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:651:28: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:652:40: branch_true: ...to here
criu-4.2/compel/src/lib/handle-elf-host.c:656:20: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/handle-elf-host.c:660:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/handle-elf-host.c:660:17: danger: ‘sec_hdrs’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def32]
criu-4.2/compel/src/lib/infect.c:428: error[nullPointer]: Null pointer dereference: (struct sockaddr_un*)0
Error: CPPCHECK_WARNING (CWE-476): [#def33]
criu-4.2/compel/src/lib/infect.c:708: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def34]
criu-4.2/compel/src/lib/infect.c:929: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
criu-4.2/compel/src/lib/infect.c:929:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/compel/src/lib/infect.c:909:28: branch_true: following ‘true’ branch (when ‘i < nr_relocs’)...
criu-4.2/compel/src/lib/infect.c:910:31: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:929:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
criu-4.2/compel/src/lib/infect.c:1207:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&aux, "r")’
criu-4.2/compel/src/lib/infect.c:1198:13: acquire_resource: opened here
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1202:16: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1206:25: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1207:23: danger: ‘fopen(&aux, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
criu-4.2/compel/src/lib/infect.c:1207:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&aux, "r")’
criu-4.2/compel/src/lib/infect.c:1198:13: acquire_memory: allocated here
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1202:16: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1206:25: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1207:23: danger: ‘fopen(&aux, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def38]
criu-4.2/compel/src/lib/infect.c:1211: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
criu-4.2/compel/src/lib/infect.c:1211:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1199:12: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1202:16: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1206:25: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1211:25: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1211:25: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1211:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
criu-4.2/compel/src/lib/infect.c:1240:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&p, 0)’
criu-4.2/compel/src/lib/infect.c:1234:14: acquire_resource: opened here
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1240:15: throw: if ‘open’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1240:15: danger: ‘open(&p, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
criu-4.2/compel/src/lib/infect.c:1242:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&p, 0)’
criu-4.2/compel/src/lib/infect.c:1234:14: acquire_resource: opened here
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1242:17: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1242:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1242:17: danger: ‘open(&p, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
criu-4.2/compel/src/lib/infect.c:1247:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/ns/net", 0)’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1240:15: acquire_resource: opened here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1247:17: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1247:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1247:17: danger: ‘open("/proc/self/ns/net", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
criu-4.2/compel/src/lib/infect.c:1253:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/ns/net", 0)’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1240:15: acquire_resource: opened here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1251:14: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1252:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
criu-4.2/compel/src/lib/infect.c:1253:17: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1253:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1253:17: danger: ‘open("/proc/self/ns/net", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
criu-4.2/compel/src/lib/infect.c:1257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1251:14: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1251:14: acquire_resource: socket created here
criu-4.2/compel/src/lib/infect.c:1252:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/compel/src/lib/infect.c:1255:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1256:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.2/compel/src/lib/infect.c:1257:17: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1257:17: throw: if ‘compel_print_on_level’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1257:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
criu-4.2/compel/src/lib/infect.c:1259:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1251:14: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1251:14: acquire_resource: socket created here
criu-4.2/compel/src/lib/infect.c:1252:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/compel/src/lib/infect.c:1255:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1256:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.2/compel/src/lib/infect.c:1257:17: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1258:20: branch_true: following ‘true’ branch (when ‘sk >= 0’)...
criu-4.2/compel/src/lib/infect.c:1259:25: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1259:25: throw: if ‘close’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1259:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
criu-4.2/compel/src/lib/infect.c:1263:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1251:14: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1251:14: acquire_resource: socket created here
criu-4.2/compel/src/lib/infect.c:1252:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/compel/src/lib/infect.c:1255:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1256:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/compel/src/lib/infect.c:1262:1: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1263:9: throw: if ‘close’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1263:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
criu-4.2/compel/src/lib/infect.c:1265:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/compel/src/lib/infect.c:1235:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1240:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1241:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1246:13: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1246:12: branch_false: following ‘false’ branch...
criu-4.2/compel/src/lib/infect.c:1251:14: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1251:14: acquire_resource: socket created here
criu-4.2/compel/src/lib/infect.c:1252:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/compel/src/lib/infect.c:1255:15: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1256:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/compel/src/lib/infect.c:1262:1: branch_false: ...to here
criu-4.2/compel/src/lib/infect.c:1265:9: throw: if ‘close’ throws an exception...
criu-4.2/compel/src/lib/infect.c:1265:9: danger: ‘sk’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def48]
criu-4.2/compel/src/lib/infect.c:1537: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
criu-4.2/compel/src/lib/infect.c:1537:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/compel/src/lib/infect.c:1537:9: branch_true: following ‘true’ branch...
criu-4.2/compel/src/lib/infect.c:1537:9: branch_true: ...to here
criu-4.2/compel/src/lib/infect.c:1537:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def50]
criu-4.2/compel/src/lib/log-host.c:32:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/compel/src/lib/log-host.c:25:6: enter_function: entry to ‘compel_print_on_level’
criu-4.2/compel/src/lib/log-host.c:30:12: branch_true: following ‘true’ branch (when ‘fn’ is non-NULL)...
criu-4.2/compel/src/lib/log-host.c:30:28: call_function: inlined call to ‘pr_quelled’ from ‘compel_print_on_level’
criu-4.2/compel/src/lib/log-host.c:31:17: branch_false: ...to here
criu-4.2/compel/src/lib/log-host.c:31:17: acquire_resource: ‘va_start’ called here
criu-4.2/compel/src/lib/log-host.c:32:17: throw: if the called function throws an exception...
criu-4.2/compel/src/lib/log-host.c:32:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def51]
criu-4.2/compel/src/lib/log.c:32:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/compel/src/lib/log.c:25:6: enter_function: entry to ‘compel_print_on_level’
criu-4.2/compel/src/lib/log.c:30:12: branch_true: following ‘true’ branch (when ‘fn’ is non-NULL)...
criu-4.2/compel/src/lib/log.c:30:28: call_function: inlined call to ‘pr_quelled’ from ‘compel_print_on_level’
criu-4.2/compel/src/lib/log.c:31:17: branch_false: ...to here
criu-4.2/compel/src/lib/log.c:31:17: acquire_resource: ‘va_start’ called here
criu-4.2/compel/src/lib/log.c:32:17: throw: if the called function throws an exception...
criu-4.2/compel/src/lib/log.c:32:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
criu-4.2/compel/src/main-host.c:280:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
criu-4.2/compel/src/main-host.c:253:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.2/compel/src/main-host.c:258:18: branch_false: ...to here
criu-4.2/compel/src/main-host.c:267:12: branch_true: following ‘true’ branch (when ‘p1’ is NULL)...
criu-4.2/compel/src/main-host.c:267:12: branch_true: ...to here
criu-4.2/compel/src/main-host.c:269:12: branch_true: following ‘true’ branch (when ‘p2’ is NULL)...
criu-4.2/compel/src/main-host.c:270:17: branch_true: ...to here
criu-4.2/compel/src/main-host.c:273:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.2/compel/src/main-host.c:276:15: branch_false: ...to here
criu-4.2/compel/src/main-host.c:276:15: acquire_memory: this call could return NULL
criu-4.2/compel/src/main-host.c:280:23: danger: ‘p’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
criu-4.2/criu/action-scripts.c:152:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
criu-4.2/criu/action-scripts.c:173:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/action-scripts.c:169:18: acquire_memory: allocated here
criu-4.2/criu/action-scripts.c:169:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/action-scripts.c:173:24: branch_false: ...to here
criu-4.2/criu/action-scripts.c:173:24: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/action-scripts.c:173:24: branch_true: ...to here
criu-4.2/criu/action-scripts.c:173:24: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/action-scripts.c:173:24: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
criu-4.2/criu/action-scripts.c:195:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/action-scripts.c:187:14: acquire_resource: opened here
criu-4.2/criu/action-scripts.c:188:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.2/criu/action-scripts.c:193:9: branch_false: ...to here
criu-4.2/criu/action-scripts.c:195:13: throw: if ‘install_service_fd’ throws an exception...
criu-4.2/criu/action-scripts.c:195:13: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
criu-4.2/criu/aio.c:31:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/aio.c:23:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/aio.c:23:9: branch_false: ...to here
criu-4.2/criu/aio.c:24:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/aio.c:27:14: branch_false: ...to here
criu-4.2/criu/aio.c:27:14: acquire_memory: allocated here
criu-4.2/criu/aio.c:27:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/aio.c:31:9: branch_false: ...to here
criu-4.2/criu/aio.c:31:9: throw: if ‘aio_ring_entry__init’ throws an exception...
criu-4.2/criu/aio.c:31:9: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
criu-4.2/criu/apparmor.c:572:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
criu-4.2/criu/apparmor.c:623:5: enter_function: entry to ‘suspend_aa’
criu-4.2/criu/apparmor.c:626:12: branch_false: following ‘false’ branch...
criu-4.2/criu/apparmor.c:631:15: branch_false: ...to here
criu-4.2/criu/apparmor.c:631:15: call_function: calling ‘do_suspend’ from ‘suspend_aa’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
criu-4.2/criu/apparmor.c:580:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
criu-4.2/criu/apparmor.c:638:5: enter_function: entry to ‘unsuspend_aa’
criu-4.2/criu/apparmor.c:640:16: call_function: calling ‘do_suspend’ from ‘unsuspend_aa’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
criu-4.2/criu/apparmor.c:654:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/apparmor.c:648:12: branch_false: following ‘false’ branch...
criu-4.2/criu/apparmor.c:651:14: branch_false: ...to here
criu-4.2/criu/apparmor.c:651:14: acquire_memory: allocated here
criu-4.2/criu/apparmor.c:651:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/apparmor.c:654:9: branch_false: ...to here
criu-4.2/criu/apparmor.c:654:9: throw: if ‘apparmor_entry__init’ throws an exception...
criu-4.2/criu/apparmor.c:654:9: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
criu-4.2/criu/arch/x86/cpu.c:321:13: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.2/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.2/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/cpu.c:410:13: call_function: inlined call to ‘empty_image’ from ‘cpu_validate_cpuinfo’
criu-4.2/criu/arch/x86/cpu.c:416:13: branch_false: ...to here
criu-4.2/criu/arch/x86/cpu.c:416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/cpu.c:419:25: branch_false: ...to here
criu-4.2/criu/arch/x86/cpu.c:419:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/cpu.c:426:25: branch_false: ...to here
criu-4.2/criu/arch/x86/cpu.c:427:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/cpu.c:433:20: branch_false: ...to here
criu-4.2/criu/arch/x86/cpu.c:433:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.2/criu/arch/x86/cpu.c:433:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.2/criu/arch/x86/cpu.c:434:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/cpu.c:435:23: branch_true: ...to here
criu-4.2/criu/arch/x86/cpu.c:435:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
criu-4.2/criu/arch/x86/crtools.c:107:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.2/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:107:9: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:107:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:107:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
criu-4.2/criu/arch/x86/crtools.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.2/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:107:9: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:108:9: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:108:9: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:108:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
criu-4.2/criu/arch/x86/crtools.c:512:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
criu-4.2/criu/arch/x86/crtools.c:513:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:513:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:513:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
criu-4.2/criu/arch/x86/crtools.c:514:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:514:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:514:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
criu-4.2/criu/arch/x86/crtools.c:515:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:515:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:515:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
criu-4.2/criu/arch/x86/crtools.c:516:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:516:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:516:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
criu-4.2/criu/arch/x86/crtools.c:517:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:517:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:517:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
criu-4.2/criu/arch/x86/crtools.c:518:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/crtools.c:425:5: enter_function: entry to ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:427:22: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:428:34: call_function: inlined call to ‘core_is_compat’ from ‘restore_fpu’
criu-4.2/criu/arch/x86/crtools.c:428:30: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.2/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.2/criu/arch/x86/crtools.c:518:25: branch_true: following ‘true’ branch...
criu-4.2/criu/arch/x86/crtools.c:518:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
criu-4.2/criu/arch/x86/shstk.c:107:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/shstk.c:107:9: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/shstk.c:107:9: branch_false: ...to here
criu-4.2/criu/arch/x86/shstk.c:107:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
criu-4.2/criu/arch/x86/shstk.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/arch/x86/shstk.c:144:13: enter_function: entry to ‘shstk_sync_unlock’
criu-4.2/criu/arch/x86/shstk.c:147:9: call_function: calling ‘futex_set_and_wake’ from ‘shstk_sync_unlock’
criu-4.2/criu/arch/x86/shstk.c:147:9: return_function: returning to ‘shstk_sync_unlock’ from ‘futex_set_and_wake’
criu-4.2/criu/arch/x86/shstk.c:150:9: branch_false: following ‘false’ branch...
criu-4.2/criu/arch/x86/shstk.c:150:9: branch_false: ...to here
criu-4.2/criu/arch/x86/shstk.c:150:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
criu-4.2/criu/autofs.c:170:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pgrp, 0, "fd"))’
criu-4.2/criu/autofs.c:164:15: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:164:15: branch_false: ...to here
criu-4.2/criu/autofs.c:164:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:164:15: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:168:9: branch_false: ...to here
criu-4.2/criu/autofs.c:170:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/autofs.c:170:22: danger: ‘fdopendir(do_open_proc(pgrp, 0, "fd"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
criu-4.2/criu/autofs.c:341:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: throw: if ‘do_open_proc’ throws an exception...
criu-4.2/criu/autofs.c:341:13: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
criu-4.2/criu/autofs.c:355:39: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:353:24: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
criu-4.2/criu/autofs.c:354:29: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:355:39: throw: if ‘xatoi’ throws an exception...
criu-4.2/criu/autofs.c:355:39: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
criu-4.2/criu/autofs.c:355:39: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:353:24: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
criu-4.2/criu/autofs.c:354:29: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:355:39: throw: if ‘xatoi’ throws an exception...
criu-4.2/criu/autofs.c:355:39: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
criu-4.2/criu/autofs.c:364:47: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:358:47: branch_false: ...to here
criu-4.2/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:362:38: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:364:47: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:364:47: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
criu-4.2/criu/autofs.c:364:47: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:358:47: branch_false: ...to here
criu-4.2/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:362:38: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:364:47: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:364:47: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
criu-4.2/criu/autofs.c:366:41: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:358:47: branch_false: ...to here
criu-4.2/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:362:38: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:364:47: branch_true: ...to here
criu-4.2/criu/autofs.c:365:36: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:366:41: branch_true: ...to here
criu-4.2/criu/autofs.c:366:41: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:366:41: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
criu-4.2/criu/autofs.c:366:41: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:346:21: branch_true: ...to here
criu-4.2/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:355:39: branch_true: ...to here
criu-4.2/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:358:47: branch_false: ...to here
criu-4.2/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:362:38: branch_true: ...to here
criu-4.2/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:364:47: branch_true: ...to here
criu-4.2/criu/autofs.c:365:36: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:366:41: branch_true: ...to here
criu-4.2/criu/autofs.c:366:41: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:366:41: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
criu-4.2/criu/autofs.c:374:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:374:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:374:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
criu-4.2/criu/autofs.c:374:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:341:13: branch_false: ...to here
criu-4.2/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.2/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/autofs.c:342:12: branch_false: ...to here
criu-4.2/criu/autofs.c:374:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:374:9: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
criu-4.2/criu/autofs.c:556:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:553:17: acquire_memory: allocated here
criu-4.2/criu/autofs.c:553:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:556:9: branch_false: ...to here
criu-4.2/criu/autofs.c:556:9: throw: if ‘autofs_entry__init’ throws an exception...
criu-4.2/criu/autofs.c:556:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
criu-4.2/criu/autofs.c:631:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
criu-4.2/criu/autofs.c:631:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
criu-4.2/criu/autofs.c:641:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
criu-4.2/criu/autofs.c:641:14: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:694:12: enter_function: entry to ‘autofs_mnt_open’
criu-4.2/criu/autofs.c:703:17: acquire_memory: allocated here
criu-4.2/criu/autofs.c:703:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:707:9: branch_false: ...to here
criu-4.2/criu/autofs.c:712:15: call_function: calling ‘autofs_dev_ioctl’ from ‘autofs_mnt_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
criu-4.2/criu/autofs.c:643:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
criu-4.2/criu/autofs.c:643:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:694:12: enter_function: entry to ‘autofs_mnt_open’
criu-4.2/criu/autofs.c:703:17: acquire_memory: allocated here
criu-4.2/criu/autofs.c:703:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:707:9: branch_false: ...to here
criu-4.2/criu/autofs.c:712:15: call_function: calling ‘autofs_dev_ioctl’ from ‘autofs_mnt_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def89]
criu-4.2/criu/autofs.c:649:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
criu-4.2/criu/autofs.c:649:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
criu-4.2/criu/autofs.c:700:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
criu-4.2/criu/autofs.c:700:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
criu-4.2/criu/autofs.c:703:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
criu-4.2/criu/autofs.c:703:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
criu-4.2/criu/autofs.c:729:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
criu-4.2/criu/autofs.c:729:28: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
criu-4.2/criu/autofs.c:731:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
criu-4.2/criu/autofs.c:731:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
criu-4.2/criu/autofs.c:739:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
criu-4.2/criu/autofs.c:739:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
criu-4.2/criu/autofs.c:743:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
criu-4.2/criu/autofs.c:743:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
criu-4.2/criu/autofs.c:757:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
criu-4.2/criu/autofs.c:757:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
criu-4.2/criu/autofs.c:764:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
criu-4.2/criu/autofs.c:764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
criu-4.2/criu/autofs.c:949:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/autofs.c:949:9: branch_true: following ‘true’ branch (when ‘master’ is NULL)...
criu-4.2/criu/autofs.c:949:9: branch_true: ...to here
criu-4.2/criu/autofs.c:949:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
criu-4.2/criu/autofs.c:1022:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1022:16: throw: if ‘xsprintf’ throws an exception...
criu-4.2/criu/autofs.c:1022:16: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def109]
criu-4.2/criu/autofs.c:1022:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[1]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1022:16: throw: if ‘xsprintf’ throws an exception...
criu-4.2/criu/autofs.c:1022:16: danger: ‘control_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def110]
criu-4.2/criu/autofs.c:1025:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1025:24: throw: if ‘xstrcat’ throws an exception...
criu-4.2/criu/autofs.c:1025:24: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def111]
criu-4.2/criu/autofs.c:1027:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1027:24: throw: if ‘xstrcat’ throws an exception...
criu-4.2/criu/autofs.c:1027:24: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
criu-4.2/criu/autofs.c:1029:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.2/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1029:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:1029:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
criu-4.2/criu/autofs.c:1033:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1033:9: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1033:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
criu-4.2/criu/autofs.c:1035:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:27: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1035:27: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def115]
criu-4.2/criu/autofs.c:1036:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1036:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1036:17: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1036:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
criu-4.2/criu/autofs.c:1040:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/autofs.c:1040:16: branch_true: ...to here
criu-4.2/criu/autofs.c:1040:16: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/autofs.c:1040:16: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
criu-4.2/criu/autofs.c:1051:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:18: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1051:18: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
criu-4.2/criu/autofs.c:1051:18: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:18: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1051:18: danger: ‘___p’ leaks here; was allocated at [(14)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
criu-4.2/criu/autofs.c:1052:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1052:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1052:17: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1052:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
criu-4.2/criu/autofs.c:1052:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1052:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1052:17: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1052:17: danger: ‘___p’ leaks here; was allocated at [(14)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
criu-4.2/criu/autofs.c:1063:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:33: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1063:33: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
criu-4.2/criu/autofs.c:1063:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.2/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.2/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.2/criu/autofs.c:1063:33: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1063:33: danger: ‘___p’ leaks here; was allocated at [(14)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def123]
criu-4.2/criu/autofs.c:1079:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.2/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1079:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/autofs.c:1079:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
criu-4.2/criu/autofs.c:1080:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.2/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1080:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/autofs.c:1080:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def125]
criu-4.2/criu/autofs.c:1086:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1086:20: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1086:20: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
criu-4.2/criu/autofs.c:1087:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.2/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.2/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.2/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.2/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.2/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.2/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.2/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.2/criu/autofs.c:1086:12: branch_true: following ‘true’ branch...
criu-4.2/criu/autofs.c:1087:17: branch_true: ...to here
criu-4.2/criu/autofs.c:1087:17: throw: if ‘service_mountpoint’ throws an exception...
criu-4.2/criu/autofs.c:1087:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
criu-4.2/criu/bfd.c:330:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/bfd.c:310:12: branch_false: following ‘false’ branch...
criu-4.2/criu/bfd.c:310:12: branch_false: ...to here
criu-4.2/criu/bfd.c:313:16: branch_true: following ‘true’ branch (when ‘more == 1’)...
criu-4.2/criu/bfd.c:316:17: branch_true: ...to here
criu-4.2/criu/bfd.c:327:20: branch_false: following ‘false’ branch (when ‘filled >= size’)...
criu-4.2/criu/bfd.c:330:25: branch_false: ...to here
criu-4.2/criu/bfd.c:330:25: branch_true: following ‘true’ branch (when ‘filled > size’)...
criu-4.2/criu/bfd.c:330:25: branch_true: ...to here
criu-4.2/criu/bfd.c:330:25: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def128]
criu-4.2/criu/cgroup-props.c:129: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-682): [#def129]
criu-4.2/criu/cgroup-props.c:206: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
criu-4.2/criu/cgroup-props.c:209:19: warning[-Wanalyzer-malloc-leak]: leak of ‘get_quoted(&stream, & len, 0)’
criu-4.2/criu/cgroup-props.c:498:5: enter_function: entry to ‘cgp_init’
criu-4.2/criu/cgroup-props.c:502:15: call_function: inlined call to ‘cgp_parse_builtins’ from ‘cgp_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
criu-4.2/criu/cgroup.c:493:37: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cgroup.c:483:23: acquire_memory: allocated here
criu-4.2/criu/cgroup.c:483:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:487:29: branch_false: ...to here
criu-4.2/criu/cgroup.c:492:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cgroup.c:493:37: branch_true: ...to here
criu-4.2/criu/cgroup.c:493:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cgroup.c:493:37: branch_true: ...to here
criu-4.2/criu/cgroup.c:493:37: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cgroup.c:493:37: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
criu-4.2/criu/cgroup.c:495:37: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cgroup.c:483:23: acquire_memory: allocated here
criu-4.2/criu/cgroup.c:483:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:487:29: branch_false: ...to here
criu-4.2/criu/cgroup.c:492:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:495:37: branch_false: ...to here
criu-4.2/criu/cgroup.c:495:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cgroup.c:495:37: branch_true: ...to here
criu-4.2/criu/cgroup.c:495:37: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cgroup.c:495:37: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-124): [#def133]
criu-4.2/criu/cgroup.c:1087:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
criu-4.2/criu/cgroup.c:1660:5: enter_function: entry to ‘prepare_cgroup_properties’
criu-4.2/criu/cgroup.c:1665:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cgroup.c:1666:51: branch_true: ...to here
criu-4.2/criu/cgroup.c:1668:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1673:23: branch_false: ...to here
criu-4.2/criu/cgroup.c:1673:23: call_function: calling ‘ctrl_dir_and_opt’ from ‘prepare_cgroup_properties’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def134]
criu-4.2/criu/cgroup.c:1089:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
criu-4.2/criu/cgroup.c:1865:12: enter_function: entry to ‘prepare_cgroup_sfd’
criu-4.2/criu/cgroup.c:1870:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1873:9: branch_false: ...to here
criu-4.2/criu/cgroup.c:1878:27: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:1878:17: branch_false: ...to here
criu-4.2/criu/cgroup.c:1879:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:1898:9: branch_false: ...to here
criu-4.2/criu/cgroup.c:1900:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1905:15: branch_false: ...to here
criu-4.2/criu/cgroup.c:1906:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1909:14: branch_false: ...to here
criu-4.2/criu/cgroup.c:1911:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cgroup.c:1914:43: branch_true: ...to here
criu-4.2/criu/cgroup.c:1916:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1921:67: branch_false: ...to here
criu-4.2/criu/cgroup.c:1921:28: call_function: calling ‘ctrl_dir_and_opt’ from ‘prepare_cgroup_sfd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
criu-4.2/criu/cgroup.c:1520:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cgroup.c:1660:5: enter_function: entry to ‘prepare_cgroup_properties’
criu-4.2/criu/cgroup.c:1665:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cgroup.c:1666:51: branch_true: ...to here
criu-4.2/criu/cgroup.c:1668:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1673:23: branch_false: ...to here
criu-4.2/criu/cgroup.c:1673:23: call_function: calling ‘ctrl_dir_and_opt’ from ‘prepare_cgroup_properties’
criu-4.2/criu/cgroup.c:1673:23: return_function: returning to ‘prepare_cgroup_properties’ from ‘ctrl_dir_and_opt’
criu-4.2/criu/cgroup.c:1674:21: call_function: calling ‘prepare_cgroup_dir_properties’ from ‘prepare_cgroup_properties’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
criu-4.2/criu/cgroup.c:1596:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘___p’
criu-4.2/criu/cgroup.c:1660:5: enter_function: entry to ‘prepare_cgroup_properties’
criu-4.2/criu/cgroup.c:1665:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cgroup.c:1666:51: branch_true: ...to here
criu-4.2/criu/cgroup.c:1668:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1673:23: branch_false: ...to here
criu-4.2/criu/cgroup.c:1673:23: call_function: calling ‘ctrl_dir_and_opt’ from ‘prepare_cgroup_properties’
criu-4.2/criu/cgroup.c:1673:23: return_function: returning to ‘prepare_cgroup_properties’ from ‘ctrl_dir_and_opt’
criu-4.2/criu/cgroup.c:1674:21: call_function: calling ‘prepare_cgroup_dir_properties’ from ‘prepare_cgroup_properties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
criu-4.2/criu/cgroup.c:1905:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cg_yard, 65536)’
criu-4.2/criu/cgroup.c:1870:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1873:9: branch_false: ...to here
criu-4.2/criu/cgroup.c:1878:27: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:1878:17: branch_false: ...to here
criu-4.2/criu/cgroup.c:1879:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:1898:9: branch_false: ...to here
criu-4.2/criu/cgroup.c:1899:13: acquire_resource: opened here
criu-4.2/criu/cgroup.c:1900:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cgroup.c:1905:15: branch_false: ...to here
criu-4.2/criu/cgroup.c:1905:15: danger: ‘open(cg_yard, 65536)’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
criu-4.2/criu/cgroup.c:2293:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cgroup.c:2284:12: branch_false: following ‘false’ branch (when ‘controller’ is non-NULL)...
criu-4.2/criu/cgroup.c:2289:13: branch_false: ...to here
criu-4.2/criu/cgroup.c:2289:13: acquire_memory: allocated here
criu-4.2/criu/cgroup.c:2289:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:2293:25: branch_false: ...to here
criu-4.2/criu/cgroup.c:2293:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cgroup.c:2293:25: branch_true: ...to here
criu-4.2/criu/cgroup.c:2293:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cgroup.c:2293:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
criu-4.2/criu/cgroup.c:2296:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cgroup.c:2284:12: branch_false: following ‘false’ branch (when ‘controller’ is non-NULL)...
criu-4.2/criu/cgroup.c:2289:13: branch_false: ...to here
criu-4.2/criu/cgroup.c:2289:13: acquire_memory: allocated here
criu-4.2/criu/cgroup.c:2289:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:2293:25: branch_false: ...to here
criu-4.2/criu/cgroup.c:2293:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:2293:9: branch_false: ...to here
criu-4.2/criu/cgroup.c:2294:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cgroup.c:2296:22: branch_false: ...to here
criu-4.2/criu/cgroup.c:2296:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cgroup.c:2296:22: branch_true: ...to here
criu-4.2/criu/cgroup.c:2296:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cgroup.c:2296:22: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
criu-4.2/criu/clone-noasan.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/clone-noasan.c:41:9: branch_true: following ‘true’ branch...
criu-4.2/criu/clone-noasan.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
criu-4.2/criu/clone-noasan.c:53:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/clone-noasan.c:53:9: branch_true: following ‘true’ branch...
criu-4.2/criu/clone-noasan.c:53:9: branch_true: ...to here
criu-4.2/criu/clone-noasan.c:53:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
criu-4.2/criu/clone-noasan.c:59:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/clone-noasan.c:53:9: branch_false: following ‘false’ branch...
criu-4.2/criu/clone-noasan.c:59:9: branch_false: ...to here
criu-4.2/criu/clone-noasan.c:59:9: branch_true: following ‘true’ branch...
criu-4.2/criu/clone-noasan.c:59:9: branch_true: ...to here
criu-4.2/criu/clone-noasan.c:59:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def143]
criu-4.2/criu/config.c:267:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
criu-4.2/criu/config.c:604:5: enter_function: entry to ‘parse_options’
criu-4.2/criu/config.c:718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/config.c:718:12: branch_false: ...to here
criu-4.2/criu/config.c:724:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.2/criu/config.c:726:28: branch_true: ...to here
criu-4.2/criu/config.c:737:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
criu-4.2/criu/config.c:267:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
criu-4.2/criu/config.c:604:5: enter_function: entry to ‘parse_options’
criu-4.2/criu/config.c:718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/config.c:718:12: branch_false: ...to here
criu-4.2/criu/config.c:724:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.2/criu/config.c:726:28: branch_true: ...to here
criu-4.2/criu/config.c:737:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def145]
criu-4.2/criu/config.c:269:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
criu-4.2/criu/config.c:604:5: enter_function: entry to ‘parse_options’
criu-4.2/criu/config.c:718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/config.c:718:12: branch_false: ...to here
criu-4.2/criu/config.c:724:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.2/criu/config.c:726:28: branch_true: ...to here
criu-4.2/criu/config.c:737:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
criu-4.2/criu/config.c:269:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
criu-4.2/criu/config.c:604:5: enter_function: entry to ‘parse_options’
criu-4.2/criu/config.c:718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/config.c:718:12: branch_false: ...to here
criu-4.2/criu/config.c:724:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.2/criu/config.c:726:28: branch_true: ...to here
criu-4.2/criu/config.c:737:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
criu-4.2/criu/cr-check.c:97:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.2/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.2/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.2/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.2/criu/cr-check.c:97:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:97:17: danger: ‘slave’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
criu-4.2/criu/cr-check.c:103:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.2/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.2/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.2/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.2/criu/cr-check.c:103:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/cr-check.c:103:9: danger: ‘slave’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
criu-4.2/criu/cr-check.c:104:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.2/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.2/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.2/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.2/criu/cr-check.c:104:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/cr-check.c:104:9: danger: ‘slave’ leaks here; was opened at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
criu-4.2/criu/cr-check.c:141:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ns.<Ue820>.net.nlsk’
criu-4.2/criu/cr-check.c:135:23: acquire_resource: socket created here
criu-4.2/criu/cr-check.c:136:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:141:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:141:15: throw: if ‘collect_sockets’ throws an exception...
criu-4.2/criu/cr-check.c:141:15: danger: ‘ns.<Ue820>.net.nlsk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
criu-4.2/criu/cr-check.c:373:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.2/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:373:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:373:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
criu-4.2/criu/cr-check.c:373:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.2/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:373:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:373:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
criu-4.2/criu/cr-check.c:381:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:381:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:381:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:381:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
criu-4.2/criu/cr-check.c:385:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:385:15: throw: if ‘parse_fdinfo’ throws an exception...
criu-4.2/criu/cr-check.c:385:15: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
criu-4.2/criu/cr-check.c:387:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:386:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:387:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:387:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:387:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
criu-4.2/criu/cr-check.c:392:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:386:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:391:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:392:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:392:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
criu-4.2/criu/cr-check.c:397:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:386:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:391:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:391:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:397:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:397:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
criu-4.2/criu/cr-check.c:400:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:400:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:400:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
criu-4.2/criu/cr-check.c:402:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.2/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:402:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:402:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
criu-4.2/criu/cr-check.c:402:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.2/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:402:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:402:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
criu-4.2/criu/cr-check.c:403:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.2/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:403:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:403:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
criu-4.2/criu/cr-check.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:468:15: throw: if ‘vmsplice’ throws an exception...
criu-4.2/criu/cr-check.c:468:15: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
criu-4.2/criu/cr-check.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:468:15: throw: if ‘vmsplice’ throws an exception...
criu-4.2/criu/cr-check.c:468:15: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
criu-4.2/criu/cr-check.c:470:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:469:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/cr-check.c:470:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:470:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:470:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
criu-4.2/criu/cr-check.c:474:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:469:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:474:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:474:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:474:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
criu-4.2/criu/cr-check.c:477:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:469:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/cr-check.c:470:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:477:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:477:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
criu-4.2/criu/cr-check.c:477:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[ret]’
criu-4.2/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:469:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-check.c:474:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:477:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:477:9: danger: ‘p[ret]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
criu-4.2/criu/cr-check.c:613:33: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/cr-check.c:593:16: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:593:16: branch_false: ...to here
criu-4.2/criu/cr-check.c:593:16: acquire_memory: allocated here
criu-4.2/criu/cr-check.c:593:16: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/cr-check.c:594:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:594:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/cr-check.c:594:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:597:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:602:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:603:20: branch_false: following ‘false’ branch (when ‘r == 2’)...
criu-4.2/criu/cr-check.c:603:20: branch_false: ...to here
criu-4.2/criu/cr-check.c:613:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:613:33: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
criu-4.2/criu/cr-check.c:958:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.2/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1011:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
criu-4.2/criu/cr-check.c:967:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.2/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1011:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
criu-4.2/criu/cr-check.c:967:33: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/cr-check.c:958:13: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:958:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:958:13: acquire_memory: allocated here
criu-4.2/criu/cr-check.c:958:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/cr-check.c:959:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:959:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/cr-check.c:959:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:962:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:963:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:963:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:964:29: branch_true: ...to here
criu-4.2/criu/cr-check.c:964:28: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:967:33: branch_false: ...to here
criu-4.2/criu/cr-check.c:967:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:967:33: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
criu-4.2/criu/cr-check.c:994:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:994:19: throw: if ‘xsprintf’ throws an exception...
criu-4.2/criu/cr-check.c:994:19: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
criu-4.2/criu/cr-check.c:994:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:994:19: throw: if ‘xsprintf’ throws an exception...
criu-4.2/criu/cr-check.c:994:19: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
criu-4.2/criu/cr-check.c:996:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:996:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:996:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:996:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
criu-4.2/criu/cr-check.c:1002:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_true: following ‘true’ branch (when ‘dir’ is NULL)...
criu-4.2/criu/cr-check.c:1002:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:1002:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:1002:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
criu-4.2/criu/cr-check.c:1007:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.2/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:1006:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1007:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:1007:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:1007:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
criu-4.2/criu/cr-check.c:1014:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.2/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1013:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1014:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:1014:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:1014:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
criu-4.2/criu/cr-check.c:1018:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.2/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.2/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:1017:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1018:17: branch_true: ...to here
criu-4.2/criu/cr-check.c:1018:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:1018:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
criu-4.2/criu/cr-check.c:1022:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.2/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.2/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.2/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.2/criu/cr-check.c:1022:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-check.c:1022:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
criu-4.2/criu/cr-check.c:1060:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/cr-check.c:1040:12: enter_function: entry to ‘check_tcp’
criu-4.2/criu/cr-check.c:1046:14: acquire_resource: stream socket created here
criu-4.2/criu/cr-check.c:1047:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/cr-check.c:1052:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:1053:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1053:35: call_function: inlined call to ‘has_cap_net_admin’ from ‘check_tcp’
criu-4.2/criu/cr-check.c:1053:13: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1060:17: branch_false: ...to here
criu-4.2/criu/cr-check.c:1060:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-check.c:1060:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
criu-4.2/criu/cr-check.c:1421:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_resource: opened here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
criu-4.2/criu/cr-check.c:1421:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_memory: allocated here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
criu-4.2/criu/cr-check.c:1426:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_resource: opened here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1426:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:1426:20: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
criu-4.2/criu/cr-check.c:1426:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_memory: allocated here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1426:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:1426:20: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
criu-4.2/criu/cr-check.c:1431:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_resource: opened here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1426:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:1426:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1431:21: branch_false: ...to here
criu-4.2/criu/cr-check.c:1431:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
criu-4.2/criu/cr-check.c:1431:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/cr-check.c:1415:16: acquire_memory: allocated here
criu-4.2/criu/cr-check.c:1416:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1416:12: branch_false: ...to here
criu-4.2/criu/cr-check.c:1421:16: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-check.c:1426:21: branch_true: ...to here
criu-4.2/criu/cr-check.c:1426:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1431:21: branch_false: ...to here
criu-4.2/criu/cr-check.c:1431:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
criu-4.2/criu/cr-dedup.c:29:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("parent")’
criu-4.2/criu/cr-dedup.c:20:16: acquire_memory: allocated here
criu-4.2/criu/cr-dedup.c:21:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dedup.c:21:12: branch_false: ...to here
criu-4.2/criu/cr-dedup.c:29:23: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/cr-dedup.c:29:23: danger: ‘opendir("parent")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def188]
criu-4.2/criu/cr-dump.c:113:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.2/criu/cr-dump.c:1556:12: enter_function: entry to ‘dump_one_task’
criu-4.2/criu/cr-dump.c:1574:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:1580:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1582:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1583:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1788:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def189]
criu-4.2/criu/cr-dump.c:114:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.2/criu/cr-dump.c:1556:12: enter_function: entry to ‘dump_one_task’
criu-4.2/criu/cr-dump.c:1574:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:1580:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1582:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1583:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1788:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def190]
criu-4.2/criu/cr-dump.c:115:17: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘vma_area’ which points to memory on the stack
criu-4.2/criu/cr-dump.c:1556:12: enter_function: entry to ‘dump_one_task’
criu-4.2/criu/cr-dump.c:1574:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:1580:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1582:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1583:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1788:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
criu-4.2/criu/cr-dump.c:220:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:730:5: enter_function: entry to ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:746:12: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/cr-dump.c:747:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:747:23: call_function: calling ‘dump_sched_info’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:747:23: return_function: returning to ‘dump_thread_core’ from ‘dump_sched_info’
criu-4.2/criu/cr-dump.c:748:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:749:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:749:17: call_function: calling ‘core_put_tls’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:749:17: return_function: returning to ‘dump_thread_core’ from ‘core_put_tls’
criu-4.2/criu/cr-dump.c:751:17: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:752:17: call_function: inlined call to ‘copy_sas’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:753:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:757:28: branch_false: ...to here
criu-4.2/criu/cr-dump.c:757:28: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:757:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:757:17: branch_false: ...to here
criu-4.2/criu/cr-dump.c:758:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:762:23: branch_false: ...to here
criu-4.2/criu/cr-dump.c:772:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:773:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:773:23: call_function: calling ‘check_thread_rseq’ from ‘dump_thread_core’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
criu-4.2/criu/cr-dump.c:227:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:730:5: enter_function: entry to ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:746:12: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/cr-dump.c:747:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:747:23: call_function: calling ‘dump_sched_info’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:747:23: return_function: returning to ‘dump_thread_core’ from ‘dump_sched_info’
criu-4.2/criu/cr-dump.c:748:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:749:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:749:17: call_function: calling ‘core_put_tls’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:749:17: return_function: returning to ‘dump_thread_core’ from ‘core_put_tls’
criu-4.2/criu/cr-dump.c:751:17: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:752:17: call_function: inlined call to ‘copy_sas’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:753:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:757:28: branch_false: ...to here
criu-4.2/criu/cr-dump.c:757:28: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:757:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:757:17: branch_false: ...to here
criu-4.2/criu/cr-dump.c:758:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:762:23: branch_false: ...to here
criu-4.2/criu/cr-dump.c:772:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:773:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:773:23: call_function: calling ‘check_thread_rseq’ from ‘dump_thread_core’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
criu-4.2/criu/cr-dump.c:252:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "fd"))’
criu-4.2/criu/cr-dump.c:247:18: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:247:18: branch_false: ...to here
criu-4.2/criu/cr-dump.c:247:18: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:247:18: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:248:12: branch_false: ...to here
criu-4.2/criu/cr-dump.c:248:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:248:12: branch_false: ...to here
criu-4.2/criu/cr-dump.c:252:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/cr-dump.c:252:22: danger: ‘fdopendir(do_open_proc(pid, 0, "fd"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
criu-4.2/criu/cr-dump.c:441:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-dump.c:441:9: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:441:9: branch_true: ...to here
criu-4.2/criu/cr-dump.c:441:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
criu-4.2/criu/cr-dump.c:477:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:509:12: enter_function: entry to ‘dump_task_mm’
criu-4.2/criu/cr-dump.c:521:20: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:525:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.2/criu/cr-dump.c:526:27: branch_true: ...to here
criu-4.2/criu/cr-dump.c:530:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:532:26: branch_false: ...to here
criu-4.2/criu/cr-dump.c:532:25: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:533:31: branch_true: ...to here
criu-4.2/criu/cr-dump.c:533:31: call_function: calling ‘check_sysvipc_map_dump’ from ‘dump_task_mm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
criu-4.2/criu/cr-dump.c:486:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:509:12: enter_function: entry to ‘dump_task_mm’
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:525:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.2/criu/cr-dump.c:526:27: branch_true: ...to here
criu-4.2/criu/cr-dump.c:543:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:544:31: branch_true: ...to here
criu-4.2/criu/cr-dump.c:545:28: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:571:29: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:571:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:571:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:572:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:575:13: branch_false: ...to here
criu-4.2/criu/cr-dump.c:575:13: call_function: calling ‘get_task_auxv’ from ‘dump_task_mm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
criu-4.2/criu/cr-dump.c:528:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:521:20: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:525:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.2/criu/cr-dump.c:526:27: branch_true: ...to here
criu-4.2/criu/cr-dump.c:528:17: throw: if ‘pr_vma’ throws an exception...
criu-4.2/criu/cr-dump.c:528:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
criu-4.2/criu/cr-dump.c:535:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:521:20: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:525:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.2/criu/cr-dump.c:526:27: branch_true: ...to here
criu-4.2/criu/cr-dump.c:530:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:532:26: branch_false: ...to here
criu-4.2/criu/cr-dump.c:532:25: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:534:26: branch_false: ...to here
criu-4.2/criu/cr-dump.c:534:25: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:535:31: branch_true: ...to here
criu-4.2/criu/cr-dump.c:535:31: throw: if ‘dump_socket_map’ throws an exception...
criu-4.2/criu/cr-dump.c:535:31: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
criu-4.2/criu/cr-dump.c:544:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:521:20: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:525:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.2/criu/cr-dump.c:526:27: branch_true: ...to here
criu-4.2/criu/cr-dump.c:530:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:541:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:543:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:544:31: branch_true: ...to here
criu-4.2/criu/cr-dump.c:544:31: throw: if ‘dump_aio_ring’ throws an exception...
criu-4.2/criu/cr-dump.c:544:31: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
criu-4.2/criu/cr-dump.c:571:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:521:20: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:521:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:521:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:522:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:525:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:571:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cr-dump.c:571:29: branch_true: ...to here
criu-4.2/criu/cr-dump.c:571:29: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-dump.c:571:29: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
criu-4.2/criu/cr-dump.c:751:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-dump.c:730:5: enter_function: entry to ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:746:12: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/cr-dump.c:747:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:747:23: call_function: calling ‘dump_sched_info’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:747:23: return_function: returning to ‘dump_thread_core’ from ‘dump_sched_info’
criu-4.2/criu/cr-dump.c:748:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:749:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:749:17: call_function: calling ‘core_put_tls’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:749:17: return_function: returning to ‘dump_thread_core’ from ‘core_put_tls’
criu-4.2/criu/cr-dump.c:751:17: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:751:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:751:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
criu-4.2/criu/cr-dump.c:762:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:730:5: enter_function: entry to ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:746:12: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/cr-dump.c:747:23: branch_true: ...to here
criu-4.2/criu/cr-dump.c:747:23: call_function: calling ‘dump_sched_info’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:747:23: return_function: returning to ‘dump_thread_core’ from ‘dump_sched_info’
criu-4.2/criu/cr-dump.c:748:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:749:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:749:17: call_function: calling ‘core_put_tls’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:749:17: return_function: returning to ‘dump_thread_core’ from ‘core_put_tls’
criu-4.2/criu/cr-dump.c:751:17: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:752:17: call_function: inlined call to ‘copy_sas’ from ‘dump_thread_core’
criu-4.2/criu/cr-dump.c:753:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:757:28: branch_false: ...to here
criu-4.2/criu/cr-dump.c:757:28: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:757:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:757:17: branch_false: ...to here
criu-4.2/criu/cr-dump.c:758:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:762:23: branch_false: ...to here
criu-4.2/criu/cr-dump.c:762:23: throw: if ‘seccomp_dump_thread’ throws an exception...
criu-4.2/criu/cr-dump.c:762:23: danger: ‘___p’ leaks here; was allocated at [(23)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
criu-4.2/criu/cr-dump.c:1060:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:1056:17: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:1056:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1060:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1060:9: throw: if ‘signal_queue_entry__init’ throws an exception...
criu-4.2/criu/cr-dump.c:1060:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
criu-4.2/criu/cr-dump.c:1106:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:1056:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1060:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1066:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1072:28: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1073:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/cr-dump.c:1078:20: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1078:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/cr-dump.c:1089:17: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1090:34: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1090:17: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1091:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1097:31: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1097:54: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1100:30: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1100:30: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:1100:30: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1106:25: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1106:25: throw: if ‘siginfo_entry__init’ throws an exception...
criu-4.2/criu/cr-dump.c:1106:25: danger: ‘___p’ leaks here; was allocated at [(16)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
criu-4.2/criu/cr-dump.c:1230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-dump.c:1208:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1211:15: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1212:12: branch_false: following ‘false’ branch (when ‘ret == 24’)...
criu-4.2/criu/cr-dump.c:1217:13: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1217:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:1223:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1226:17: acquire_memory: allocated here
criu-4.2/criu/cr-dump.c:1226:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1230:9: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1230:9: throw: if ‘rseq_entry__init’ throws an exception...
criu-4.2/criu/cr-dump.c:1230:9: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
criu-4.2/criu/cr-dump.c:1416:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-dump.c:1395:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.2/criu/cr-dump.c:1396:21: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1410:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-dump.c:1413:29: branch_false: ...to here
criu-4.2/criu/cr-dump.c:1416:17: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-dump.c:1416:17: branch_true: ...to here
criu-4.2/criu/cr-dump.c:1416:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
criu-4.2/criu/cr-dump.c:1815:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
criu-4.2/criu/cr-restore.c:153:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
criu-4.2/criu/cr-restore.c:173:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
criu-4.2/criu/cr-restore.c:182:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:182:9: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:182:9: branch_false: ...to here
criu-4.2/criu/cr-restore.c:182:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
criu-4.2/criu/cr-restore.c:391:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:389:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:390:50: branch_true: ...to here
criu-4.2/criu/cr-restore.c:391:17: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:391:17: branch_true: ...to here
criu-4.2/criu/cr-restore.c:391:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
criu-4.2/criu/cr-restore.c:508:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-restore.c:520:12: enter_function: entry to ‘open_cores’
criu-4.2/criu/cr-restore.c:525:17: acquire_memory: allocated here
criu-4.2/criu/cr-restore.c:525:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:526:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:529:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:530:24: branch_true: ...to here
criu-4.2/criu/cr-restore.c:534:26: call_function: calling ‘open_core’ from ‘open_cores’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
criu-4.2/criu/cr-restore.c:510:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-restore.c:520:12: enter_function: entry to ‘open_cores’
criu-4.2/criu/cr-restore.c:525:17: acquire_memory: allocated here
criu-4.2/criu/cr-restore.c:525:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:526:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:529:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:530:24: branch_true: ...to here
criu-4.2/criu/cr-restore.c:534:26: call_function: calling ‘open_core’ from ‘open_cores’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
criu-4.2/criu/cr-restore.c:514:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-restore.c:520:12: enter_function: entry to ‘open_cores’
criu-4.2/criu/cr-restore.c:525:17: acquire_memory: allocated here
criu-4.2/criu/cr-restore.c:525:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:526:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:529:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:530:24: branch_true: ...to here
criu-4.2/criu/cr-restore.c:534:26: call_function: calling ‘open_core’ from ‘open_cores’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
criu-4.2/criu/cr-restore.c:515:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/cr-restore.c:520:12: enter_function: entry to ‘open_cores’
criu-4.2/criu/cr-restore.c:525:17: acquire_memory: allocated here
criu-4.2/criu/cr-restore.c:525:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:526:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/cr-restore.c:526:12: branch_false: ...to here
criu-4.2/criu/cr-restore.c:529:21: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:530:24: branch_true: ...to here
criu-4.2/criu/cr-restore.c:534:26: call_function: calling ‘open_core’ from ‘open_cores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
criu-4.2/criu/cr-restore.c:1174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:1090:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:1136:38: branch_false: ...to here
criu-4.2/criu/cr-restore.c:1174:9: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1174:9: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1174:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
criu-4.2/criu/cr-restore.c:1412:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:1381:13: enter_function: entry to ‘restore_pgid’
criu-4.2/criu/cr-restore.c:1398:12: branch_false: following ‘false’ branch (when ‘my_pgid != pgid’)...
criu-4.2/criu/cr-restore.c:1401:24: branch_false: ...to here
criu-4.2/criu/cr-restore.c:1401:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1410:17: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1411:20: branch_true: following ‘true’ branch (when ‘leader’ is non-NULL)...
criu-4.2/criu/cr-restore.c:1412:25: call_function: inlined call to ‘vpid’ from ‘restore_pgid’
criu-4.2/criu/cr-restore.c:1412:25: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1412:25: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1412:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
criu-4.2/criu/cr-restore.c:1413:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:1381:13: enter_function: entry to ‘restore_pgid’
criu-4.2/criu/cr-restore.c:1398:12: branch_false: following ‘false’ branch (when ‘my_pgid != pgid’)...
criu-4.2/criu/cr-restore.c:1401:24: branch_false: ...to here
criu-4.2/criu/cr-restore.c:1401:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1410:17: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1411:20: branch_true: following ‘true’ branch (when ‘leader’ is non-NULL)...
criu-4.2/criu/cr-restore.c:1412:25: call_function: inlined call to ‘vpid’ from ‘restore_pgid’
criu-4.2/criu/cr-restore.c:1412:25: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:1412:25: branch_false: ...to here
criu-4.2/criu/cr-restore.c:1413:25: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:1413:25: branch_false: ...to here
criu-4.2/criu/cr-restore.c:1413:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
criu-4.2/criu/cr-restore.c:1463:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/cr-restore.c:1453:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1454:28: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1454:28: acquire_resource: opened here
criu-4.2/criu/cr-restore.c:1462:12: branch_true: following ‘true’ branch (when ‘fd >= 0’)...
criu-4.2/criu/cr-restore.c:1463:23: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1463:23: throw: if ‘set_proc_fd’ throws an exception...
criu-4.2/criu/cr-restore.c:1463:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
criu-4.2/criu/cr-restore.c:1486:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-restore.c:1482:9: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1483:22: branch_true: ...to here
criu-4.2/criu/cr-restore.c:1486:17: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-restore.c:1486:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
criu-4.2/criu/cr-restore.c:2016:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc", 65536)’
criu-4.2/criu/cr-restore.c:2005:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:2010:14: branch_false: ...to here
criu-4.2/criu/cr-restore.c:2010:14: acquire_resource: opened here
criu-4.2/criu/cr-restore.c:2011:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-restore.c:2016:15: branch_false: ...to here
criu-4.2/criu/cr-restore.c:2016:15: danger: ‘open("/proc", 65536)’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
criu-4.2/criu/cr-service.c:71:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/criu/cr-service.c:1356:5: enter_function: entry to ‘cr_service_work’
criu-4.2/criu/cr-service.c:1372:13: call_function: calling ‘recv_criu_msg’ from ‘cr_service_work’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
criu-4.2/criu/cr-service.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/criu/cr-service.c:1270:12: enter_function: entry to ‘handle_wait_pid’
criu-4.2/criu/cr-service.c:1290:16: call_function: inlined call to ‘send_criu_msg’ from ‘handle_wait_pid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def224]
criu-4.2/criu/cr-service.c:410:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
criu-4.2/criu/cr-service.c:432:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
criu-4.2/criu/cr-service.c:436:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
criu-4.2/criu/cr-service.c:436:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/cr-service.c:1293:12: enter_function: entry to ‘handle_cpuinfo’
criu-4.2/criu/cr-service.c:1299:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1304:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1305:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/cr-service.c:1310:12: branch_false: ...to here
criu-4.2/criu/cr-service.c:1310:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1313:30: branch_true: ...to here
criu-4.2/criu/cr-service.c:1314:21: call_function: calling ‘setup_opts_from_req’ from ‘handle_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
criu-4.2/criu/cr-service.c:442:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
criu-4.2/criu/cr-service.c:443:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
criu-4.2/criu/cr-service.c:462:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1037:12: enter_function: entry to ‘start_page_server_req’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1061:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def231]
criu-4.2/criu/cr-service.c:1058:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[(int)ps.has_port]’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1058:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-service.c:1058:17: danger: ‘start_pipe[(int)ps.has_port]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
criu-4.2/criu/cr-service.c:1058:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.2/criu/cr-service.c:1046:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1051:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1051:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1056:15: branch_false: ...to here
criu-4.2/criu/cr-service.c:1057:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/cr-service.c:1058:17: branch_true: ...to here
criu-4.2/criu/cr-service.c:1058:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/cr-service.c:1058:17: danger: ‘start_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def233]
criu-4.2/criu/cr-service.c:1469:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1493:5: enter_function: entry to ‘cr_service’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1546:12: branch_false: following ‘false’ branch (when ‘daemon_mode == 0’)...
criu-4.2/criu/cr-service.c:1553:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1553:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1560:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1560:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
criu-4.2/criu/cr-service.c:1516:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1515:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1516:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1516:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1516:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
criu-4.2/criu/cr-service.c:1517:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1515:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1516:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1517:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/cr-service.c:1517:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1517:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1517:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
criu-4.2/criu/cr-service.c:1541:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1541:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1541:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1541:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
criu-4.2/criu/cr-service.c:1548:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1546:12: branch_true: following ‘true’ branch (when ‘daemon_mode != 0’)...
criu-4.2/criu/cr-service.c:1547:21: branch_true: ...to here
criu-4.2/criu/cr-service.c:1547:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1548:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1548:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1548:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
criu-4.2/criu/cr-service.c:1554:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1553:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1554:35: branch_true: ...to here
criu-4.2/criu/cr-service.c:1554:21: throw: if ‘write_pidfile’ throws an exception...
criu-4.2/criu/cr-service.c:1554:21: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
criu-4.2/criu/cr-service.c:1555:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1553:12: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1554:35: branch_true: ...to here
criu-4.2/criu/cr-service.c:1554:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1555:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1555:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1555:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
criu-4.2/criu/cr-service.c:1563:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1493:5: enter_function: entry to ‘cr_service’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1560:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.2/criu/cr-service.c:1560:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.2/criu/cr-service.c:1560:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1563:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1563:13: throw: if ‘status_ready’ throws an exception...
criu-4.2/criu/cr-service.c:1563:13: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
criu-4.2/criu/cr-service.c:1569:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1493:5: enter_function: entry to ‘cr_service’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1560:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.2/criu/cr-service.c:1560:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.2/criu/cr-service.c:1560:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1563:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1563:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1563:12: branch_false: ...to here
criu-4.2/criu/cr-service.c:1569:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/cr-service.c:1569:17: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
criu-4.2/criu/cr-service.c:1571:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1493:5: enter_function: entry to ‘cr_service’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1602:1: branch_false: ...to here
criu-4.2/criu/cr-service.c:1560:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.2/criu/cr-service.c:1560:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.2/criu/cr-service.c:1560:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1563:13: branch_false: ...to here
criu-4.2/criu/cr-service.c:1563:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1563:12: branch_false: ...to here
criu-4.2/criu/cr-service.c:1571:22: throw: if ‘accept’ throws an exception...
criu-4.2/criu/cr-service.c:1571:22: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
criu-4.2/criu/cr-service.c:1599:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.2/criu/cr-service.c:1505:29: acquire_resource: socket created here
criu-4.2/criu/cr-service.c:1506:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1511:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1527:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1532:17: branch_false: ...to here
criu-4.2/criu/cr-service.c:1535:20: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-service.c:1540:21: branch_false: ...to here
criu-4.2/criu/cr-service.c:1540:20: branch_true: following ‘true’ branch...
criu-4.2/criu/cr-service.c:1541:25: branch_true: ...to here
criu-4.2/criu/cr-service.c:1599:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/cr-service.c:1599:9: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
criu-4.2/criu/crtools.c:140:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/crtools.c:140:9: branch_true: following ‘true’ branch...
criu-4.2/criu/crtools.c:140:9: branch_true: ...to here
criu-4.2/criu/crtools.c:140:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def245]
criu-4.2/criu/eventpoll.c:112:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).e’
criu-4.2/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:133:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:165:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:166:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:169:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:172:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:167:25: branch_true: ...to here
criu-4.2/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.2/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def246]
criu-4.2/criu/eventpoll.c:112:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘dinfo’
criu-4.2/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:133:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:165:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:166:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:169:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:172:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:167:25: branch_true: ...to here
criu-4.2/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.2/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def247]
criu-4.2/criu/eventpoll.c:115:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).fe’
criu-4.2/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:133:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:165:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:166:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:169:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:172:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:167:25: branch_true: ...to here
criu-4.2/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.2/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def248]
criu-4.2/criu/eventpoll.c:116:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*((struct eventpoll_dinfo)*((struct list_head *)dinfo)).e.tfd’
criu-4.2/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:133:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:165:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:166:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:169:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:172:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:167:25: branch_true: ...to here
criu-4.2/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.2/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def249]
criu-4.2/criu/eventpoll.c:118:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).toff’
criu-4.2/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:133:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:165:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:166:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:169:29: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:172:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.2/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.2/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.2/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.2/criu/eventpoll.c:166:20: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:167:25: branch_true: ...to here
criu-4.2/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.2/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
criu-4.2/criu/eventpoll.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/eventpoll.c:261:13: acquire_memory: allocated here
criu-4.2/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:264:9: throw: if ‘eventpoll_file_entry__init’ throws an exception...
criu-4.2/criu/eventpoll.c:264:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
criu-4.2/criu/eventpoll.c:269:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:266:14: acquire_memory: allocated here
criu-4.2/criu/eventpoll.c:266:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:266:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:267:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:269:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:269:9: throw: if ‘file_entry__init’ throws an exception...
criu-4.2/criu/eventpoll.c:269:9: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
criu-4.2/criu/eventpoll.c:297:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:266:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:266:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:267:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:269:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:275:12: branch_false: following ‘false’ branch...
criu-4.2/criu/eventpoll.c:278:9: branch_false: ...to here
criu-4.2/criu/eventpoll.c:287:12: branch_true: following ‘true’ branch...
criu-4.2/criu/eventpoll.c:288:24: branch_true: ...to here
criu-4.2/criu/eventpoll.c:288:24: acquire_memory: allocated here
criu-4.2/criu/eventpoll.c:288:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:288:17: branch_false: ...to here
criu-4.2/criu/eventpoll.c:289:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/eventpoll.c:289:20: branch_false: ...to here
criu-4.2/criu/eventpoll.c:297:17: throw: if ‘qsort’ throws an exception...
criu-4.2/criu/eventpoll.c:297:17: danger: ‘___p’ leaks here; was allocated at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
criu-4.2/criu/external.c:22:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/external.c:11:5: enter_function: entry to ‘add_external’
criu-4.2/criu/external.c:15:13: call_function: inlined call to ‘strstartswith’ from ‘add_external’
criu-4.2/criu/external.c:15:12: branch_false: following ‘false’ branch...
criu-4.2/criu/external.c:18:15: branch_false: ...to here
criu-4.2/criu/external.c:18:15: acquire_memory: allocated here
criu-4.2/criu/external.c:18:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/external.c:22:19: branch_false: ...to here
criu-4.2/criu/external.c:22:19: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/external.c:22:19: branch_true: ...to here
criu-4.2/criu/external.c:22:19: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/external.c:22:19: danger: ‘___p’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
criu-4.2/criu/file-lock.c:174:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/file-lock.c:162:12: branch_false: following ‘false’ branch...
criu-4.2/criu/file-lock.c:169:13: branch_false: ...to here
criu-4.2/criu/file-lock.c:169:12: branch_true: following ‘true’ branch...
criu-4.2/criu/file-lock.c:170:21: branch_true: ...to here
criu-4.2/criu/file-lock.c:170:20: branch_true: following ‘true’ branch...
criu-4.2/criu/file-lock.c:173:29: branch_true: ...to here
criu-4.2/criu/file-lock.c:174:25: branch_true: following ‘true’ branch...
criu-4.2/criu/file-lock.c:174:25: branch_true: ...to here
criu-4.2/criu/file-lock.c:174:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
criu-4.2/criu/files-reg.c:126:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.2/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.2/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.2/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
criu-4.2/criu/files-reg.c:1141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.2/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.2/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.2/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
criu-4.2/criu/files-reg.c:1267:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.2/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.2/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.2/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.2/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
criu-4.2/criu/files-reg.c:1835:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1777:12: branch_true: following ‘true’ branch...
criu-4.2/criu/files-reg.c:1779:28: branch_true: ...to here
criu-4.2/criu/files-reg.c:1779:28: acquire_memory: allocated here
criu-4.2/criu/files-reg.c:1779:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files-reg.c:1779:17: branch_false: ...to here
criu-4.2/criu/files-reg.c:1834:16: call_function: calling ‘img_from_set’ from ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1834:16: return_function: returning to ‘dump_one_reg_file’ from ‘img_from_set’
criu-4.2/criu/files-reg.c:1835:15: throw: if ‘pb_write_one’ throws an exception...
criu-4.2/criu/files-reg.c:1835:15: danger: ‘___p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
criu-4.2/criu/files-reg.c:1858:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:1858:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files-reg.c:1858:9: branch_true: ...to here
criu-4.2/criu/files-reg.c:1858:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def260]
criu-4.2/criu/files-reg.c:1967:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:1963:16: branch_true: following ‘true’ branch (when ‘count > 0’)...
criu-4.2/criu/files-reg.c:1964:21: branch_true: ...to here
criu-4.2/criu/files-reg.c:1965:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.2/criu/files-reg.c:1967:25: branch_true: ...to here
criu-4.2/criu/files-reg.c:1967:25: branch_false: following ‘false’ branch (when ‘prev’ is NULL)...
criu-4.2/criu/files-reg.c:1968:25: branch_false: ...to here
criu-4.2/criu/files-reg.c:1981:20: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:1985:17: branch_false: ...to here
criu-4.2/criu/files-reg.c:1963:16: branch_true: following ‘true’ branch (when ‘count > 0’)...
criu-4.2/criu/files-reg.c:1964:21: branch_true: ...to here
criu-4.2/criu/files-reg.c:1965:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.2/criu/files-reg.c:1967:25: branch_true: ...to here
criu-4.2/criu/files-reg.c:1967:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
criu-4.2/criu/files-reg.c:2090:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.2/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.2/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.2/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2079:12: branch_false: ...to here
criu-4.2/criu/files-reg.c:2090:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files-reg.c:2090:9: branch_true: ...to here
criu-4.2/criu/files-reg.c:2090:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
criu-4.2/criu/files-reg.c:2091:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.2/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.2/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.2/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2079:12: branch_false: ...to here
criu-4.2/criu/files-reg.c:2090:9: branch_false: following ‘false’ branch...
criu-4.2/criu/files-reg.c:2091:9: branch_false: ...to here
criu-4.2/criu/files-reg.c:2091:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files-reg.c:2091:9: branch_true: ...to here
criu-4.2/criu/files-reg.c:2091:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
criu-4.2/criu/files-reg.c:2478:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
criu-4.2/criu/files.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
criu-4.2/criu/files.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:225:9: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:225:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
criu-4.2/criu/files.c:244:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
criu-4.2/criu/files.c:637:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:633:16: acquire_memory: allocated here
criu-4.2/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:637:16: branch_false: ...to here
criu-4.2/criu/files.c:637:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/files.c:637:16: branch_true: ...to here
criu-4.2/criu/files.c:637:16: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/files.c:637:16: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
criu-4.2/criu/files.c:641:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:633:16: acquire_memory: allocated here
criu-4.2/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:637:16: branch_false: ...to here
criu-4.2/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:641:15: branch_false: ...to here
criu-4.2/criu/files.c:641:15: throw: if ‘open_image_at’ throws an exception...
criu-4.2/criu/files.c:641:15: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
criu-4.2/criu/files.c:650:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:633:16: acquire_memory: allocated here
criu-4.2/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:637:16: branch_false: ...to here
criu-4.2/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:641:15: branch_false: ...to here
criu-4.2/criu/files.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:642:12: branch_false: ...to here
criu-4.2/criu/files.c:646:23: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:647:20: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:650:23: branch_false: ...to here
criu-4.2/criu/files.c:650:23: throw: if ‘parasite_drain_fds_seized’ throws an exception...
criu-4.2/criu/files.c:650:23: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
criu-4.2/criu/files.c:670:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:633:16: acquire_memory: allocated here
criu-4.2/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:637:16: branch_false: ...to here
criu-4.2/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:641:15: branch_false: ...to here
criu-4.2/criu/files.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:642:12: branch_false: ...to here
criu-4.2/criu/files.c:646:23: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/files.c:646:41: branch_true: ...to here
criu-4.2/criu/files.c:646:23: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:670:9: branch_false: ...to here
criu-4.2/criu/files.c:670:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/files.c:670:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
criu-4.2/criu/files.c:673:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:633:16: acquire_memory: allocated here
criu-4.2/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:637:16: branch_false: ...to here
criu-4.2/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:641:15: branch_false: ...to here
criu-4.2/criu/files.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:642:12: branch_false: ...to here
criu-4.2/criu/files.c:646:23: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/files.c:646:41: branch_true: ...to here
criu-4.2/criu/files.c:646:23: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:670:9: branch_false: ...to here
criu-4.2/criu/files.c:673:17: throw: if ‘close_image’ throws an exception...
criu-4.2/criu/files.c:673:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
criu-4.2/criu/files.c:722:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "fd"))’
criu-4.2/criu/files.c:718:18: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:718:18: branch_false: ...to here
criu-4.2/criu/files.c:718:18: acquire_memory: allocated here
criu-4.2/criu/files.c:718:18: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:719:12: branch_false: ...to here
criu-4.2/criu/files.c:719:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:719:12: branch_false: ...to here
criu-4.2/criu/files.c:722:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/files.c:722:22: danger: ‘fdopendir(do_open_proc(pid, 0, "fd"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
criu-4.2/criu/files.c:998:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:998:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:998:9: branch_true: ...to here
criu-4.2/criu/files.c:998:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
criu-4.2/criu/files.c:1072:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.2/criu/files.c:1072:9: branch_false: ...to here
criu-4.2/criu/files.c:1072:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1072:9: branch_true: ...to here
criu-4.2/criu/files.c:1072:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
criu-4.2/criu/files.c:1075:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fd, dfd)’
criu-4.2/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.2/criu/files.c:1072:9: branch_false: ...to here
criu-4.2/criu/files.c:1072:9: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1074:9: branch_false: ...to here
criu-4.2/criu/files.c:1075:13: acquire_resource: opened here
criu-4.2/criu/files.c:1075:12: danger: ‘dup2(fd, dfd)’ leaks here; was opened at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
criu-4.2/criu/files.c:1127:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1119:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1122:41: branch_false: ...to here
criu-4.2/criu/files.c:1122:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1127:9: branch_false: ...to here
criu-4.2/criu/files.c:1127:9: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1127:9: branch_true: ...to here
criu-4.2/criu/files.c:1127:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
criu-4.2/criu/files.c:1143:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1135:12: enter_function: entry to ‘open_fd’
criu-4.2/criu/files.c:1141:17: call_function: calling ‘file_master’ from ‘open_fd’
criu-4.2/criu/files.c:1141:17: return_function: returning to ‘open_fd’ from ‘file_master’
criu-4.2/criu/files.c:1142:12: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1143:17: branch_true: ...to here
criu-4.2/criu/files.c:1143:17: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1143:17: branch_true: ...to here
criu-4.2/criu/files.c:1143:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
criu-4.2/criu/files.c:1218:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1216:17: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1217:30: branch_true: ...to here
criu-4.2/criu/files.c:1218:25: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1218:25: branch_true: ...to here
criu-4.2/criu/files.c:1218:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
criu-4.2/criu/files.c:1276:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(0, 0, "fd"))’
criu-4.2/criu/files.c:1272:15: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1272:15: branch_false: ...to here
criu-4.2/criu/files.c:1272:15: acquire_memory: allocated here
criu-4.2/criu/files.c:1272:15: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1273:12: branch_false: ...to here
criu-4.2/criu/files.c:1273:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1273:12: branch_false: ...to here
criu-4.2/criu/files.c:1276:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/files.c:1276:22: danger: ‘fdopendir(do_open_proc(0, 0, "fd"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
criu-4.2/criu/files.c:1323:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.2/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1322:17: branch_true: ...to here
criu-4.2/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.2/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.2/criu/files.c:1323:17: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1323:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
criu-4.2/criu/files.c:1327:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.2/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1322:17: branch_true: ...to here
criu-4.2/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.2/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.2/criu/files.c:1325:20: branch_true: following ‘true’ branch...
criu-4.2/criu/files.c:1326:25: branch_true: ...to here
criu-4.2/criu/files.c:1327:25: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1327:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
criu-4.2/criu/files.c:1608:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files.c:1596:12: branch_false: following ‘false’ branch...
criu-4.2/criu/files.c:1601:15: branch_false: ...to here
criu-4.2/criu/files.c:1601:15: acquire_memory: allocated here
criu-4.2/criu/files.c:1601:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files.c:1605:13: branch_false: ...to here
criu-4.2/criu/files.c:1608:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/files.c:1608:23: branch_true: ...to here
criu-4.2/criu/files.c:1608:23: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/files.c:1608:23: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
criu-4.2/criu/filesystems.c:404:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/filesystems.c:386:12: branch_false: following ‘false’ branch...
criu-4.2/criu/filesystems.c:386:12: branch_false: ...to here
criu-4.2/criu/filesystems.c:393:21: branch_true: following ‘true’ branch (when ‘ntmp_fds != 3’)...
criu-4.2/criu/filesystems.c:394:21: branch_true: ...to here
criu-4.2/criu/filesystems.c:394:20: branch_false: following ‘false’ branch...
criu-4.2/criu/filesystems.c:396:25: branch_false: ...to here
criu-4.2/criu/filesystems.c:397:22: acquire_resource: opened here
criu-4.2/criu/filesystems.c:398:20: branch_false: following ‘false’ branch...
criu-4.2/criu/filesystems.c:398:20: branch_false: ...to here
criu-4.2/criu/filesystems.c:393:21: branch_true: following ‘true’ branch (when ‘ntmp_fds != 3’)...
criu-4.2/criu/filesystems.c:394:21: branch_true: ...to here
criu-4.2/criu/filesystems.c:404:13: throw: if ‘move_fd_from’ throws an exception...
criu-4.2/criu/filesystems.c:404:13: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
criu-4.2/criu/filesystems.c:537:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(open_mountpoint(pm))’
criu-4.2/criu/filesystems.c:528:12: branch_false: following ‘false’ branch...
criu-4.2/criu/filesystems.c:531:16: branch_false: ...to here
criu-4.2/criu/filesystems.c:531:16: acquire_memory: allocated here
criu-4.2/criu/filesystems.c:532:12: branch_false: following ‘false’ branch...
criu-4.2/criu/filesystems.c:532:12: branch_false: ...to here
criu-4.2/criu/filesystems.c:537:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/filesystems.c:537:22: danger: ‘fdopendir(open_mountpoint(pm))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
criu-4.2/criu/fsnotify.c:94:24: warning[-Wanalyzer-malloc-leak]: leak of ‘alloc_openable(s_dev, i_ino, f_handle)’
criu-4.2/criu/fsnotify.c:226:5: enter_function: entry to ‘check_open_handle’
criu-4.2/criu/fsnotify.c:231:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:245:16: branch_false: ...to here
criu-4.2/criu/fsnotify.c:245:16: call_function: calling ‘alloc_openable’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:245:16: return_function: returning to ‘check_open_handle’ from ‘alloc_openable’
criu-4.2/criu/fsnotify.c:247:14: call_function: inlined call to ‘IS_ERR_OR_NULL’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:248:17: branch_false: ...to here
criu-4.2/criu/fsnotify.c:248:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/fsnotify.c:94:24: danger: ‘alloc_openable(s_dev, i_ino, f_handle)’ leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
criu-4.2/criu/fsnotify.c:263:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/fsnotify.c:226:5: enter_function: entry to ‘check_open_handle’
criu-4.2/criu/fsnotify.c:231:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:245:16: branch_false: ...to here
criu-4.2/criu/fsnotify.c:245:16: call_function: calling ‘alloc_openable’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:245:16: return_function: returning to ‘check_open_handle’ from ‘alloc_openable’
criu-4.2/criu/fsnotify.c:247:14: call_function: inlined call to ‘IS_ERR_OR_NULL’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:250:20: call_function: inlined call to ‘IS_ERR’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:250:19: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:250:20: branch_true: ...to here
criu-4.2/criu/fsnotify.c:250:20: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:252:19: branch_false: ...to here
criu-4.2/criu/fsnotify.c:252:19: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:252:20: branch_true: ...to here
criu-4.2/criu/fsnotify.c:252:20: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:256:14: branch_false: ...to here
criu-4.2/criu/fsnotify.c:257:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:262:14: branch_false: ...to here
criu-4.2/criu/fsnotify.c:262:12: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:263:17: call_function: inlined call to ‘PTR_ERR’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:263:17: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
criu-4.2/criu/fsnotify.c:291:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/fsnotify.c:283:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:287:16: branch_false: ...to here
criu-4.2/criu/fsnotify.c:287:16: acquire_memory: allocated here
criu-4.2/criu/fsnotify.c:287:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/fsnotify.c:290:1: branch_false: ...to here
criu-4.2/criu/fsnotify.c:291:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/fsnotify.c:291:9: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
criu-4.2/criu/fsnotify.c:291:9: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
criu-4.2/criu/fsnotify.c:226:5: enter_function: entry to ‘check_open_handle’
criu-4.2/criu/fsnotify.c:231:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:245:16: branch_false: ...to here
criu-4.2/criu/fsnotify.c:245:16: call_function: calling ‘alloc_openable’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:245:16: return_function: returning to ‘check_open_handle’ from ‘alloc_openable’
criu-4.2/criu/fsnotify.c:247:14: call_function: inlined call to ‘IS_ERR_OR_NULL’ from ‘check_open_handle’
criu-4.2/criu/fsnotify.c:248:17: branch_false: ...to here
criu-4.2/criu/fsnotify.c:291:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/fsnotify.c:291:9: danger: ‘path’ leaks here; was allocated at [(14)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
criu-4.2/criu/fsnotify.c:384:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/fsnotify.c:383:12: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.2/criu/fsnotify.c:384:17: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.2/criu/fsnotify.c:384:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
criu-4.2/criu/fsnotify.c:399:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/fsnotify.c:383:12: branch_false: following ‘false’ branch...
criu-4.2/criu/fsnotify.c:396:13: branch_false: ...to here
criu-4.2/criu/fsnotify.c:396:12: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:399:17: branch_true: ...to here
criu-4.2/criu/fsnotify.c:399:17: branch_true: following ‘true’ branch...
criu-4.2/criu/fsnotify.c:399:17: branch_true: ...to here
criu-4.2/criu/fsnotify.c:399:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
criu-4.2/criu/image.c:417:28: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
criu-4.2/criu/image.c:509:23: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
criu-4.2/criu/image.c:513:15: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
criu-4.2/criu/image.c:527:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_true: following ‘true’ branch (when ‘lazy != 0’)...
criu-4.2/criu/image.c:524:17: branch_true: ...to here
criu-4.2/criu/image.c:527:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/image.c:527:29: branch_true: ...to here
criu-4.2/criu/image.c:527:29: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/image.c:527:29: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
criu-4.2/criu/image.c:527:29: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
criu-4.2/criu/image.c:609:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
criu-4.2/criu/image.c:609:23: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
criu-4.2/criu/image.c:623:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
criu-4.2/criu/image.c:627:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
criu-4.2/criu/image.c:627:23: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
criu-4.2/criu/image.c:630:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
criu-4.2/criu/image.c:630:25: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
criu-4.2/criu/image.c:635:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
criu-4.2/criu/image.c:635:17: warning[-Wanalyzer-malloc-leak]: leak of ‘imgset’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
criu-4.2/criu/image.c:644:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:500:16: enter_function: entry to ‘open_image_at’
criu-4.2/criu/image.c:513:15: acquire_memory: allocated here
criu-4.2/criu/image.c:513:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:517:26: branch_false: ...to here
criu-4.2/criu/image.c:523:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.2/criu/image.c:530:17: branch_false: ...to here
criu-4.2/criu/image.c:532:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
criu-4.2/criu/image.c:646:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:493:19: enter_function: entry to ‘cr_glob_imgset_open’
criu-4.2/criu/image.c:495:16: call_function: calling ‘cr_imgset_open_range’ from ‘cr_glob_imgset_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
criu-4.2/criu/image.c:730:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(dir, 0)’
criu-4.2/criu/image.c:724:14: acquire_resource: opened here
criu-4.2/criu/image.c:725:12: branch_false: following ‘false’ branch...
criu-4.2/criu/image.c:730:15: branch_false: ...to here
criu-4.2/criu/image.c:730:15: danger: ‘open(dir, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
criu-4.2/criu/image.c:803:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/image.c:803:9: branch_true: following ‘true’ branch...
criu-4.2/criu/image.c:803:9: branch_true: ...to here
criu-4.2/criu/image.c:803:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
criu-4.2/criu/image.c:862:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/image.c:899:5: enter_function: entry to ‘read_img_str’
criu-4.2/criu/image.c:904:15: acquire_memory: allocated here
criu-4.2/criu/image.c:904:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/image.c:908:15: branch_false: ...to here
criu-4.2/criu/image.c:908:15: call_function: calling ‘read_img_buf’ from ‘read_img_str’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
criu-4.2/criu/img-streamer.c:41:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
criu-4.2/criu/img-streamer.c:50:5: enter_function: entry to ‘img_streamer_init’
criu-4.2/criu/img-streamer.c:59:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:64:18: branch_false: ...to here
criu-4.2/criu/img-streamer.c:64:18: acquire_resource: stream socket created here
criu-4.2/criu/img-streamer.c:65:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
criu-4.2/criu/img-streamer.c:70:9: branch_false: ...to here
criu-4.2/criu/img-streamer.c:72:9: call_function: calling ‘socket_name_for_mode’ from ‘img_streamer_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
criu-4.2/criu/img-streamer.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
criu-4.2/criu/img-streamer.c:74:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
criu-4.2/criu/img-streamer.c:59:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:64:18: branch_false: ...to here
criu-4.2/criu/img-streamer.c:64:18: acquire_resource: stream socket created here
criu-4.2/criu/img-streamer.c:65:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
criu-4.2/criu/img-streamer.c:70:9: branch_false: ...to here
criu-4.2/criu/img-streamer.c:74:13: throw: if ‘connect’ throws an exception...
criu-4.2/criu/img-streamer.c:74:13: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
criu-4.2/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:183:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
criu-4.2/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:183:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def315]
criu-4.2/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:13: throw: if ‘get_service_fd’ throws an exception...
criu-4.2/criu/img-streamer.c:186:13: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
criu-4.2/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:13: throw: if ‘get_service_fd’ throws an exception...
criu-4.2/criu/img-streamer.c:186:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def317]
criu-4.2/criu/img-streamer.c:187:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:12: branch_true: following ‘true’ branch...
criu-4.2/criu/img-streamer.c:187:17: branch_true: ...to here
criu-4.2/criu/img-streamer.c:187:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/img-streamer.c:187:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
criu-4.2/criu/img-streamer.c:187:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:12: branch_true: following ‘true’ branch...
criu-4.2/criu/img-streamer.c:187:17: branch_true: ...to here
criu-4.2/criu/img-streamer.c:187:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/img-streamer.c:187:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
criu-4.2/criu/img-streamer.c:191:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:191:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/img-streamer.c:191:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
criu-4.2/criu/img-streamer.c:191:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:191:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/img-streamer.c:191:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
criu-4.2/criu/img-streamer.c:234:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/img-streamer.c:234:9: branch_true: following ‘true’ branch...
criu-4.2/criu/img-streamer.c:234:9: branch_true: ...to here
criu-4.2/criu/img-streamer.c:234:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
criu-4.2/criu/include/image.h:159:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.2/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:455:12: branch_false: ...to here
criu-4.2/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.2/criu/pipes.c:460:25: branch_true: ...to here
criu-4.2/criu/pipes.c:460:25: call_function: calling ‘img_raw_fd’ from ‘dump_one_pipe_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
criu-4.2/criu/include/image.h:159:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
Error: CPPCHECK_WARNING (CWE-476): [#def324]
criu-4.2/criu/include/image.h:162: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
criu-4.2/criu/include/image.h:162:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.2/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:455:12: branch_false: ...to here
criu-4.2/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.2/criu/pipes.c:460:25: branch_true: ...to here
criu-4.2/criu/pipes.c:460:25: call_function: calling ‘img_raw_fd’ from ‘dump_one_pipe_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
criu-4.2/criu/include/image.h:162:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
criu-4.2/criu/include/image.h:162:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
criu-4.2/criu/include/imgset.h:20:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.2/criu/files-reg.c:1777:12: branch_true: following ‘true’ branch...
criu-4.2/criu/files-reg.c:1779:28: branch_true: ...to here
criu-4.2/criu/files-reg.c:1779:28: acquire_memory: allocated here
criu-4.2/criu/files-reg.c:1779:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/files-reg.c:1779:17: branch_false: ...to here
criu-4.2/criu/files-reg.c:1834:16: call_function: calling ‘img_from_set’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def329]
criu-4.2/criu/include/imgset.h:20:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/apparmor.c:643:5: enter_function: entry to ‘dump_aa_namespaces’
criu-4.2/criu/apparmor.c:648:12: branch_false: following ‘false’ branch...
criu-4.2/criu/apparmor.c:651:14: branch_false: ...to here
criu-4.2/criu/apparmor.c:651:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/apparmor.c:654:9: branch_false: ...to here
criu-4.2/criu/apparmor.c:659:15: call_function: calling ‘img_from_set’ from ‘dump_aa_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
criu-4.2/criu/include/rbtree.h:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/kcmp-ids.c:64:26: enter_function: entry to ‘alloc_kid_entry’
criu-4.2/criu/kcmp-ids.c:68:13: acquire_memory: allocated here
criu-4.2/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.2/criu/kcmp-ids.c:76:9: branch_false: following ‘false’ branch...
criu-4.2/criu/kcmp-ids.c:78:9: branch_false: ...to here
criu-4.2/criu/kcmp-ids.c:81:9: call_function: inlined call to ‘rb_link_and_balance’ from ‘alloc_kid_entry’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
criu-4.2/criu/include/util-caps.h:19:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/cr-check.c:1040:12: enter_function: entry to ‘check_tcp’
criu-4.2/criu/cr-check.c:1046:14: acquire_resource: stream socket created here
criu-4.2/criu/cr-check.c:1047:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/cr-check.c:1052:9: branch_false: ...to here
criu-4.2/criu/cr-check.c:1053:12: branch_false: following ‘false’ branch...
criu-4.2/criu/cr-check.c:1053:35: call_function: inlined call to ‘has_cap_net_admin’ from ‘check_tcp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
criu-4.2/criu/include/util.h:181:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def333]
criu-4.2/criu/include/util.h:408:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘before_context’
criu-4.2/criu/mount.c:3193:12: branch_true: following ‘true’ branch (when ‘old_context’ is NULL)...
criu-4.2/criu/mount.c:3194:24: branch_true: ...to here
criu-4.2/criu/mount.c:3194:24: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:3194:24: branch_true: ...to here
criu-4.2/criu/mount.c:3194:24: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:3183:28: call_function: inlined call to ‘cleanup_freep’ from ‘mount_update_lsm_context’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
criu-4.2/criu/ipc_ns.c:198:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/ipc_ns.c:182:12: branch_false: following ‘false’ branch...
criu-4.2/criu/ipc_ns.c:187:16: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:188:19: acquire_memory: allocated here
criu-4.2/criu/ipc_ns.c:188:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/ipc_ns.c:189:12: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:189:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/ipc_ns.c:189:12: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:194:27: branch_true: following ‘true’ branch...
criu-4.2/criu/ipc_ns.c:195:24: branch_true: ...to here
criu-4.2/criu/ipc_ns.c:198:23: throw: if ‘msgrcv’ throws an exception...
criu-4.2/criu/ipc_ns.c:198:23: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
criu-4.2/criu/ipc_ns.c:322:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/ipc_ns.c:460:12: enter_function: entry to ‘dump_ipc_var’
criu-4.2/criu/ipc_ns.c:466:24: acquire_memory: allocated here
criu-4.2/criu/ipc_ns.c:466:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/ipc_ns.c:466:9: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:467:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/ipc_ns.c:469:9: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:475:15: call_function: calling ‘ipc_sysctl_req’ from ‘dump_ipc_var’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
criu-4.2/criu/ipc_ns.c:555:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/ipc_ns.c:548:18: acquire_memory: allocated here
criu-4.2/criu/ipc_ns.c:548:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/ipc_ns.c:555:15: branch_false: ...to here
criu-4.2/criu/ipc_ns.c:555:15: throw: if ‘read_img_buf’ throws an exception...
criu-4.2/criu/ipc_ns.c:555:15: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
criu-4.2/criu/irmap.c:152:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
criu-4.2/criu/irmap.c:152:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(openat(get_service_fd(8), *t.path + 1, 0))’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
criu-4.2/criu/irmap.c:159:21: warning[-Wanalyzer-malloc-leak]: leak of ‘k’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
criu-4.2/criu/irmap.c:167:27: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
criu-4.2/criu/irmap.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
criu-4.2/criu/irmap.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:187:22: enter_function: entry to ‘irmap_scan’
criu-4.2/criu/irmap.c:201:21: branch_true: following ‘true’ branch...
criu-4.2/criu/irmap.c:202:33: branch_true: ...to here
criu-4.2/criu/irmap.c:202:21: call_function: calling ‘irmap_scan’ from ‘irmap_scan’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
criu-4.2/criu/irmap.c:330:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:323:14: acquire_memory: allocated here
criu-4.2/criu/irmap.c:323:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:327:9: branch_false: ...to here
criu-4.2/criu/irmap.c:330:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/irmap.c:330:25: branch_true: ...to here
criu-4.2/criu/irmap.c:330:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:330:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
criu-4.2/criu/irmap.c:336:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:323:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:327:9: branch_false: ...to here
criu-4.2/criu/irmap.c:330:25: acquire_memory: allocated here
criu-4.2/criu/irmap.c:330:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:330:25: branch_false: ...to here
criu-4.2/criu/irmap.c:331:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:336:9: branch_false: ...to here
criu-4.2/criu/irmap.c:336:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:336:9: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
criu-4.2/criu/irmap.c:408:20: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:402:14: acquire_memory: allocated here
criu-4.2/criu/irmap.c:402:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:406:19: branch_false: ...to here
criu-4.2/criu/irmap.c:408:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/irmap.c:408:20: branch_true: ...to here
criu-4.2/criu/irmap.c:408:20: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:408:20: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
criu-4.2/criu/irmap.c:421:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:402:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:406:19: branch_false: ...to here
criu-4.2/criu/irmap.c:408:20: acquire_memory: allocated here
criu-4.2/criu/irmap.c:408:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:408:9: branch_false: ...to here
criu-4.2/criu/irmap.c:409:12: branch_false: following ‘false’ branch...
criu-4.2/criu/irmap.c:414:9: branch_false: ...to here
criu-4.2/criu/irmap.c:421:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:421:9: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
criu-4.2/criu/irmap.c:497:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:493:13: acquire_memory: allocated here
criu-4.2/criu/irmap.c:493:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:497:17: branch_false: ...to here
criu-4.2/criu/irmap.c:497:17: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/irmap.c:497:17: branch_true: ...to here
criu-4.2/criu/irmap.c:497:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:497:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
criu-4.2/criu/irmap.c:503:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/irmap.c:493:13: acquire_memory: allocated here
criu-4.2/criu/irmap.c:493:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:497:17: branch_false: ...to here
criu-4.2/criu/irmap.c:497:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:497:9: branch_false: ...to here
criu-4.2/criu/irmap.c:498:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/irmap.c:503:23: branch_false: ...to here
criu-4.2/criu/irmap.c:503:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/irmap.c:503:23: branch_true: ...to here
criu-4.2/criu/irmap.c:503:23: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/irmap.c:503:23: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def349]
criu-4.2/criu/kcmp-ids.c:76: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
criu-4.2/criu/kcmp-ids.c:76:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/kcmp-ids.c:68:13: acquire_memory: allocated here
criu-4.2/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.2/criu/kcmp-ids.c:76:9: branch_true: following ‘true’ branch...
criu-4.2/criu/kcmp-ids.c:76:9: branch_true: ...to here
criu-4.2/criu/kcmp-ids.c:76:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kcmp-ids.c:76:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
criu-4.2/criu/kcmp-ids.c:76:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.2/criu/kcmp-ids.c:76:9: branch_true: following ‘true’ branch...
criu-4.2/criu/kcmp-ids.c:76:9: branch_true: ...to here
criu-4.2/criu/kcmp-ids.c:76:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def352]
criu-4.2/criu/kcmp-ids.c:94: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
criu-4.2/criu/kcmp-ids.c:94:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/kcmp-ids.c:94:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.2/criu/kcmp-ids.c:94:9: branch_true: ...to here
criu-4.2/criu/kcmp-ids.c:94:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def354]
criu-4.2/criu/kcmp-ids.c:158: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
criu-4.2/criu/kcmp-ids.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/kcmp-ids.c:158:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.2/criu/kcmp-ids.c:158:9: branch_true: ...to here
criu-4.2/criu/kcmp-ids.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def356]
criu-4.2/criu/kerndat.c:400:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/kerndat.c:370:12: branch_false: following ‘false’ branch (when ‘which <= 2’)...
criu-4.2/criu/kerndat.c:375:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:375:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:379:21: branch_true: ...to here
criu-4.2/criu/kerndat.c:379:20: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:390:21: branch_false: ...to here
criu-4.2/criu/kerndat.c:390:20: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:395:26: branch_false: ...to here
criu-4.2/criu/kerndat.c:395:20: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:400:17: branch_false: ...to here
criu-4.2/criu/kerndat.c:400:17: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:400:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:400:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
criu-4.2/criu/kerndat.c:494:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/kerndat.c:482:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:487:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:488:12: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:493:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:493:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:494:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:494:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
criu-4.2/criu/kerndat.c:663:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/kerndat.c:656:14: acquire_resource: opened here
criu-4.2/criu/kerndat.c:657:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:662:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:663:13: throw: if ‘cr_system’ throws an exception...
criu-4.2/criu/kerndat.c:663:13: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
criu-4.2/criu/kerndat.c:721:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:721:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:721:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:721:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
criu-4.2/criu/kerndat.c:727:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:726:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:727:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:727:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:727:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
criu-4.2/criu/kerndat.c:731:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘clnt’
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:725:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:726:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:731:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:731:13: throw: if ‘connect’ throws an exception...
criu-4.2/criu/kerndat.c:731:13: danger: ‘clnt’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def362]
criu-4.2/criu/kerndat.c:731:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:726:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:731:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:731:13: throw: if ‘connect’ throws an exception...
criu-4.2/criu/kerndat.c:731:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def363]
criu-4.2/criu/kerndat.c:732:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:726:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:731:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:731:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:732:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:732:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:732:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
criu-4.2/criu/kerndat.c:737:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:726:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:731:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:731:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:736:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:736:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:737:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:737:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:737:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def365]
criu-4.2/criu/kerndat.c:743:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:725:23: branch_false: ...to here
criu-4.2/criu/kerndat.c:726:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:731:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:731:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:736:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:736:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:741:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:741:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:742:21: branch_true: ...to here
criu-4.2/criu/kerndat.c:742:20: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:743:25: branch_true: ...to here
criu-4.2/criu/kerndat.c:743:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:743:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
criu-4.2/criu/kerndat.c:752:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:721:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:752:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/kerndat.c:752:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
criu-4.2/criu/kerndat.c:753:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
criu-4.2/criu/kerndat.c:698:16: acquire_resource: stream socket created here
criu-4.2/criu/kerndat.c:699:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.2/criu/kerndat.c:709:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:709:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:714:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:720:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:720:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:721:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:753:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/kerndat.c:753:9: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
criu-4.2/criu/kerndat.c:770:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/kerndat.c:764:14: acquire_resource: socket created here
criu-4.2/criu/kerndat.c:765:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/kerndat.c:770:30: branch_false: ...to here
criu-4.2/criu/kerndat.c:770:13: throw: if ‘net_get_nsid’ throws an exception...
criu-4.2/criu/kerndat.c:770:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
criu-4.2/criu/kerndat.c:831:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/kerndat.c:808:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:812:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:816:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:821:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:821:16: acquire_resource: opened here
criu-4.2/criu/kerndat.c:822:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:822:12: branch_false: ...to here
criu-4.2/criu/kerndat.c:828:16: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:829:23: branch_true: ...to here
criu-4.2/criu/kerndat.c:831:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:831:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
criu-4.2/criu/kerndat.c:831:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/kerndat.c:808:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:812:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:816:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:821:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:821:16: acquire_memory: allocated here
criu-4.2/criu/kerndat.c:822:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:822:12: branch_false: ...to here
criu-4.2/criu/kerndat.c:828:16: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:829:23: branch_true: ...to here
criu-4.2/criu/kerndat.c:831:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:831:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
criu-4.2/criu/kerndat.c:846:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/kerndat.c:808:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:812:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:816:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:821:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:821:16: acquire_resource: opened here
criu-4.2/criu/kerndat.c:822:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:822:12: branch_false: ...to here
criu-4.2/criu/kerndat.c:828:16: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:829:23: branch_true: ...to here
criu-4.2/criu/kerndat.c:830:20: branch_false: following ‘false’ branch (when ‘num > 5’)...
criu-4.2/criu/kerndat.c:846:21: branch_false: ...to here
criu-4.2/criu/kerndat.c:846:20: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:850:37: branch_false: ...to here
criu-4.2/criu/kerndat.c:851:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:846:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
criu-4.2/criu/kerndat.c:846:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.2/criu/kerndat.c:808:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:812:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:816:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:821:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:821:16: acquire_memory: allocated here
criu-4.2/criu/kerndat.c:822:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:822:12: branch_false: ...to here
criu-4.2/criu/kerndat.c:828:16: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:829:23: branch_true: ...to here
criu-4.2/criu/kerndat.c:830:20: branch_false: following ‘false’ branch (when ‘num > 5’)...
criu-4.2/criu/kerndat.c:846:21: branch_false: ...to here
criu-4.2/criu/kerndat.c:846:20: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:850:37: branch_false: ...to here
criu-4.2/criu/kerndat.c:851:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:846:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def373]
criu-4.2/criu/kerndat.c:933:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/kerndat.c:917:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/kerndat.c:922:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:931:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:932:12: branch_true: following ‘true’ branch...
criu-4.2/criu/kerndat.c:933:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:933:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:933:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def374]
criu-4.2/criu/kerndat.c:947:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/kerndat.c:917:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/kerndat.c:922:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:931:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:947:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/kerndat.c:947:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def375]
criu-4.2/criu/kerndat.c:948:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/kerndat.c:917:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.2/criu/kerndat.c:922:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:931:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:948:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/kerndat.c:948:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def376]
criu-4.2/criu/kerndat.c:1242:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.2/criu/kerndat.c:1228:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1231:14: branch_false: ...to here
criu-4.2/criu/kerndat.c:1231:14: acquire_resource: opened here
criu-4.2/criu/kerndat.c:1232:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1240:15: branch_false: ...to here
criu-4.2/criu/kerndat.c:1241:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/kerndat.c:1242:17: branch_true: ...to here
criu-4.2/criu/kerndat.c:1242:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/kerndat.c:1242:17: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def377]
criu-4.2/criu/kerndat.c:1247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.2/criu/kerndat.c:1228:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1231:14: branch_false: ...to here
criu-4.2/criu/kerndat.c:1231:14: acquire_resource: opened here
criu-4.2/criu/kerndat.c:1232:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1240:15: branch_false: ...to here
criu-4.2/criu/kerndat.c:1241:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/kerndat.c:1247:9: branch_false: ...to here
criu-4.2/criu/kerndat.c:1247:9: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def378]
criu-4.2/criu/kerndat.c:1398:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘f.fd’
criu-4.2/criu/kerndat.c:1373:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1382:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:1383:12: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/kerndat.c:1388:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:1388:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1393:16: branch_false: ...to here
criu-4.2/criu/kerndat.c:1393:16: acquire_resource: opened here
criu-4.2/criu/kerndat.c:1394:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1398:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:1398:13: throw: if ‘bfdopenr’ throws an exception...
criu-4.2/criu/kerndat.c:1398:13: danger: ‘f.fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def379]
criu-4.2/criu/kerndat.c:1573:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘f.fd’
criu-4.2/criu/kerndat.c:1568:16: acquire_resource: opened here
criu-4.2/criu/kerndat.c:1569:12: branch_false: following ‘false’ branch...
criu-4.2/criu/kerndat.c:1573:13: branch_false: ...to here
criu-4.2/criu/kerndat.c:1573:13: throw: if ‘bfdopenr’ throws an exception...
criu-4.2/criu/kerndat.c:1573:13: danger: ‘f.fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def380]
criu-4.2/criu/log.c:82:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/criu/log.c:401:6: enter_function: entry to ‘print_on_level’
criu-4.2/criu/log.c:405:9: acquire_resource: ‘va_start’ called here
criu-4.2/criu/log.c:406:9: call_function: calling ‘vprint_on_level’ from ‘print_on_level’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
criu-4.2/criu/lsm.c:284:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
criu-4.2/criu/mem.c:46:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mem.c:525:12: enter_function: entry to ‘__parasite_dump_pages_seized’
criu-4.2/criu/mem.c:553:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:556:15: branch_false: ...to here
criu-4.2/criu/mem.c:564:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:567:14: branch_false: ...to here
criu-4.2/criu/mem.c:580:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:583:20: branch_false: ...to here
criu-4.2/criu/mem.c:587:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:596:9: branch_false: ...to here
criu-4.2/criu/mem.c:620:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mem.c:627:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/criu/mem.c:630:9: branch_false: ...to here
criu-4.2/criu/mem.c:636:15: call_function: calling ‘task_reset_dirty_track’ from ‘__parasite_dump_pages_seized’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
criu-4.2/criu/mem.c:49:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mem.c:525:12: enter_function: entry to ‘__parasite_dump_pages_seized’
criu-4.2/criu/mem.c:553:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:556:15: branch_false: ...to here
criu-4.2/criu/mem.c:564:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:567:14: branch_false: ...to here
criu-4.2/criu/mem.c:580:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:583:20: branch_false: ...to here
criu-4.2/criu/mem.c:587:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:596:9: branch_false: ...to here
criu-4.2/criu/mem.c:620:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mem.c:627:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/criu/mem.c:630:9: branch_false: ...to here
criu-4.2/criu/mem.c:636:15: call_function: calling ‘task_reset_dirty_track’ from ‘__parasite_dump_pages_seized’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
criu-4.2/criu/mem.c:1194:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mem.c:1144:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1147:52: branch_false: ...to here
criu-4.2/criu/mem.c:1181:28: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1183:34: branch_false: ...to here
criu-4.2/criu/mem.c:1183:33: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1188:30: branch_false: ...to here
criu-4.2/criu/mem.c:1188:28: branch_true: following ‘true’ branch...
criu-4.2/criu/mem.c:1189:53: branch_true: ...to here
criu-4.2/criu/mem.c:1194:41: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
criu-4.2/criu/mem.c:1588:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mem.c:1562:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mem.c:1567:22: branch_true: ...to here
criu-4.2/criu/mem.c:1567:22: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1571:16: branch_false: ...to here
criu-4.2/criu/mem.c:1571:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mem.c:1574:20: branch_false: ...to here
criu-4.2/criu/mem.c:1580:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1580:20: branch_false: ...to here
criu-4.2/criu/mem.c:1588:25: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1590:31: branch_false: ...to here
criu-4.2/criu/mem.c:1591:28: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1594:25: branch_false: ...to here
criu-4.2/criu/mem.c:1601:18: branch_true: following ‘true’ branch...
criu-4.2/criu/mem.c:1601:18: branch_true: ...to here
criu-4.2/criu/mem.c:1580:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mem.c:1580:20: branch_false: ...to here
criu-4.2/criu/mem.c:1588:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def386]
criu-4.2/criu/mount-v2.c:291:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.plain_mountpoint, 2097152)’
criu-4.2/criu/mount-v2.c:252:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:252:12: branch_false: ...to here
criu-4.2/criu/mount-v2.c:261:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:262:24: branch_true: ...to here
criu-4.2/criu/mount-v2.c:264:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:275:25: branch_false: ...to here
criu-4.2/criu/mount-v2.c:275:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:280:13: branch_false: ...to here
criu-4.2/criu/mount-v2.c:280:13: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:283:12: branch_false: ...to here
criu-4.2/criu/mount-v2.c:283:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:286:27: branch_true: ...to here
criu-4.2/criu/mount-v2.c:286:22: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:287:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:291:24: branch_false: ...to here
criu-4.2/criu/mount-v2.c:292:21: throw: if ‘__userns_call’ throws an exception...
criu-4.2/criu/mount-v2.c:291:24: danger: ‘open(*mi.plain_mountpoint, 2097152)’ leaks here; was opened at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
criu-4.2/criu/mount-v2.c:457:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.plain_mountpoint, 2097152)’
criu-4.2/criu/mount-v2.c:450:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:451:27: branch_true: ...to here
criu-4.2/criu/mount-v2.c:451:22: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:452:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:457:21: branch_false: ...to here
criu-4.2/criu/mount-v2.c:457:21: throw: if ‘__userns_call’ throws an exception...
criu-4.2/criu/mount-v2.c:457:21: danger: ‘open(*mi.plain_mountpoint, 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def388]
criu-4.2/criu/mount-v2.c:497:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:497:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:497:9: branch_true: ...to here
criu-4.2/criu/mount-v2.c:497:9: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:497:9: branch_false: ...to here
criu-4.2/criu/mount-v2.c:497:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
criu-4.2/criu/mount-v2.c:649:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:649:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:649:9: branch_true: ...to here
criu-4.2/criu/mount-v2.c:649:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
criu-4.2/criu/mount-v2.c:665:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(*mi.plain_mountpoint, 384)’
criu-4.2/criu/mount-v2.c:649:9: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:651:9: branch_false: ...to here
criu-4.2/criu/mount-v2.c:652:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:660:28: branch_false: ...to here
criu-4.2/criu/mount-v2.c:660:22: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:661:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:665:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:665:17: danger: ‘creat(*mi.plain_mountpoint, 384)’ leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
criu-4.2/criu/mount-v2.c:799:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.mountpoint, 2097152)’
criu-4.2/criu/mount-v2.c:793:14: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:794:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:799:24: branch_false: ...to here
criu-4.2/criu/mount-v2.c:799:24: throw: if ‘fdstore_add’ throws an exception...
criu-4.2/criu/mount-v2.c:799:24: danger: ‘open(*mi.mountpoint, 2097152)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
criu-4.2/criu/mount-v2.c:818:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.mountpoint, 2097152)’
criu-4.2/criu/mount-v2.c:794:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:799:24: branch_false: ...to here
criu-4.2/criu/mount-v2.c:801:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:806:9: branch_false: ...to here
criu-4.2/criu/mount-v2.c:807:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:812:19: branch_false: ...to here
criu-4.2/criu/mount-v2.c:812:14: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:813:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:818:25: branch_false: ...to here
criu-4.2/criu/mount-v2.c:818:25: throw: if ‘fdstore_add’ throws an exception...
criu-4.2/criu/mount-v2.c:818:25: danger: ‘open(*mi.mountpoint, 2097152)’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
criu-4.2/criu/mount-v2.c:867:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:865:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:866:26: branch_true: ...to here
criu-4.2/criu/mount-v2.c:867:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:867:17: branch_true: ...to here
criu-4.2/criu/mount-v2.c:867:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def394]
criu-4.2/criu/mount-v2.c:871:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:865:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:871:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:871:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:871:17: branch_true: ...to here
criu-4.2/criu/mount-v2.c:871:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
criu-4.2/criu/mount-v2.c:891:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘src_fd’
criu-4.2/criu/mount-v2.c:865:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:871:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:871:17: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:876:48: branch_false: ...to here
criu-4.2/criu/mount-v2.c:877:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:882:26: branch_false: ...to here
criu-4.2/criu/mount-v2.c:882:26: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:883:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:888:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:891:18: throw: if ‘fdstore_get’ throws an exception...
criu-4.2/criu/mount-v2.c:891:18: danger: ‘src_fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
criu-4.2/criu/mount-v2.c:892:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘src_fd’
criu-4.2/criu/mount-v2.c:865:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:871:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:871:17: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:876:48: branch_false: ...to here
criu-4.2/criu/mount-v2.c:877:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:882:26: branch_false: ...to here
criu-4.2/criu/mount-v2.c:882:26: acquire_resource: opened here
criu-4.2/criu/mount-v2.c:883:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:888:17: branch_false: ...to here
criu-4.2/criu/mount-v2.c:892:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:892:9: branch_true: ...to here
criu-4.2/criu/mount-v2.c:892:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount-v2.c:892:9: danger: ‘src_fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
criu-4.2/criu/mount-v2.c:892:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:865:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:866:26: branch_true: ...to here
criu-4.2/criu/mount-v2.c:867:17: branch_false: following ‘false’ branch...
criu-4.2/criu/mount-v2.c:891:18: branch_false: ...to here
criu-4.2/criu/mount-v2.c:892:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:892:9: branch_true: ...to here
criu-4.2/criu/mount-v2.c:892:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
criu-4.2/criu/mount-v2.c:944:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount-v2.c:944:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount-v2.c:944:9: branch_true: ...to here
criu-4.2/criu/mount-v2.c:944:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
criu-4.2/criu/mount-v2.c:1092:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
criu-4.2/criu/mount.c:48:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1700:9: branch_false: ...to here
criu-4.2/criu/mount.c:1701:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1709:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:1710:67: branch_true: ...to here
criu-4.2/criu/mount.c:1710:67: call_function: calling ‘service_mountpoint’ from ‘add_cr_time_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
criu-4.2/criu/mount.c:48:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1700:9: branch_false: ...to here
criu-4.2/criu/mount.c:1701:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1709:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:1710:67: branch_true: ...to here
criu-4.2/criu/mount.c:1710:67: call_function: calling ‘service_mountpoint’ from ‘add_cr_time_mount’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
criu-4.2/criu/mount.c:48:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
criu-4.2/criu/mount.c:520:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:3981:5: enter_function: entry to ‘collect_mnt_namespaces’
criu-4.2/criu/mount.c:3990:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3993:9: branch_false: ...to here
criu-4.2/criu/mount.c:4018:15: call_function: calling ‘resolve_external_mounts’ from ‘collect_mnt_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
criu-4.2/criu/mount.c:929:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2563:13: enter_function: entry to ‘can_mount_now’
criu-4.2/criu/mount.c:2641:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2643:17: branch_true: ...to here
criu-4.2/criu/mount.c:2647:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.2/criu/mount.c:2648:25: branch_true: ...to here
criu-4.2/criu/mount.c:2652:39: call_function: calling ‘root_path_from_parent’ from ‘can_mount_now’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
criu-4.2/criu/mount.c:937:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2563:13: enter_function: entry to ‘can_mount_now’
criu-4.2/criu/mount.c:2641:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2643:17: branch_true: ...to here
criu-4.2/criu/mount.c:2647:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.2/criu/mount.c:2648:25: branch_true: ...to here
criu-4.2/criu/mount.c:2652:39: call_function: calling ‘root_path_from_parent’ from ‘can_mount_now’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
criu-4.2/criu/mount.c:1024:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:1779:12: enter_function: entry to ‘dump_one_fs’
criu-4.2/criu/mount.c:1785:13: call_function: inlined call to ‘mnt_is_root_bind’ from ‘dump_one_fs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
criu-4.2/criu/mount.c:1032:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:1779:12: enter_function: entry to ‘dump_one_fs’
criu-4.2/criu/mount.c:1785:13: call_function: inlined call to ‘mnt_is_root_bind’ from ‘dump_one_fs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
criu-4.2/criu/mount.c:1659:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
criu-4.2/criu/mount.c:1697:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1697:20: branch_true: ...to here
criu-4.2/criu/mount.c:1697:20: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1697:20: danger: ‘<unknown>’ leaks here; was allocated at [(31)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
criu-4.2/criu/mount.c:1697:20: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1697:20: branch_true: ...to here
criu-4.2/criu/mount.c:1697:20: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1697:20: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
criu-4.2/criu/mount.c:1698:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1698:22: branch_true: ...to here
criu-4.2/criu/mount.c:1698:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1698:22: danger: ‘<unknown>’ leaks here; was allocated at [(31)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
criu-4.2/criu/mount.c:1698:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1697:20: branch_true: ...to here
criu-4.2/criu/mount.c:1698:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1698:22: branch_true: ...to here
criu-4.2/criu/mount.c:1698:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1698:22: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
criu-4.2/criu/mount.c:1699:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1699:22: branch_true: ...to here
criu-4.2/criu/mount.c:1699:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1699:22: danger: ‘<unknown>’ leaks here; was allocated at [(31)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
criu-4.2/criu/mount.c:1699:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1697:20: branch_true: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1699:22: branch_true: ...to here
criu-4.2/criu/mount.c:1699:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1699:22: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
criu-4.2/criu/mount.c:1700:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1700:23: branch_true: ...to here
criu-4.2/criu/mount.c:1700:23: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1700:23: danger: ‘<unknown>’ leaks here; was allocated at [(31)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
criu-4.2/criu/mount.c:1700:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1697:20: branch_true: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1700:23: branch_true: ...to here
criu-4.2/criu/mount.c:1700:23: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:1700:23: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
criu-4.2/criu/mount.c:1703:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1685:12: branch_true: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:1690:40: branch_true: ...to here
criu-4.2/criu/mount.c:1690:40: call_function: calling ‘get_plain_mountpoint’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1690:40: return_function: returning to ‘add_cr_time_mount’ from ‘get_plain_mountpoint’
criu-4.2/criu/mount.c:1691:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1700:9: branch_false: ...to here
criu-4.2/criu/mount.c:1701:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1703:22: throw: if ‘find_fstype_by_name’ throws an exception...
criu-4.2/criu/mount.c:1703:22: danger: ‘<unknown>’ leaks here; was allocated at [(31)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
criu-4.2/criu/mount.c:1703:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: acquire_memory: allocated here
criu-4.2/criu/mount.c:1680:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1680:9: branch_false: ...to here
criu-4.2/criu/mount.c:1681:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1683:12: branch_false: ...to here
criu-4.2/criu/mount.c:1683:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1684:17: branch_false: ...to here
criu-4.2/criu/mount.c:1685:12: branch_false: following ‘false’ branch (when ‘add_slash == 0’)...
criu-4.2/criu/mount.c:1686:17: branch_false: ...to here
criu-4.2/criu/mount.c:1689:12: branch_false: following ‘false’ branch (when ‘rst == 0’)...
criu-4.2/criu/mount.c:1694:9: branch_false: ...to here
criu-4.2/criu/mount.c:1697:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1697:9: branch_false: ...to here
criu-4.2/criu/mount.c:1698:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1698:9: branch_false: ...to here
criu-4.2/criu/mount.c:1699:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1699:9: branch_false: ...to here
criu-4.2/criu/mount.c:1700:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:1700:9: branch_false: ...to here
criu-4.2/criu/mount.c:1701:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1703:22: throw: if ‘find_fstype_by_name’ throws an exception...
criu-4.2/criu/mount.c:1703:22: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def419]
criu-4.2/criu/mount.c:2102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2102:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2102:9: branch_true: ...to here
criu-4.2/criu/mount.c:2102:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def420]
criu-4.2/criu/mount.c:2316:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(service_mountpoint(mi), 2097152)’
criu-4.2/criu/mount.c:2288:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2288:12: branch_false: ...to here
criu-4.2/criu/mount.c:2297:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2298:24: branch_true: ...to here
criu-4.2/criu/mount.c:2300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2305:13: branch_false: ...to here
criu-4.2/criu/mount.c:2305:13: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2308:12: branch_false: ...to here
criu-4.2/criu/mount.c:2308:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2311:27: branch_true: ...to here
criu-4.2/criu/mount.c:2311:22: acquire_resource: opened here
criu-4.2/criu/mount.c:2312:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2316:24: branch_false: ...to here
criu-4.2/criu/mount.c:2317:21: throw: if ‘__userns_call’ throws an exception...
criu-4.2/criu/mount.c:2316:24: danger: ‘open(service_mountpoint(mi), 2097152)’ leaks here; was opened at [(11)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
criu-4.2/criu/mount.c:2334:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2288:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2288:12: branch_false: ...to here
criu-4.2/criu/mount.c:2300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2305:13: branch_false: ...to here
criu-4.2/criu/mount.c:2308:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2325:12: branch_false: ...to here
criu-4.2/criu/mount.c:2334:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2334:9: branch_true: ...to here
criu-4.2/criu/mount.c:2334:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
criu-4.2/criu/mount.c:2573:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2573:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2573:9: branch_true: ...to here
criu-4.2/criu/mount.c:2573:9: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2573:9: branch_false: ...to here
criu-4.2/criu/mount.c:2573:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
criu-4.2/criu/mount.c:2628:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2624:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2627:17: branch_true: ...to here
criu-4.2/criu/mount.c:2627:17: branch_true: following ‘true’ branch (when ‘p != mi’)...
criu-4.2/criu/mount.c:2628:25: branch_true: ...to here
criu-4.2/criu/mount.c:2628:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
criu-4.2/criu/mount.c:2653:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:2641:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2643:17: branch_true: ...to here
criu-4.2/criu/mount.c:2647:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.2/criu/mount.c:2648:25: branch_true: ...to here
criu-4.2/criu/mount.c:2653:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def425]
criu-4.2/criu/mount.c:2765:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(service_mountpoint(mi), 2097152)’
criu-4.2/criu/mount.c:2726:12: enter_function: entry to ‘do_mount_one’
criu-4.2/criu/mount.c:2752:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2758:21: branch_false: ...to here
criu-4.2/criu/mount.c:2758:20: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:2759:35: branch_true: ...to here
criu-4.2/criu/mount.c:2759:30: acquire_resource: opened here
criu-4.2/criu/mount.c:2760:28: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:2765:29: branch_false: ...to here
criu-4.2/criu/mount.c:2765:29: throw: if ‘__userns_call’ throws an exception...
criu-4.2/criu/mount.c:2765:29: danger: ‘open(service_mountpoint(mi), 2097152)’ leaks here; was opened at [(9)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
criu-4.2/criu/mount.c:3015:36: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/mount.c:3012:15: acquire_memory: allocated here
criu-4.2/criu/mount.c:3012:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/mount.c:3014:20: branch_false: ...to here
criu-4.2/criu/mount.c:3014:20: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.2/criu/mount.c:3015:36: branch_true: ...to here
criu-4.2/criu/mount.c:3015:36: throw: if ‘shmalloc’ throws an exception...
criu-4.2/criu/mount.c:3015:36: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
criu-4.2/criu/mount.c:3027:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mnt_entry_alloc(rst)’
criu-4.2/criu/mount.c:1662:35: enter_function: entry to ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: call_function: calling ‘mnt_entry_alloc’ from ‘add_cr_time_mount’
criu-4.2/criu/mount.c:1669:14: return_function: returning to ‘add_cr_time_mount’ from ‘mnt_entry_alloc’
criu-4.2/criu/mount.c:1670:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:1673:22: branch_false: ...to here
criu-4.2/criu/mount.c:1680:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/mount.c:1680:26: branch_true: ...to here
criu-4.2/criu/mount.c:1680:26: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:3027:17: danger: ‘mnt_entry_alloc(rst)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
criu-4.2/criu/mount.c:3091:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:3091:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3091:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
criu-4.2/criu/mount.c:3297:30: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
criu-4.2/criu/mount.c:3378:5: enter_function: entry to ‘read_mnt_ns_img’
criu-4.2/criu/mount.c:3383:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3388:14: branch_false: ...to here
criu-4.2/criu/mount.c:3388:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.2/criu/mount.c:3389:36: branch_true: ...to here
criu-4.2/criu/mount.c:3394:21: call_function: calling ‘collect_mnt_from_image’ from ‘read_mnt_ns_img’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
criu-4.2/criu/mount.c:3297:30: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
criu-4.2/criu/mount.c:3378:5: enter_function: entry to ‘read_mnt_ns_img’
criu-4.2/criu/mount.c:3383:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3388:14: branch_false: ...to here
criu-4.2/criu/mount.c:3388:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.2/criu/mount.c:3389:36: branch_true: ...to here
criu-4.2/criu/mount.c:3394:21: call_function: calling ‘collect_mnt_from_image’ from ‘read_mnt_ns_img’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
criu-4.2/criu/mount.c:3494:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:3469:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3472:13: branch_false: ...to here
criu-4.2/criu/mount.c:3472:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3485:20: branch_false: following ‘false’ branch (when ‘parent’ is NULL)...
criu-4.2/criu/mount.c:3488:24: branch_false: ...to here
criu-4.2/criu/mount.c:3489:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3494:17: branch_false: ...to here
criu-4.2/criu/mount.c:3494:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3494:17: branch_true: ...to here
criu-4.2/criu/mount.c:3494:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def432]
criu-4.2/criu/mount.c:3616:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.2/criu/mount.c:3642:5: enter_function: entry to ‘depopulate_roots_yard’
criu-4.2/criu/mount.c:3646:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.2/criu/mount.c:3652:9: branch_false: ...to here
criu-4.2/criu/mount.c:3654:19: acquire_resource: opened here
criu-4.2/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3660:18: branch_false: ...to here
criu-4.2/criu/mount.c:3660:18: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3666:13: branch_false: ...to here
criu-4.2/criu/mount.c:3666:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3673:13: branch_false: ...to here
criu-4.2/criu/mount.c:3676:13: call_function: calling ‘__depopulate_roots_yard’ from ‘depopulate_roots_yard’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def433]
criu-4.2/criu/mount.c:3660:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.2/criu/mount.c:3646:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.2/criu/mount.c:3652:9: branch_false: ...to here
criu-4.2/criu/mount.c:3654:19: acquire_resource: opened here
criu-4.2/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3660:18: branch_false: ...to here
criu-4.2/criu/mount.c:3660:18: throw: if ‘do_open_proc’ throws an exception...
criu-4.2/criu/mount.c:3660:18: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def434]
criu-4.2/criu/mount.c:3667:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.2/criu/mount.c:3646:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.2/criu/mount.c:3652:9: branch_false: ...to here
criu-4.2/criu/mount.c:3654:19: acquire_resource: opened here
criu-4.2/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3660:18: branch_false: ...to here
criu-4.2/criu/mount.c:3660:18: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3666:13: branch_false: ...to here
criu-4.2/criu/mount.c:3666:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3667:17: branch_true: ...to here
criu-4.2/criu/mount.c:3667:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/mount.c:3667:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def435]
criu-4.2/criu/mount.c:3673:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.2/criu/mount.c:3646:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.2/criu/mount.c:3652:9: branch_false: ...to here
criu-4.2/criu/mount.c:3654:19: acquire_resource: opened here
criu-4.2/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3660:18: branch_false: ...to here
criu-4.2/criu/mount.c:3660:18: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3666:13: branch_false: ...to here
criu-4.2/criu/mount.c:3666:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3673:13: branch_false: ...to here
criu-4.2/criu/mount.c:3673:13: throw: if ‘try_clean_remaps’ throws an exception...
criu-4.2/criu/mount.c:3673:13: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def436]
criu-4.2/criu/mount.c:3828:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/mount.c:3835:5: enter_function: entry to ‘__mntns_get_root_fd’
criu-4.2/criu/mount.c:3841:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3844:14: branch_false: ...to here
criu-4.2/criu/mount.c:3844:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3852:22: branch_true: ...to here
criu-4.2/criu/mount.c:3852:22: acquire_resource: opened here
criu-4.2/criu/mount.c:3853:20: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:3858:17: branch_false: ...to here
criu-4.2/criu/mount.c:3888:16: call_function: inlined call to ‘mntns_set_root_fd’ from ‘__mntns_get_root_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
criu-4.2/criu/mount.c:3953:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:3951:12: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3952:25: branch_true: ...to here
criu-4.2/criu/mount.c:3953:17: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:3953:17: branch_true: ...to here
criu-4.2/criu/mount.c:3953:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
criu-4.2/criu/mount.c:4152:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/mount.c:4145:12: branch_false: following ‘false’ branch...
criu-4.2/criu/mount.c:4148:12: branch_false: ...to here
criu-4.2/criu/mount.c:4152:9: branch_true: following ‘true’ branch...
criu-4.2/criu/mount.c:4152:9: branch_true: ...to here
criu-4.2/criu/mount.c:4152:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
criu-4.2/criu/namespaces.c:150:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:146:14: acquire_memory: allocated here
criu-4.2/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.2/criu/namespaces.c:150:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/namespaces.c:150:23: branch_true: ...to here
criu-4.2/criu/namespaces.c:150:23: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/namespaces.c:150:23: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
criu-4.2/criu/namespaces.c:169:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:146:14: acquire_memory: allocated here
criu-4.2/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.2/criu/namespaces.c:150:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:150:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:151:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:156:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:156:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:159:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:159:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:162:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:162:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:165:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:165:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:168:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:168:19: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:169:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:169:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/namespaces.c:169:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
criu-4.2/criu/namespaces.c:182:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:146:14: acquire_memory: allocated here
criu-4.2/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.2/criu/namespaces.c:150:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:150:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:151:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:156:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:156:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:159:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:159:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:162:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:162:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:165:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:165:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:168:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:168:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:171:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:171:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:178:21: branch_false: ...to here
criu-4.2/criu/namespaces.c:178:19: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:182:17: branch_false: ...to here
criu-4.2/criu/namespaces.c:182:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/namespaces.c:182:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
criu-4.2/criu/namespaces.c:204:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:200:12: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:201:25: branch_true: ...to here
criu-4.2/criu/namespaces.c:201:20: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:203:28: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:204:33: branch_true: following ‘true’ branch (when ‘kid > 4294967295’)...
criu-4.2/criu/namespaces.c:204:33: branch_true: ...to here
criu-4.2/criu/namespaces.c:204:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
criu-4.2/criu/namespaces.c:235:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.2/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.2/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.2/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.2/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.2/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
criu-4.2/criu/namespaces.c:455:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:449:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:452:20: branch_false: ...to here
criu-4.2/criu/namespaces.c:452:12: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:454:37: branch_true: ...to here
criu-4.2/criu/namespaces.c:454:20: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:455:25: branch_true: ...to here
criu-4.2/criu/namespaces.c:455:25: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:455:25: branch_true: ...to here
criu-4.2/criu/namespaces.c:455:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
criu-4.2/criu/namespaces.c:509:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:494:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:497:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:499:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:508:15: branch_false: ...to here
criu-4.2/criu/namespaces.c:509:9: branch_true: following ‘true’ branch (when ‘kid == 0’)...
criu-4.2/criu/namespaces.c:509:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:509:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
criu-4.2/criu/namespaces.c:842:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:830:13: branch_false: ...to here
criu-4.2/criu/namespaces.c:830:13: acquire_memory: allocated here
criu-4.2/criu/namespaces.c:830:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.2/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.2/criu/namespaces.c:842:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/namespaces.c:842:29: branch_true: ...to here
criu-4.2/criu/namespaces.c:842:29: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/namespaces.c:842:29: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
criu-4.2/criu/namespaces.c:850:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.2/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.2/criu/namespaces.c:842:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:848:31: branch_false: ...to here
criu-4.2/criu/namespaces.c:850:17: throw: if ‘uid_gid_extent__init’ throws an exception...
criu-4.2/criu/namespaces.c:850:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
criu-4.2/criu/namespaces.c:850:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:830:13: branch_false: ...to here
criu-4.2/criu/namespaces.c:830:13: acquire_memory: allocated here
criu-4.2/criu/namespaces.c:830:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.2/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.2/criu/namespaces.c:842:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/namespaces.c:848:31: branch_false: ...to here
criu-4.2/criu/namespaces.c:850:17: throw: if ‘uid_gid_extent__init’ throws an exception...
criu-4.2/criu/namespaces.c:850:17: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def449]
criu-4.2/criu/namespaces.c:1262:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
criu-4.2/criu/namespaces.c:1276:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def451]
criu-4.2/criu/namespaces.c:1277:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.2/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1277:9: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1277:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1277:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def452]
criu-4.2/criu/namespaces.c:1278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.2/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1278:9: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1278:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1278:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
criu-4.2/criu/namespaces.c:1279:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.2/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1279:9: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1279:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1279:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
criu-4.2/criu/namespaces.c:1289:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1270:6: enter_function: entry to ‘unsc_msg_pid_fd’
criu-4.2/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.2/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1279:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1281:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:1286:14: call_function: inlined call to ‘__cmsg_nxthdr’ from ‘unsc_msg_pid_fd’
criu-4.2/criu/namespaces.c:1288:13: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1289:17: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1289:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
criu-4.2/criu/namespaces.c:1290:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1270:6: enter_function: entry to ‘unsc_msg_pid_fd’
criu-4.2/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.2/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.2/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1279:9: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1281:12: branch_false: ...to here
criu-4.2/criu/namespaces.c:1286:14: call_function: inlined call to ‘__cmsg_nxthdr’ from ‘unsc_msg_pid_fd’
criu-4.2/criu/namespaces.c:1288:13: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1290:17: branch_false: ...to here
criu-4.2/criu/namespaces.c:1290:17: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1290:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1290:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
criu-4.2/criu/namespaces.c:1400:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/namespaces.c:1370:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1375:13: branch_false: ...to here
criu-4.2/criu/namespaces.c:1375:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1378:14: branch_false: ...to here
criu-4.2/criu/namespaces.c:1379:12: branch_false: following ‘false’ branch...
criu-4.2/criu/namespaces.c:1383:9: branch_false: ...to here
criu-4.2/criu/namespaces.c:1385:12: branch_true: following ‘true’ branch (when ‘async != 0’)...
criu-4.2/criu/namespaces.c:1400:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1400:17: branch_true: following ‘true’ branch...
criu-4.2/criu/namespaces.c:1400:17: branch_true: ...to here
criu-4.2/criu/namespaces.c:1400:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
criu-4.2/criu/net.c:260:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2698:12: enter_function: entry to ‘restore_netns_conf’
criu-4.2/criu/net.c:2703:12: branch_false: following ‘false’ branch (when ‘netns’ is non-NULL)...
criu-4.2/criu/net.c:2707:13: branch_false: ...to here
criu-4.2/criu/net.c:2707:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2708:63: branch_true: ...to here
criu-4.2/criu/net.c:2708:23: call_function: calling ‘ipv4_conf_op’ from ‘restore_netns_conf’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def458]
criu-4.2/criu/net.c:968:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def459]
criu-4.2/criu/net.c:975:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def460]
criu-4.2/criu/net.c:982:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def461]
criu-4.2/criu/net.c:989:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def462]
criu-4.2/criu/net.c:997:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def463]
criu-4.2/criu/net.c:1025:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def464]
criu-4.2/criu/net.c:1033:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
criu-4.2/criu/net.c:1033:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def466]
criu-4.2/criu/net.c:1039:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def467]
criu-4.2/criu/net.c:1044:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
criu-4.2/criu/net.c:1044:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def469]
criu-4.2/criu/net.c:1048:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def470]
criu-4.2/criu/net.c:1057:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2979:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.2/criu/net.c:3000:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def471]
criu-4.2/criu/net.c:1218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def472]
criu-4.2/criu/net.c:1219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def473]
criu-4.2/criu/net.c:1231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def474]
criu-4.2/criu/net.c:1311:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
criu-4.2/criu/net.c:1512:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/net.c:1745:12: enter_function: entry to ‘__restore_link’
criu-4.2/criu/net.c:1757:24: call_function: calling ‘restore_one_link’ from ‘__restore_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
criu-4.2/criu/net.c:1960:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
criu-4.2/criu/net.c:1960:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2425:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2430:12: branch_false: ...to here
criu-4.2/criu/net.c:2430:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.2/criu/net.c:2435:17: branch_true: ...to here
criu-4.2/criu/net.c:2435:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
criu-4.2/criu/net.c:1966:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
criu-4.2/criu/net.c:1966:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2425:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2430:12: branch_false: ...to here
criu-4.2/criu/net.c:2430:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.2/criu/net.c:2435:17: branch_true: ...to here
criu-4.2/criu/net.c:2435:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
criu-4.2/criu/net.c:1968:22: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2425:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2430:12: branch_false: ...to here
criu-4.2/criu/net.c:2430:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.2/criu/net.c:2435:17: branch_true: ...to here
criu-4.2/criu/net.c:2435:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
criu-4.2/criu/net.c:2029:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘run_ip_tool’
criu-4.2/criu/net.c:2028:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2029:17: branch_true: ...to here
criu-4.2/criu/net.c:2029:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2029:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
criu-4.2/criu/net.c:2030:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.2/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.2/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.2/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.2/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2028:13: branch_false: ...to here
criu-4.2/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
criu-4.2/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘run_ip_tool’
criu-4.2/criu/net.c:2028:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2029:17: branch_true: ...to here
criu-4.2/criu/net.c:2030:17: throw: if ‘get_service_fd’ throws an exception...
criu-4.2/criu/net.c:2030:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
criu-4.2/criu/net.c:2109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
criu-4.2/criu/net.c:2078:19: enter_function: entry to ‘dump_nftables’
criu-4.2/criu/net.c:2087:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2090:15: branch_false: ...to here
criu-4.2/criu/net.c:2090:15: call_function: calling ‘img_from_set’ from ‘dump_nftables’
criu-4.2/criu/net.c:2090:15: return_function: returning to ‘dump_nftables’ from ‘img_from_set’
criu-4.2/criu/net.c:2091:18: call_function: calling ‘img_raw_fd’ from ‘dump_nftables’
criu-4.2/criu/net.c:2091:18: return_function: returning to ‘dump_nftables’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2092:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2096:18: branch_false: ...to here
criu-4.2/criu/net.c:2097:12: branch_false: following ‘false’ branch (when ‘img_fd >= 0’)...
criu-4.2/criu/net.c:2102:14: branch_false: ...to here
criu-4.2/criu/net.c:2102:14: acquire_memory: allocated here
criu-4.2/criu/net.c:2103:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
criu-4.2/criu/net.c:2109:9: branch_false: ...to here
criu-4.2/criu/net.c:2109:9: throw: if ‘nft_ctx_set_output’ throws an exception...
criu-4.2/criu/net.c:2109:9: danger: ‘fp’ leaks here; was allocated at [(18)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
criu-4.2/criu/net.c:2416:27: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2415:16: branch_true: following ‘true’ branch (when ‘n > 0’)...
criu-4.2/criu/net.c:2416:27: branch_true: ...to here
criu-4.2/criu/net.c:2418:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2416:27: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
criu-4.2/criu/net.c:2425:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2425:13: throw: if ‘fseek’ throws an exception...
criu-4.2/criu/net.c:2425:13: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
criu-4.2/criu/net.c:2426:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.2/criu/net.c:2392:12: enter_function: entry to ‘restore_ip_dump’
criu-4.2/criu/net.c:2400:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: branch_false: ...to here
criu-4.2/criu/net.c:2404:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.2/criu/net.c:2404:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.2/criu/net.c:2405:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2409:20: branch_false: ...to here
criu-4.2/criu/net.c:2409:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2410:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2410:12: branch_false: ...to here
criu-4.2/criu/net.c:2425:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2426:17: branch_true: ...to here
criu-4.2/criu/net.c:2426:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2426:17: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
criu-4.2/criu/net.c:2483:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/run/xtables.lock", 0)’
criu-4.2/criu/net.c:2481:14: acquire_resource: opened here
criu-4.2/criu/net.c:2482:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2483:17: branch_true: ...to here
criu-4.2/criu/net.c:2483:17: danger: ‘open("/run/xtables.lock", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
criu-4.2/criu/net.c:2752:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/net.c:2752:9: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2752:9: branch_true: ...to here
criu-4.2/criu/net.c:2752:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
criu-4.2/criu/net.c:2814:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/net.c:2804:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2807:13: branch_false: ...to here
criu-4.2/criu/net.c:2807:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2810:20: branch_false: ...to here
criu-4.2/criu/net.c:2810:20: acquire_memory: allocated here
criu-4.2/criu/net.c:2810:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2814:9: branch_false: ...to here
criu-4.2/criu/net.c:2814:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2814:9: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def490]
criu-4.2/criu/net.c:2939:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2939:22: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def491]
criu-4.2/criu/net.c:2946:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2942:36: branch_false: ...to here
criu-4.2/criu/net.c:2946:25: throw: if ‘lookup_ns_by_id’ throws an exception...
criu-4.2/criu/net.c:2946:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def492]
criu-4.2/criu/net.c:2948:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2942:36: branch_false: ...to here
criu-4.2/criu/net.c:2947:20: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2948:25: branch_true: ...to here
criu-4.2/criu/net.c:2948:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:2948:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def493]
criu-4.2/criu/net.c:2958:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2958:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/net.c:2958:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
criu-4.2/criu/net.c:3155:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/net.c:3145:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3150:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3155:17: branch_false: ...to here
criu-4.2/criu/net.c:3155:17: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3155:17: branch_true: ...to here
criu-4.2/criu/net.c:3155:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def495]
criu-4.2/criu/net.c:3209:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/net.c:3202:22: branch_true: following ‘true’ branch (when ‘ipv6 != 0’)...
criu-4.2/criu/net.c:3204:13: branch_true: ...to here
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:13: throw: if ‘write’ throws an exception...
criu-4.2/criu/net.c:3209:13: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def496]
criu-4.2/criu/net.c:3209:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/net.c:3202:22: branch_true: following ‘true’ branch (when ‘ipv6 != 0’)...
criu-4.2/criu/net.c:3204:13: branch_true: ...to here
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:13: throw: if ‘write’ throws an exception...
criu-4.2/criu/net.c:3209:13: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def497]
criu-4.2/criu/net.c:3210:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3210:17: branch_true: ...to here
criu-4.2/criu/net.c:3210:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:3210:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def498]
criu-4.2/criu/net.c:3210:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3210:17: branch_true: ...to here
criu-4.2/criu/net.c:3210:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:3210:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def499]
criu-4.2/criu/net.c:3213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/net.c:3202:22: branch_true: following ‘true’ branch (when ‘ipv6 != 0’)...
criu-4.2/criu/net.c:3204:13: branch_true: ...to here
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3213:9: branch_false: ...to here
criu-4.2/criu/net.c:3213:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/net.c:3213:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def500]
criu-4.2/criu/net.c:3213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/net.c:3202:22: branch_true: following ‘true’ branch (when ‘ipv6 != 0’)...
criu-4.2/criu/net.c:3204:13: branch_true: ...to here
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3213:9: branch_false: ...to here
criu-4.2/criu/net.c:3213:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/net.c:3213:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def501]
criu-4.2/criu/net.c:3217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3210:17: branch_true: ...to here
criu-4.2/criu/net.c:3217:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/net.c:3217:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def502]
criu-4.2/criu/net.c:3217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/net.c:3204:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3209:13: branch_false: ...to here
criu-4.2/criu/net.c:3209:12: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3210:17: branch_true: ...to here
criu-4.2/criu/net.c:3217:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/net.c:3217:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
criu-4.2/criu/net.c:3248:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
criu-4.2/criu/net.c:3229:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.2/criu/net.c:3234:14: branch_false: ...to here
criu-4.2/criu/net.c:3234:14: acquire_memory: allocated here
criu-4.2/criu/net.c:3235:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
criu-4.2/criu/net.c:3246:9: branch_false: ...to here
criu-4.2/criu/net.c:3248:9: throw: if ‘nft_ctx_set_output’ throws an exception...
criu-4.2/criu/net.c:3248:9: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def504]
criu-4.2/criu/net.c:3405:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/net.c:3399:14: acquire_resource: opened here
criu-4.2/criu/net.c:3400:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3405:15: branch_false: ...to here
criu-4.2/criu/net.c:3405:15: throw: if ‘cr_system’ throws an exception...
criu-4.2/criu/net.c:3405:15: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def505]
criu-4.2/criu/net.c:3598:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.2/criu/net.c:3544:12: branch_true: following ‘true’ branch (when ‘for_dump != 0’)...
criu-4.2/criu/net.c:3545:38: branch_true: ...to here
criu-4.2/criu/net.c:3545:38: acquire_resource: socket created here
criu-4.2/criu/net.c:3546:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3582:13: branch_false: ...to here
criu-4.2/criu/net.c:3582:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3598:31: branch_false: ...to here
criu-4.2/criu/net.c:3598:15: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def506]
criu-4.2/criu/net.c:3788:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
criu-4.2/criu/net.c:3753:12: enter_function: entry to ‘move_to_bridge’
criu-4.2/criu/net.c:3760:15: call_function: calling ‘external_val’ from ‘move_to_bridge’
criu-4.2/criu/net.c:3760:15: return_function: returning to ‘move_to_bridge’ from ‘external_val’
criu-4.2/criu/net.c:3761:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3764:14: branch_false: ...to here
criu-4.2/criu/net.c:3765:12: branch_false: following ‘false’ branch (when ‘br’ is non-NULL)...
criu-4.2/criu/net.c:3768:9: branch_false: ...to here
criu-4.2/criu/net.c:3774:20: branch_true: following ‘true’ branch (when ‘s == -1’)...
criu-4.2/criu/net.c:3775:29: branch_true: ...to here
criu-4.2/criu/net.c:3775:29: acquire_resource: socket created here
criu-4.2/criu/net.c:3776:28: branch_false: following ‘false’ branch (when ‘s >= 0’)...
criu-4.2/criu/net.c:3786:35: branch_false: ...to here
criu-4.2/criu/net.c:3787:20: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:3788:25: branch_true: ...to here
criu-4.2/criu/net.c:3788:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/net.c:3788:25: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def507]
criu-4.2/criu/net.c:3792:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
criu-4.2/criu/net.c:3753:12: enter_function: entry to ‘move_to_bridge’
criu-4.2/criu/net.c:3760:15: call_function: calling ‘external_val’ from ‘move_to_bridge’
criu-4.2/criu/net.c:3760:15: return_function: returning to ‘move_to_bridge’ from ‘external_val’
criu-4.2/criu/net.c:3761:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3764:14: branch_false: ...to here
criu-4.2/criu/net.c:3765:12: branch_false: following ‘false’ branch (when ‘br’ is non-NULL)...
criu-4.2/criu/net.c:3768:9: branch_false: ...to here
criu-4.2/criu/net.c:3774:20: branch_true: following ‘true’ branch (when ‘s == -1’)...
criu-4.2/criu/net.c:3775:29: branch_true: ...to here
criu-4.2/criu/net.c:3775:29: acquire_resource: socket created here
criu-4.2/criu/net.c:3776:28: branch_false: following ‘false’ branch (when ‘s >= 0’)...
criu-4.2/criu/net.c:3786:35: branch_false: ...to here
criu-4.2/criu/net.c:3787:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:3792:17: branch_false: ...to here
criu-4.2/criu/net.c:3792:17: throw: if ‘__strlcpy’ throws an exception...
criu-4.2/criu/net.c:3792:17: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def508]
criu-4.2/criu/net.c:3891:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2922:12: enter_function: entry to ‘restore_netns_ids’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2942:36: branch_false: ...to here
criu-4.2/criu/net.c:2947:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2952:56: branch_false: ...to here
criu-4.2/criu/net.c:2952:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def509]
criu-4.2/criu/net.c:3893:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2922:12: enter_function: entry to ‘restore_netns_ids’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2942:36: branch_false: ...to here
criu-4.2/criu/net.c:2947:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2952:56: branch_false: ...to here
criu-4.2/criu/net.c:2952:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def510]
criu-4.2/criu/net.c:3896:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:2922:12: enter_function: entry to ‘restore_netns_ids’
criu-4.2/criu/net.c:2926:12: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2929:14: branch_false: ...to here
criu-4.2/criu/net.c:2929:14: acquire_resource: socket created here
criu-4.2/criu/net.c:2930:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:2930:12: branch_false: ...to here
criu-4.2/criu/net.c:2935:21: branch_true: following ‘true’ branch...
criu-4.2/criu/net.c:2939:22: branch_true: ...to here
criu-4.2/criu/net.c:2939:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/net.c:2942:36: branch_false: ...to here
criu-4.2/criu/net.c:2947:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:2952:56: branch_false: ...to here
criu-4.2/criu/net.c:2952:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def511]
criu-4.2/criu/net.c:3936:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def512]
criu-4.2/criu/net.c:3939:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def513]
criu-4.2/criu/net.c:3944:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def514]
criu-4.2/criu/net.c:3946:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/net.c:3996:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.2/criu/net.c:4002:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.2/criu/net.c:4007:12: branch_false: ...to here
criu-4.2/criu/net.c:4007:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/net.c:4009:32: branch_true: ...to here
criu-4.2/criu/net.c:4016:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4021:24: branch_false: ...to here
criu-4.2/criu/net.c:4021:24: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4025:21: branch_false: ...to here
criu-4.2/criu/net.c:4025:20: branch_false: following ‘false’ branch...
criu-4.2/criu/net.c:4030:22: branch_false: ...to here
criu-4.2/criu/net.c:4030:22: acquire_resource: socket created here
criu-4.2/criu/net.c:4031:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/net.c:4036:17: branch_false: ...to here
criu-4.2/criu/net.c:4045:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def515]
criu-4.2/criu/netfilter.c:51:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/netfilter.c:46:14: acquire_resource: opened here
criu-4.2/criu/netfilter.c:47:12: branch_false: following ‘false’ branch...
criu-4.2/criu/netfilter.c:51:59: branch_false: ...to here
criu-4.2/criu/netfilter.c:51:9: throw: if ‘cr_system’ throws an exception...
criu-4.2/criu/netfilter.c:51:9: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
criu-4.2/criu/page-pipe.c:36:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.2/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.2/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: CPPCHECK_WARNING (CWE-476): [#def517]
criu-4.2/criu/page-pipe.c:41: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
criu-4.2/criu/page-pipe.c:41:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.2/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.2/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
criu-4.2/criu/page-pipe.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-pipe.c:37:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:40:13: branch_false: ...to here
criu-4.2/criu/page-pipe.c:41:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:41:9: branch_true: ...to here
criu-4.2/criu/page-pipe.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
criu-4.2/criu/page-pipe.c:43:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.2/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.2/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.2/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
criu-4.2/criu/page-pipe.c:104:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.2/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
criu-4.2/criu/page-pipe.c:107:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.2/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
criu-4.2/criu/page-pipe.c:118:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.2/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def524]
criu-4.2/criu/page-pipe.c:121:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.2/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.2/criu/page-pipe.c:121:17: throw: if ‘cnt_add’ throws an exception...
criu-4.2/criu/page-pipe.c:121:17: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
criu-4.2/criu/page-pipe.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.2/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.2/criu/page-pipe.c:121:17: throw: if ‘cnt_add’ throws an exception...
criu-4.2/criu/page-pipe.c:121:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def526]
criu-4.2/criu/page-pipe.c:124:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.2/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.2/criu/page-pipe.c:124:28: throw: if ‘fcntl’ throws an exception...
criu-4.2/criu/page-pipe.c:124:28: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
criu-4.2/criu/page-pipe.c:124:28: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.2/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.2/criu/page-pipe.c:124:28: throw: if ‘fcntl’ throws an exception...
criu-4.2/criu/page-pipe.c:124:28: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def528]
criu-4.2/criu/page-pipe.c:126:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.2/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.2/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.2/criu/page-pipe.c:125:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:126:25: branch_true: ...to here
criu-4.2/criu/page-pipe.c:126:25: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
criu-4.2/criu/page-pipe.c:127:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.2/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
criu-4.2/criu/page-pipe.c:165:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.2/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
criu-4.2/criu/page-pipe.c:203:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.2/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.2/criu/page-pipe.c:202:12: branch_true: following ‘true’ branch (when ‘iovs’ is NULL)...
criu-4.2/criu/page-pipe.c:203:24: branch_true: ...to here
criu-4.2/criu/page-pipe.c:203:24: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/page-pipe.c:203:24: branch_true: ...to here
criu-4.2/criu/page-pipe.c:203:24: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/page-pipe.c:203:24: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def532]
criu-4.2/criu/page-pipe.c:242: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
criu-4.2/criu/page-pipe.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-pipe.c:242:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:242:9: branch_true: ...to here
criu-4.2/criu/page-pipe.c:242:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def534]
criu-4.2/criu/page-pipe.c:252: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def535]
criu-4.2/criu/page-pipe.c:270: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def536]
criu-4.2/criu/page-pipe.c:270:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-pipe.c:258:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:261:13: branch_false: ...to here
criu-4.2/criu/page-pipe.c:261:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-pipe.c:264:13: branch_false: ...to here
criu-4.2/criu/page-pipe.c:270:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-pipe.c:270:9: branch_true: ...to here
criu-4.2/criu/page-pipe.c:270:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def537]
criu-4.2/criu/page-pipe.c:278: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def538]
criu-4.2/criu/page-pipe.c:278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def539]
criu-4.2/criu/page-pipe.c:295: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def540]
criu-4.2/criu/page-xfer.c:77:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def541]
criu-4.2/criu/page-xfer.c:445:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-xfer.c:445:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:445:9: branch_true: ...to here
criu-4.2/criu/page-xfer.c:445:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def542]
criu-4.2/criu/page-xfer.c:462:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-xfer.c:459:12: branch_false: following ‘false’ branch (when ‘hole_flags != 1’)...
criu-4.2/criu/page-xfer.c:462:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:462:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
criu-4.2/criu/page-xfer.c:652:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def544]
criu-4.2/criu/page-xfer.c:659:21: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def545]
criu-4.2/criu/page-xfer.c:659:56: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def546]
criu-4.2/criu/page-xfer.c:660:25: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
criu-4.2/criu/page-xfer.c:738:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
criu-4.2/criu/page-xfer.c:742:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
criu-4.2/criu/page-xfer.c:747:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:778:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:822:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
criu-4.2/criu/page-xfer.c:806:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_true: following ‘true’ branch (when ‘addr == 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:806:33: branch_true: ...to here
criu-4.2/criu/page-xfer.c:806:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/page-xfer.c:806:33: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
criu-4.2/criu/page-xfer.c:811:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:804:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:805:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:809:39: branch_false: ...to here
criu-4.2/criu/page-xfer.c:811:32: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/page-xfer.c:811:32: branch_true: ...to here
criu-4.2/criu/page-xfer.c:811:32: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/page-xfer.c:811:32: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
criu-4.2/criu/page-xfer.c:816:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/page-xfer.c:792:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.2/criu/page-xfer.c:796:19: branch_false: ...to here
criu-4.2/criu/page-xfer.c:796:19: acquire_memory: allocated here
criu-4.2/criu/page-xfer.c:796:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/page-xfer.c:800:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:800:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:801:21: branch_true: ...to here
criu-4.2/criu/page-xfer.c:801:20: branch_false: following ‘false’ branch...
criu-4.2/criu/page-xfer.c:816:17: branch_false: ...to here
criu-4.2/criu/page-xfer.c:816:17: throw: if ‘timing_start’ throws an exception...
criu-4.2/criu/page-xfer.c:816:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
criu-4.2/criu/page-xfer.c:1635:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/page-xfer.c:1629:12: branch_false: following ‘false’ branch...
criu-4.2/criu/page-xfer.c:1635:9: branch_false: ...to here
criu-4.2/criu/page-xfer.c:1635:9: branch_true: following ‘true’ branch...
criu-4.2/criu/page-xfer.c:1635:9: branch_true: ...to here
criu-4.2/criu/page-xfer.c:1635:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def554]
criu-4.2/criu/page-xfer.c:1644:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def555]
criu-4.2/criu/pagemap-cache.c:52:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap-cache.c:52:9: branch_true: following ‘true’ branch (when ‘vma_head’ is NULL)...
criu-4.2/criu/pagemap-cache.c:52:9: branch_true: ...to here
criu-4.2/criu/pagemap-cache.c:52:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def556]
criu-4.2/criu/pagemap-cache.c:143:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap-cache.c:132:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap-cache.c:132:13: branch_false: ...to here
criu-4.2/criu/pagemap-cache.c:132:13: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap-cache.c:139:17: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap-cache.c:140:29: branch_true: ...to here
criu-4.2/criu/pagemap-cache.c:140:28: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap-cache.c:143:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def557]
criu-4.2/criu/pagemap-cache.c:174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap-cache.c:174:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap-cache.c:174:9: branch_true: ...to here
criu-4.2/criu/pagemap-cache.c:174:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def558]
criu-4.2/criu/pagemap-cache.c:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap-cache.c:174:9: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap-cache.c:175:9: branch_false: ...to here
criu-4.2/criu/pagemap-cache.c:175:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap-cache.c:175:9: branch_true: ...to here
criu-4.2/criu/pagemap-cache.c:175:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def559]
criu-4.2/criu/pagemap.c:175:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def560]
criu-4.2/criu/pagemap.c:285:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:278:18: acquire_memory: allocated here
criu-4.2/criu/pagemap.c:278:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:282:24: branch_false: ...to here
criu-4.2/criu/pagemap.c:285:15: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/pagemap.c:285:15: branch_true: ...to here
criu-4.2/criu/pagemap.c:285:15: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/pagemap.c:285:15: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def561]
criu-4.2/criu/pagemap.c:421:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap.c:405:12: enter_function: entry to ‘maybe_read_page_img_streamer’
criu-4.2/criu/pagemap.c:412:14: call_function: calling ‘img_raw_fd’ from ‘maybe_read_page_img_streamer’
criu-4.2/criu/pagemap.c:412:14: return_function: returning to ‘maybe_read_page_img_streamer’ from ‘img_raw_fd’
criu-4.2/criu/pagemap.c:413:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:418:9: branch_false: ...to here
criu-4.2/criu/pagemap.c:421:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap.c:421:9: branch_true: ...to here
criu-4.2/criu/pagemap.c:421:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
criu-4.2/criu/pagemap.c:579:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap.c:556:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/pagemap.c:562:21: branch_false: ...to here
criu-4.2/criu/pagemap.c:562:20: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:565:28: branch_false: ...to here
criu-4.2/criu/pagemap.c:579:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def563]
criu-4.2/criu/pagemap.c:596:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pagemap.c:596:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pagemap.c:596:9: branch_true: ...to here
criu-4.2/criu/pagemap.c:596:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
criu-4.2/criu/pagemap.c:642:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
criu-4.2/criu/pagemap.c:647:18: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
criu-4.2/criu/pagemap.c:668:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
criu-4.2/criu/pagemap.c:785:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
criu-4.2/criu/pagemap.c:785:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
criu-4.2/criu/pagemap.c:800:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
criu-4.2/criu/pagemap.c:805:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
criu-4.2/criu/pagemap.c:810:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.2/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.2/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.2/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.2/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
criu-4.2/criu/parasite-syscall.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:108:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:108:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def573]
criu-4.2/criu/parasite-syscall.c:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:109:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:109:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:109:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def574]
criu-4.2/criu/parasite-syscall.c:110:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:110:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:110:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:110:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
criu-4.2/criu/parasite-syscall.c:111:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:111:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:111:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:111:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
criu-4.2/criu/parasite-syscall.c:112:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:111:9: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:112:9: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:112:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:112:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:112:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
criu-4.2/criu/parasite-syscall.c:187:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:187:9: branch_true: following ‘true’ branch (when ‘id == 0’)...
criu-4.2/criu/parasite-syscall.c:187:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:187:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
criu-4.2/criu/parasite-syscall.c:350:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.2/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:350:21: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/parasite-syscall.c:350:21: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:350:21: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/parasite-syscall.c:350:21: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
criu-4.2/criu/parasite-syscall.c:358:40: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.2/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:357:20: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:358:34: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:358:40: throw: if ‘compel_get_leader_sp’ throws an exception...
criu-4.2/criu/parasite-syscall.c:358:40: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
criu-4.2/criu/parasite-syscall.c:362:34: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.2/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:357:20: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:362:28: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:362:34: throw: if ‘compel_prepare_thread’ throws an exception...
criu-4.2/criu/parasite-syscall.c:362:34: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
criu-4.2/criu/parasite-syscall.c:366:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.2/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:357:20: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:362:28: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:363:20: branch_false: following ‘false’ branch...
criu-4.2/criu/parasite-syscall.c:366:26: branch_false: ...to here
criu-4.2/criu/parasite-syscall.c:366:32: throw: if ‘compel_get_thread_sp’ throws an exception...
criu-4.2/criu/parasite-syscall.c:366:32: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def582]
criu-4.2/criu/parasite-syscall.c:388:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/parasite-syscall.c:388:9: branch_true: following ‘true’ branch...
criu-4.2/criu/parasite-syscall.c:388:9: branch_true: ...to here
criu-4.2/criu/parasite-syscall.c:388:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
criu-4.2/criu/pidfd-store.c:165:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/pidfd-store.c:142:5: enter_function: entry to ‘init_pidfd_store_hash’
criu-4.2/criu/pidfd-store.c:147:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
criu-4.2/criu/pidfd-store.c:148:17: branch_true: ...to here
criu-4.2/criu/pidfd-store.c:151:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pidfd-store.c:151:12: branch_false: ...to here
criu-4.2/criu/pidfd-store.c:160:25: acquire_memory: allocated here
criu-4.2/criu/pidfd-store.c:160:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/pidfd-store.c:163:17: call_function: inlined call to ‘INIT_HLIST_NODE’ from ‘init_pidfd_store_hash’
criu-4.2/criu/pidfd-store.c:165:23: throw: if ‘__recv_fds’ throws an exception...
criu-4.2/criu/pidfd-store.c:165:23: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def584]
criu-4.2/criu/pidfd.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pidfd.c:187:12: enter_function: entry to ‘open_one_pidfd’
criu-4.2/criu/pidfd.c:195:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pidfd.c:204:34: branch_false: ...to here
criu-4.2/criu/pidfd.c:204:16: call_function: calling ‘lookup_dead_pidfd’ from ‘open_one_pidfd’
criu-4.2/criu/pidfd.c:204:16: return_function: returning to ‘open_one_pidfd’ from ‘lookup_dead_pidfd’
criu-4.2/criu/pidfd.c:205:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pidfd.c:205:9: branch_true: ...to here
criu-4.2/criu/pidfd.c:205:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def585]
criu-4.2/criu/pie/parasite-vdso.c:132:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pie/parasite-vdso.c:131:12: branch_true: following ‘true’ branch...
criu-4.2/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.2/criu/pie/parasite-vdso.c:132:17: branch_true: following ‘true’ branch (when ‘vdso_size < space’)...
criu-4.2/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.2/criu/pie/parasite-vdso.c:132:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
criu-4.2/criu/pie/parasite-vdso.c:136:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pie/parasite-vdso.c:131:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pie/parasite-vdso.c:136:9: branch_false: ...to here
criu-4.2/criu/pie/parasite-vdso.c:136:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pie/parasite-vdso.c:136:9: branch_true: ...to here
criu-4.2/criu/pie/parasite-vdso.c:136:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def587]
criu-4.2/criu/pie/restorer.c:1235:59: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts.tv_sec’
criu-4.2/criu/pie/restorer.c:1215:21: branch_true: following ‘true’ branch...
criu-4.2/criu/pie/restorer.c:1216:46: branch_true: ...to here
criu-4.2/criu/pie/restorer.c:1221:20: branch_true: following ‘true’ branch...
criu-4.2/criu/pie/restorer.c:1230:47: branch_true: ...to here
criu-4.2/criu/pie/restorer.c:1230:28: branch_false: following ‘false’ branch...
criu-4.2/criu/pie/restorer.c:1235:25: branch_false: ...to here
criu-4.2/criu/pie/restorer.c:1235:59: danger: use of uninitialized value ‘ts.tv_sec’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def588]
criu-4.2/criu/pie/restorer.c:1468:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pie/restorer.c:1457:21: branch_true: following ‘true’ branch...
criu-4.2/criu/pie/restorer.c:1460:63: branch_true: ...to here
criu-4.2/criu/pie/restorer.c:1468:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def589]
criu-4.2/criu/pie/restorer.c:2345:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def590]
criu-4.2/criu/pipes.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def591]
criu-4.2/criu/pipes.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
criu-4.2/criu/pipes.c:162:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
criu-4.2/criu/pipes.c:162:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
criu-4.2/criu/pipes.c:163:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def595]
criu-4.2/criu/pipes.c:163:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def596]
criu-4.2/criu/pipes.c:165:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def597]
criu-4.2/criu/pipes.c:174:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def598]
criu-4.2/criu/pipes.c:174:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def599]
criu-4.2/criu/pipes.c:182:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def600]
criu-4.2/criu/pipes.c:182:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.2/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:300:13: branch_false: ...to here
criu-4.2/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:303:13: branch_false: ...to here
criu-4.2/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:308:59: branch_false: ...to here
criu-4.2/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def601]
criu-4.2/criu/pipes.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, flags)’
criu-4.2/criu/pipes.c:218:15: acquire_resource: opened here
criu-4.2/criu/pipes.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:221:9: branch_false: ...to here
criu-4.2/criu/pipes.c:221:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/pipes.c:221:9: danger: ‘open(&path, flags)’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def602]
criu-4.2/criu/pipes.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/pipes.c:232:15: acquire_resource: opened here
criu-4.2/criu/pipes.c:233:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:240:9: branch_false: ...to here
criu-4.2/criu/pipes.c:240:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/pipes.c:240:9: danger: ‘ret’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def603]
criu-4.2/criu/pipes.c:435:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:13: throw: if ‘fcntl’ throws an exception...
criu-4.2/criu/pipes.c:435:13: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def604]
criu-4.2/criu/pipes.c:435:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[1]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:13: throw: if ‘fcntl’ throws an exception...
criu-4.2/criu/pipes.c:435:13: danger: ‘steal_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def605]
criu-4.2/criu/pipes.c:436:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_true: following ‘true’ branch...
criu-4.2/criu/pipes.c:436:17: branch_true: ...to here
criu-4.2/criu/pipes.c:436:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/pipes.c:436:17: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def606]
criu-4.2/criu/pipes.c:440:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:440:17: throw: if ‘tee’ throws an exception...
criu-4.2/criu/pipes.c:440:17: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def607]
criu-4.2/criu/pipes.c:443:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_true: following ‘true’ branch (when ‘bytes < 0’)...
criu-4.2/criu/pipes.c:442:21: branch_true: ...to here
criu-4.2/criu/pipes.c:442:20: branch_true: following ‘true’ branch...
criu-4.2/criu/pipes.c:443:25: branch_true: ...to here
criu-4.2/criu/pipes.c:443:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/pipes.c:443:25: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def608]
criu-4.2/criu/pipes.c:455:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.2/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:455:13: throw: if ‘pb_write_one’ throws an exception...
criu-4.2/criu/pipes.c:455:13: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def609]
criu-4.2/criu/pipes.c:455:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[bytes]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_true: following ‘true’ branch (when ‘bytes < 0’)...
criu-4.2/criu/pipes.c:442:21: branch_true: ...to here
criu-4.2/criu/pipes.c:442:20: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:455:13: throw: if ‘pb_write_one’ throws an exception...
criu-4.2/criu/pipes.c:455:13: danger: ‘steal_pipe[bytes]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def610]
criu-4.2/criu/pipes.c:460:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.2/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:455:12: branch_false: ...to here
criu-4.2/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.2/criu/pipes.c:460:25: branch_true: ...to here
criu-4.2/criu/pipes.c:460:25: throw: if ‘splice’ throws an exception...
criu-4.2/criu/pipes.c:460:25: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def611]
criu-4.2/criu/pipes.c:472:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:472:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/pipes.c:472:9: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def612]
criu-4.2/criu/pipes.c:472:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.2/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:404:12: branch_false: ...to here
criu-4.2/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:420:15: branch_false: ...to here
criu-4.2/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.2/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.2/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:429:13: branch_false: ...to here
criu-4.2/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:435:13: branch_false: ...to here
criu-4.2/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pipes.c:440:17: branch_false: ...to here
criu-4.2/criu/pipes.c:472:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/pipes.c:472:9: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
criu-4.2/criu/plugin.c:33:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/plugin.c:104:12: enter_function: entry to ‘cr_lib_load’
criu-4.2/criu/plugin.c:113:12: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
criu-4.2/criu/plugin.c:124:13: branch_false: ...to here
criu-4.2/criu/plugin.c:125:12: branch_true: following ‘true’ branch (when ‘d’ is NULL)...
criu-4.2/criu/plugin.c:126:21: branch_true: ...to here
criu-4.2/criu/plugin.c:126:21: call_function: calling ‘cr_gen_plugin_desc’ from ‘cr_lib_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
criu-4.2/criu/plugin.c:37:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/plugin.c:104:12: enter_function: entry to ‘cr_lib_load’
criu-4.2/criu/plugin.c:113:12: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
criu-4.2/criu/plugin.c:124:13: branch_false: ...to here
criu-4.2/criu/plugin.c:125:12: branch_true: following ‘true’ branch (when ‘d’ is NULL)...
criu-4.2/criu/plugin.c:126:21: branch_true: ...to here
criu-4.2/criu/plugin.c:126:21: call_function: calling ‘cr_gen_plugin_desc’ from ‘cr_lib_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
criu-4.2/criu/plugin.c:86:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
criu-4.2/criu/plugin.c:91:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
criu-4.2/criu/plugin.c:134:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
criu-4.2/criu/plugin.c:134:16: warning[-Wanalyzer-malloc-leak]: leak of ‘d’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
criu-4.2/criu/plugin.c:139:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
criu-4.2/criu/plugin.c:176:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/plugin.c:203:5: enter_function: entry to ‘cr_plugin_init’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:239:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:246:30: branch_false: ...to here
criu-4.2/criu/plugin.c:251:20: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:256:21: branch_false: ...to here
criu-4.2/criu/plugin.c:256:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
criu-4.2/criu/plugin.c:238:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(opts.libdir)’
criu-4.2/criu/plugin.c:211:21: branch_true: following ‘true’ branch (when ‘i != 13’)...
criu-4.2/criu/plugin.c:212:17: branch_true: ...to here
criu-4.2/criu/plugin.c:226:13: acquire_memory: allocated here
criu-4.2/criu/plugin.c:227:12: branch_false: following ‘false’ branch...
criu-4.2/criu/plugin.c:227:12: branch_false: ...to here
criu-4.2/criu/plugin.c:238:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/plugin.c:238:22: danger: ‘opendir(opts.libdir)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def622]
criu-4.2/criu/proc_parse.c:279:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 0)’
criu-4.2/criu/proc_parse.c:421:12: enter_function: entry to ‘vma_get_mapfile’
criu-4.2/criu/proc_parse.c:430:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:433:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:477:12: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:478:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:478:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:482:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:482:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:506:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:506:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:506:40: branch_true: ...to here
criu-4.2/criu/proc_parse.c:506:21: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:507:32: branch_false: ...to here
criu-4.2/criu/proc_parse.c:507:32: call_function: calling ‘vma_get_mapfile_user’ from ‘vma_get_mapfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def623]
criu-4.2/criu/proc_parse.c:292:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 0)’
criu-4.2/criu/proc_parse.c:421:12: enter_function: entry to ‘vma_get_mapfile’
criu-4.2/criu/proc_parse.c:430:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:433:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:477:12: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:478:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:478:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:482:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:482:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:506:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:506:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:506:40: branch_true: ...to here
criu-4.2/criu/proc_parse.c:506:21: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:507:32: branch_false: ...to here
criu-4.2/criu/proc_parse.c:507:32: call_function: calling ‘vma_get_mapfile_user’ from ‘vma_get_mapfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def624]
criu-4.2/criu/proc_parse.c:417:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 0)’
criu-4.2/criu/proc_parse.c:591:12: enter_function: entry to ‘handle_vma’
criu-4.2/criu/proc_parse.c:594:13: call_function: calling ‘vma_get_mapfile’ from ‘handle_vma’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
criu-4.2/criu/proc_parse.c:838:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:838:23: throw: if ‘breadline’ throws an exception...
criu-4.2/criu/proc_parse.c:838:23: danger: ‘fdopendir(do_open_proc(pid, 0, "map_files"))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
criu-4.2/criu/proc_parse.c:845:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:839:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:843:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:843:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:843:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:843:21: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:844:30: branch_false: ...to here
criu-4.2/criu/proc_parse.c:845:33: branch_true: following ‘true’ branch (when ‘vma_area’ is NULL)...
criu-4.2/criu/proc_parse.c:845:33: branch_true: ...to here
criu-4.2/criu/proc_parse.c:845:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
criu-4.2/criu/proc_parse.c:922:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:922:9: throw: if ‘bclose’ throws an exception...
criu-4.2/criu/proc_parse.c:922:9: danger: ‘__d’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
criu-4.2/criu/proc_parse.c:924:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:924:9: throw: if ‘close_safe’ throws an exception...
criu-4.2/criu/proc_parse.c:924:9: danger: ‘__d’ leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
criu-4.2/criu/proc_parse.c:926:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:925:12: branch_true: following ‘true’ branch (when ‘map_files_dir’ is non-NULL)...
criu-4.2/criu/proc_parse.c:926:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:926:17: throw: if ‘closedir’ throws an exception...
criu-4.2/criu/proc_parse.c:926:17: danger: ‘__d’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
criu-4.2/criu/proc_parse.c:1475:27: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1682:20: enter_function: entry to ‘parse_mountinfo’
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1687:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1687:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1688:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1691:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1694:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1697:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1700:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1702:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
criu-4.2/criu/proc_parse.c:1490:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1682:20: enter_function: entry to ‘parse_mountinfo’
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1687:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1687:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1688:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1691:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1694:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1697:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1700:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1702:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
criu-4.2/criu/proc_parse.c:1494:13: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1682:20: enter_function: entry to ‘parse_mountinfo’
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1687:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1687:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1688:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1691:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1694:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1697:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1700:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1702:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
criu-4.2/criu/proc_parse.c:1499:27: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1682:20: enter_function: entry to ‘parse_mountinfo’
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1687:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1687:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1688:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1691:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1694:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1697:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1700:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1702:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
criu-4.2/criu/proc_parse.c:1606:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1596:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1596:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1596:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1596:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1597:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1597:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1597:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1601:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1605:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1606:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:1606:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
criu-4.2/criu/proc_parse.c:1620:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1596:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1596:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1596:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1596:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1597:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1597:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1597:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1601:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1605:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1609:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1620:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:1620:17: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
criu-4.2/criu/proc_parse.c:1643:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1634:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1634:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1634:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1634:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1635:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1635:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1635:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1638:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1642:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1643:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:1643:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
criu-4.2/criu/proc_parse.c:1696:23: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1687:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1687:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:1687:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1688:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:1688:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1691:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:1694:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:1696:23: throw: if ‘mnt_entry_alloc’ throws an exception...
criu-4.2/criu/proc_parse.c:1696:23: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
criu-4.2/criu/proc_parse.c:2038:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:1914:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1922:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1930:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1932:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1932:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1935:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2031:28: branch_false: following ‘false’ branch (when ‘type == 7’)...
criu-4.2/criu/proc_parse.c:2034:29: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2034:29: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2034:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2038:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2038:25: throw: if ‘eventpoll_tfd_entry__init’ throws an exception...
criu-4.2/criu/proc_parse.c:2038:25: danger: ‘___p’ leaks here; was allocated at [(13)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
criu-4.2/criu/proc_parse.c:2105:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:1914:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1922:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1930:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1932:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1932:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1935:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2026:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2066:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2096:28: branch_false: following ‘false’ branch (when ‘type == 12’)...
criu-4.2/criu/proc_parse.c:2099:36: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2099:36: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2099:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2104:30: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:2105:25: throw: if ‘fanotify_mark_entry__init’ throws an exception...
criu-4.2/criu/proc_parse.c:2105:25: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
criu-4.2/criu/proc_parse.c:2150:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:1914:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1922:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1930:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1932:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1932:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1935:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2026:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2066:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2090:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2136:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2142:28: branch_false: following ‘false’ branch (when ‘type == 12’)...
criu-4.2/criu/proc_parse.c:2145:36: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2145:36: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2145:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2149:30: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:2150:25: throw: if ‘fanotify_mark_entry__init’ throws an exception...
criu-4.2/criu/proc_parse.c:2150:25: danger: ‘___p’ leaks here; was allocated at [(17)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
criu-4.2/criu/proc_parse.c:2188:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:1914:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1922:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1925:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:1930:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1932:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:1932:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:1935:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2026:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2066:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2090:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2136:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2136:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2173:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2179:28: branch_false: following ‘false’ branch (when ‘type == 8’)...
criu-4.2/criu/proc_parse.c:2182:36: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2182:36: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2182:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2187:31: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.2/criu/proc_parse.c:2188:25: throw: if ‘inotify_wd_entry__init’ throws an exception...
criu-4.2/criu/proc_parse.c:2188:25: danger: ‘___p’ leaks here; was allocated at [(19)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
criu-4.2/criu/proc_parse.c:2313:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
criu-4.2/criu/proc_parse.c:2342:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
criu-4.2/criu/proc_parse.c:2353:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
criu-4.2/criu/proc_parse.c:2363:16: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2390:21: return_function: returning to ‘parse_file_locks’ from ‘parse_file_lock_buf’
criu-4.2/criu/proc_parse.c:2390:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2395:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2398:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2404:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2404:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2414:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2414:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2414:51: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2414:51: call_function: inlined call to ‘pid_in_pstree’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
criu-4.2/criu/proc_parse.c:2384:22: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2384:22: throw: if ‘alloc_file_lock’ throws an exception...
criu-4.2/criu/proc_parse.c:2384:22: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
criu-4.2/criu/proc_parse.c:2386:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2386:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2386:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2386:25: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
criu-4.2/criu/proc_parse.c:2395:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2390:21: return_function: returning to ‘parse_file_locks’ from ‘parse_file_lock_buf’
criu-4.2/criu/proc_parse.c:2390:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2395:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2395:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2395:17: danger: ‘__f’ leaks here; was allocated at [(6)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
criu-4.2/criu/proc_parse.c:2399:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2366:5: enter_function: entry to ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2374:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2377:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2377:20: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2377:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2378:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2378:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2381:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2382:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2385:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2390:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2390:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
criu-4.2/criu/proc_parse.c:2390:21: return_function: returning to ‘parse_file_locks’ from ‘parse_file_lock_buf’
criu-4.2/criu/proc_parse.c:2390:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2395:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2398:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2399:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2399:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2399:25: danger: ‘__f’ leaks here; was allocated at [(6)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
criu-4.2/criu/proc_parse.c:2552:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/proc_parse.c:2552:22: danger: ‘___p’ leaks here; was allocated at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
criu-4.2/criu/proc_parse.c:2552:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "task"))’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2548:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2548:15: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/proc_parse.c:2552:22: danger: ‘fdopendir(do_open_proc(pid, 0, "task"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
criu-4.2/criu/proc_parse.c:2560:31: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2556:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2559:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2560:31: danger: ‘t’ leaks here; was allocated at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
criu-4.2/criu/proc_parse.c:2574:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2574:9: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2574:9: throw: if ‘closedir’ throws an exception...
criu-4.2/criu/proc_parse.c:2574:9: danger: ‘___p’ leaks here; was allocated at [(9)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
criu-4.2/criu/proc_parse.c:2580:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2574:9: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2576:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2580:17: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2580:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2580:17: danger: ‘___p’ leaks here; was allocated at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
criu-4.2/criu/proc_parse.c:2580:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2576:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2580:17: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2580:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
criu-4.2/criu/proc_parse.c:2583:1: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2548:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2549:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2556:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2559:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2560:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2560:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2560:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2552:16: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2574:9: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2576:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2580:17: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2580:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2583:1: danger: ‘___p’ leaks here; was allocated at [(9)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
criu-4.2/criu/proc_parse.c:2591:23: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
criu-4.2/criu/proc_parse.c:2604:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_true: following ‘true’ branch (when ‘name’ is NULL)...
criu-4.2/criu/proc_parse.c:2604:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2604:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2604:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
criu-4.2/criu/proc_parse.c:2604:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
criu-4.2/criu/proc_parse.c:2610:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2608:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2609:20: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
criu-4.2/criu/proc_parse.c:2610:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2610:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2610:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
criu-4.2/criu/proc_parse.c:2610:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
criu-4.2/criu/proc_parse.c:2625:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2608:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2609:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2614:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2616:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.2/criu/proc_parse.c:2625:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2625:21: throw: if ‘cgp_should_skip_controller’ throws an exception...
criu-4.2/criu/proc_parse.c:2625:21: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
criu-4.2/criu/proc_parse.c:2625:21: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
criu-4.2/criu/proc_parse.c:2626:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2608:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2609:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2614:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2616:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.2/criu/proc_parse.c:2625:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2625:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2626:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2626:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2626:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
criu-4.2/criu/proc_parse.c:2626:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
criu-4.2/criu/proc_parse.c:2631:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2608:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2609:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2614:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2616:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.2/criu/proc_parse.c:2625:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2631:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2631:29: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2631:29: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2631:29: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
criu-4.2/criu/proc_parse.c:2631:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2656:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2665:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2665:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2665:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2669:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2669:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
criu-4.2/criu/proc_parse.c:2632:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2587:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2591:23: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2591:23: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2591:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2602:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2603:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2608:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2609:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2614:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2616:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.2/criu/proc_parse.c:2625:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2631:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2631:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2632:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2632:29: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2632:29: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2632:29: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def669]
criu-4.2/criu/proc_parse.c:2769:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_true: following ‘true’ branch (when ‘controllers’ is NULL)...
criu-4.2/criu/proc_parse.c:2769:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2769:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2769:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
criu-4.2/criu/proc_parse.c:2776:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_true: following ‘true’ branch (when ‘off’ is NULL)...
criu-4.2/criu/proc_parse.c:2776:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2776:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2776:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
criu-4.2/criu/proc_parse.c:2781:21: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2779:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2781:21: throw: if ‘cgp_should_skip_controller’ throws an exception...
criu-4.2/criu/proc_parse.c:2781:21: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
criu-4.2/criu/proc_parse.c:2782:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2779:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2781:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2782:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2782:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2782:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
criu-4.2/criu/proc_parse.c:2795:38: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2779:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2788:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.2/criu/proc_parse.c:2791:30: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2791:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2794:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2794:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.2/criu/proc_parse.c:2795:38: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2795:38: throw: if ‘new_controller’ throws an exception...
criu-4.2/criu/proc_parse.c:2795:38: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
criu-4.2/criu/proc_parse.c:2805:37: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2779:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2788:28: branch_true: following ‘true’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2789:33: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2794:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.2/criu/proc_parse.c:2795:38: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2796:36: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2798:33: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2819:28: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2821:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2788:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.2/criu/proc_parse.c:2791:30: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2791:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2794:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2794:28: branch_false: following ‘false’ branch (when ‘nc’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2804:33: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2805:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2805:37: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2805:37: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2805:37: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
criu-4.2/criu/proc_parse.c:2811:37: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2759:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2759:13: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2759:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2760:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2760:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2763:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2767:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2768:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2772:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2775:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2779:17: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2788:28: branch_true: following ‘true’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2789:33: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2794:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.2/criu/proc_parse.c:2795:38: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2796:36: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2798:33: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2819:28: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2821:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2788:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.2/criu/proc_parse.c:2791:30: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2791:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2794:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2794:28: branch_false: following ‘false’ branch (when ‘nc’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2804:33: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2805:37: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2809:33: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2811:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2811:37: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2811:37: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2811:37: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
criu-4.2/criu/proc_parse.c:2872:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2909:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2872:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/proc_parse.c:2872:22: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
criu-4.2/criu/proc_parse.c:2872:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "task"))’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2868:15: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2868:15: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/proc_parse.c:2872:22: danger: ‘fdopendir(do_open_proc(pid, 0, "task"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
criu-4.2/criu/proc_parse.c:2878:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2909:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2875:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2878:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2878:24: throw: if ‘do_open_proc’ throws an exception...
criu-4.2/criu/proc_parse.c:2878:24: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
criu-4.2/criu/proc_parse.c:2882:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2909:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2875:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2878:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:21: throw: if ‘bfdopenr’ throws an exception...
criu-4.2/criu/proc_parse.c:2882:21: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
criu-4.2/criu/proc_parse.c:2888:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2888:31: throw: if ‘breadchr’ throws an exception...
criu-4.2/criu/proc_parse.c:2888:31: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
criu-4.2/criu/proc_parse.c:2897:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2894:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2897:33: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2897:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2897:33: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
criu-4.2/criu/proc_parse.c:2901:31: warning[-Wanalyzer-malloc-leak]: leak of ‘ch’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2894:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/proc_parse.c:2901:31: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2901:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/proc_parse.c:2901:31: danger: ‘ch’ leaks here; was allocated at [(15)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
criu-4.2/criu/proc_parse.c:2909:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2909:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2909:17: throw: if ‘bclose’ throws an exception...
criu-4.2/criu/proc_parse.c:2909:17: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
criu-4.2/criu/proc_parse.c:2918:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2894:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2894:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2918:9: throw: if ‘bclose’ throws an exception...
criu-4.2/criu/proc_parse.c:2918:9: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
criu-4.2/criu/proc_parse.c:2920:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/proc_parse.c:2868:15: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2869:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:21: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2882:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2882:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2896:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2901:31: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2901:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/proc_parse.c:2906:27: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2889:28: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2891:28: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2891:28: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2909:17: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2872:16: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2875:21: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2875:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:2878:24: branch_false: ...to here
criu-4.2/criu/proc_parse.c:2879:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:2880:25: branch_true: ...to here
criu-4.2/criu/proc_parse.c:2920:9: throw: if ‘closedir’ throws an exception...
criu-4.2/criu/proc_parse.c:2920:9: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
criu-4.2/criu/protobuf.c:88:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/criu/protobuf.c:57:12: branch_false: following ‘false’ branch...
criu-4.2/criu/protobuf.c:62:9: branch_false: ...to here
criu-4.2/criu/protobuf.c:68:12: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/protobuf.c:75:20: branch_false: ...to here
criu-4.2/criu/protobuf.c:75:19: branch_false: following ‘false’ branch...
criu-4.2/criu/protobuf.c:81:13: branch_false: ...to here
criu-4.2/criu/protobuf.c:81:12: branch_true: following ‘true’ branch...
criu-4.2/criu/protobuf.c:83:23: branch_true: ...to here
criu-4.2/criu/protobuf.c:83:23: acquire_memory: allocated here
criu-4.2/criu/protobuf.c:83:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/protobuf.c:88:15: branch_false: ...to here
criu-4.2/criu/protobuf.c:88:15: throw: if ‘bread’ throws an exception...
criu-4.2/criu/protobuf.c:88:15: danger: ‘buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
criu-4.2/criu/protobuf.c:144:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/criu/protobuf.c:121:5: enter_function: entry to ‘pb_write_one’
criu-4.2/criu/protobuf.c:129:12: branch_false: following ‘false’ branch...
criu-4.2/criu/protobuf.c:134:13: call_function: inlined call to ‘lazy_image’ from ‘pb_write_one’
criu-4.2/criu/protobuf.c:138:12: branch_true: following ‘true’ branch...
criu-4.2/criu/protobuf.c:139:23: branch_true: ...to here
criu-4.2/criu/protobuf.c:139:23: acquire_memory: allocated here
criu-4.2/criu/protobuf.c:139:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/protobuf.c:144:18: branch_false: ...to here
criu-4.2/criu/protobuf.c:144:18: throw: if the called function throws an exception...
criu-4.2/criu/protobuf.c:144:18: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
criu-4.2/criu/protobuf.c:187:13: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
criu-4.2/criu/protobuf.c:174:12: branch_false: following ‘false’ branch...
criu-4.2/criu/protobuf.c:179:13: branch_false: ...to here
criu-4.2/criu/protobuf.c:179:12: branch_true: following ‘true’ branch...
criu-4.2/criu/protobuf.c:180:23: branch_true: ...to here
criu-4.2/criu/protobuf.c:180:23: acquire_memory: allocated here
criu-4.2/criu/protobuf.c:181:20: branch_false: following ‘false’ branch...
criu-4.2/criu/protobuf.c:186:9: branch_false: ...to here
criu-4.2/criu/protobuf.c:187:13: throw: if the called function throws an exception...
criu-4.2/criu/protobuf.c:187:13: danger: ‘obj’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def689]
criu-4.2/criu/pstree.c:238:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def690]
criu-4.2/criu/pstree.c:494:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def691]
criu-4.2/criu/pstree.c:564:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pstree.c:550:12: enter_function: entry to ‘read_one_pstree_item’
criu-4.2/criu/pstree.c:557:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pstree.c:561:34: branch_false: ...to here
criu-4.2/criu/pstree.c:561:14: call_function: calling ‘lookup_create_item’ from ‘read_one_pstree_item’
criu-4.2/criu/pstree.c:561:14: return_function: returning to ‘read_one_pstree_item’ from ‘lookup_create_item’
criu-4.2/criu/pstree.c:562:12: branch_false: following ‘false’ branch...
criu-4.2/criu/pstree.c:564:9: branch_false: ...to here
criu-4.2/criu/pstree.c:564:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pstree.c:564:9: branch_true: ...to here
criu-4.2/criu/pstree.c:564:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def692]
criu-4.2/criu/pstree.c:718:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/pstree.c:693:12: enter_function: entry to ‘prepare_pstree_ids’
criu-4.2/criu/pstree.c:706:9: branch_true: following ‘true’ branch...
criu-4.2/criu/pstree.c:714:21: branch_true: ...to here
criu-4.2/criu/pstree.c:717:26: call_function: calling ‘pstree_item_by_virt’ from ‘prepare_pstree_ids’
criu-4.2/criu/pstree.c:717:26: return_function: returning to ‘prepare_pstree_ids’ from ‘pstree_item_by_virt’
criu-4.2/criu/pstree.c:718:17: branch_true: following ‘true’ branch...
criu-4.2/criu/pstree.c:718:17: branch_true: ...to here
criu-4.2/criu/pstree.c:718:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def693]
criu-4.2/criu/pstree.c:1108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def694]
criu-4.2/criu/rst-malloc.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def695]
criu-4.2/criu/rst-malloc.c:160:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/rst-malloc.c:160:9: branch_false: following ‘false’ branch...
criu-4.2/criu/rst-malloc.c:160:9: branch_false: ...to here
criu-4.2/criu/rst-malloc.c:160:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def696]
criu-4.2/criu/rst-malloc.c:169:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/rst-malloc.c:169:9: branch_false: following ‘false’ branch...
criu-4.2/criu/rst-malloc.c:169:9: branch_false: ...to here
criu-4.2/criu/rst-malloc.c:169:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
criu-4.2/criu/rst-malloc.c:188:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def698]
criu-4.2/criu/rst-malloc.c:211:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def699]
criu-4.2/criu/seccomp.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/seccomp.c:140:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:140:12: branch_false: ...to here
criu-4.2/criu/seccomp.c:145:20: branch_false: following ‘false’ branch (when ‘len >= 0’)...
criu-4.2/criu/seccomp.c:154:20: branch_false: ...to here
criu-4.2/criu/seccomp.c:154:20: branch_true: following ‘true’ branch (when ‘meta’ is non-NULL)...
criu-4.2/criu/seccomp.c:155:25: branch_true: ...to here
criu-4.2/criu/seccomp.c:157:28: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:169:25: branch_false: ...to here
criu-4.2/criu/seccomp.c:169:25: acquire_memory: allocated here
criu-4.2/criu/seccomp.c:169:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:173:17: branch_false: ...to here
criu-4.2/criu/seccomp.c:173:17: throw: if ‘seccomp_filter__init’ throws an exception...
criu-4.2/criu/seccomp.c:173:17: danger: ‘___p’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def700]
criu-4.2/criu/seccomp.c:222:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.2/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:217:12: branch_false: ...to here
criu-4.2/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.2/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.2/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.2/criu/seccomp.c:222:17: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:222:17: branch_true: ...to here
criu-4.2/criu/seccomp.c:222:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
criu-4.2/criu/seccomp.c:234:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.2/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:217:12: branch_false: ...to here
criu-4.2/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.2/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.2/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.2/criu/seccomp.c:222:17: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:224:20: branch_false: ...to here
criu-4.2/criu/seccomp.c:227:20: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:234:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def702]
criu-4.2/criu/seccomp.c:256:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.2/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:217:12: branch_false: ...to here
criu-4.2/criu/seccomp.c:254:21: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:255:25: branch_true: ...to here
criu-4.2/criu/seccomp.c:255:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.2/criu/seccomp.c:255:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.2/criu/seccomp.c:256:17: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:256:17: branch_true: ...to here
criu-4.2/criu/seccomp.c:256:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
criu-4.2/criu/seccomp.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.2/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.2/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.2/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.2/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.2/criu/seccomp.c:318:21: throw: if ‘rb_first’ throws an exception...
criu-4.2/criu/seccomp.c:318:21: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
criu-4.2/criu/seccomp.c:318:66: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.2/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.2/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.2/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.2/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.2/criu/seccomp.c:318:53: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
criu-4.2/criu/seccomp.c:321:22: branch_true: ...to here
criu-4.2/criu/seccomp.c:321:20: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:321:20: branch_true: ...to here
criu-4.2/criu/seccomp.c:318:66: throw: if ‘rb_next’ throws an exception...
criu-4.2/criu/seccomp.c:318:66: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
criu-4.2/criu/seccomp.c:326:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.2/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.2/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.2/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.2/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.2/criu/seccomp.c:318:53: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
criu-4.2/criu/seccomp.c:321:22: branch_true: ...to here
criu-4.2/criu/seccomp.c:324:44: branch_true: following ‘true’ branch (when ‘chain’ is non-NULL)...
criu-4.2/criu/seccomp.c:325:28: branch_true: ...to here
criu-4.2/criu/seccomp.c:325:28: branch_true: following ‘true’ branch (when ‘img_filter_pos >= nr_chains’)...
criu-4.2/criu/seccomp.c:326:33: branch_true: ...to here
criu-4.2/criu/seccomp.c:326:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/seccomp.c:326:33: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
criu-4.2/criu/seccomp.c:342:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/seccomp.c:297:12: enter_function: entry to ‘dump_seccomp_filters’
criu-4.2/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.2/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.2/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.2/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.2/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.2/criu/seccomp.c:342:15: call_function: calling ‘img_from_set’ from ‘dump_seccomp_filters’
criu-4.2/criu/seccomp.c:342:15: return_function: returning to ‘dump_seccomp_filters’ from ‘img_from_set’
criu-4.2/criu/seccomp.c:342:15: throw: if ‘pb_write_one’ throws an exception...
criu-4.2/criu/seccomp.c:342:15: danger: ‘___p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def707]
criu-4.2/criu/seccomp.c:380:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seccomp.c:372:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:375:15: branch_false: ...to here
criu-4.2/criu/seccomp.c:377:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seccomp.c:380:9: branch_false: ...to here
criu-4.2/criu/seccomp.c:380:9: branch_true: following ‘true’ branch...
criu-4.2/criu/seccomp.c:380:9: branch_true: ...to here
criu-4.2/criu/seccomp.c:380:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def708]
criu-4.2/criu/seize.c:59:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
criu-4.2/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:298:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:298:12: branch_false: ...to here
criu-4.2/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:312:25: branch_true: ...to here
criu-4.2/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def709]
criu-4.2/criu/seize.c:180:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&path, "r")’
criu-4.2/criu/seize.c:187:27: enter_function: entry to ‘get_freezer_state’
criu-4.2/criu/seize.c:189:12: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:190:24: branch_true: ...to here
criu-4.2/criu/seize.c:190:24: call_function: calling ‘get_freezer_v2_state’ from ‘get_freezer_state’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
criu-4.2/criu/seize.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&path, "r")’
criu-4.2/criu/seize.c:187:27: enter_function: entry to ‘get_freezer_state’
criu-4.2/criu/seize.c:189:12: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:190:24: branch_true: ...to here
criu-4.2/criu/seize.c:190:24: call_function: calling ‘get_freezer_v2_state’ from ‘get_freezer_state’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def711]
criu-4.2/criu/seize.c:240:77: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘freezer_open()’
criu-4.2/criu/seize.c:250:12: enter_function: entry to ‘freezer_restore_state’
criu-4.2/criu/seize.c:255:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:258:14: call_function: calling ‘freezer_open’ from ‘freezer_restore_state’
criu-4.2/criu/seize.c:258:14: return_function: returning to ‘freezer_restore_state’ from ‘freezer_open’
criu-4.2/criu/seize.c:259:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:262:15: branch_false: ...to here
criu-4.2/criu/seize.c:262:15: call_function: calling ‘freezer_write_state’ from ‘freezer_restore_state’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def712]
criu-4.2/criu/seize.c:272:68: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.2/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:448:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:448:12: branch_false: ...to here
criu-4.2/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:458:25: throw: if ‘do_open_proc’ throws an exception...
criu-4.2/criu/seize.c:272:68: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def713]
criu-4.2/criu/seize.c:272:68: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.2/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:298:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:298:12: branch_false: ...to here
criu-4.2/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:317:22: branch_false: ...to here
criu-4.2/criu/seize.c:317:22: throw: if ‘compel_interrupt_task’ throws an exception...
criu-4.2/criu/seize.c:272:68: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was opened at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
criu-4.2/criu/seize.c:272:68: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.2/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:448:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:448:12: branch_false: ...to here
criu-4.2/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:458:25: throw: if ‘do_open_proc’ throws an exception...
criu-4.2/criu/seize.c:272:68: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
criu-4.2/criu/seize.c:272:68: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.2/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:298:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:298:12: branch_false: ...to here
criu-4.2/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:317:22: branch_false: ...to here
criu-4.2/criu/seize.c:317:22: throw: if ‘compel_interrupt_task’ throws an exception...
criu-4.2/criu/seize.c:272:68: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
criu-4.2/criu/seize.c:348:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root_path)’
criu-4.2/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.2/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:298:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:298:12: branch_false: ...to here
criu-4.2/criu/seize.c:342:15: acquire_memory: allocated here
criu-4.2/criu/seize.c:343:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:343:12: branch_false: ...to here
criu-4.2/criu/seize.c:348:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/seize.c:348:22: danger: ‘opendir(root_path)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
criu-4.2/criu/seize.c:484:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root)’
criu-4.2/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.2/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.2/criu/seize.c:448:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:448:12: branch_false: ...to here
criu-4.2/criu/seize.c:478:15: acquire_memory: allocated here
criu-4.2/criu/seize.c:479:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:479:12: branch_false: ...to here
criu-4.2/criu/seize.c:484:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/seize.c:484:22: danger: ‘opendir(root)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def718]
criu-4.2/criu/seize.c:517:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seize.c:517:9: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:517:9: branch_false: ...to here
criu-4.2/criu/seize.c:517:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def719]
criu-4.2/criu/seize.c:807:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seize.c:795:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.2/criu/seize.c:796:21: branch_true: ...to here
criu-4.2/criu/seize.c:807:41: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def720]
criu-4.2/criu/seize.c:816:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seize.c:814:12: branch_true: following ‘true’ branch (when ‘pid > 0’)...
criu-4.2/criu/seize.c:815:17: branch_true: ...to here
criu-4.2/criu/seize.c:816:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def721]
criu-4.2/criu/seize.c:932:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/seize.c:874:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:877:29: branch_false: ...to here
criu-4.2/criu/seize.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:881:14: branch_false: ...to here
criu-4.2/criu/seize.c:887:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/seize.c:891:9: branch_false: ...to here
criu-4.2/criu/seize.c:900:21: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:901:36: branch_true: ...to here
criu-4.2/criu/seize.c:904:20: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:907:17: branch_false: ...to here
criu-4.2/criu/seize.c:916:20: branch_false: following ‘false’ branch...
criu-4.2/criu/seize.c:927:20: branch_false: ...to here
criu-4.2/criu/seize.c:932:17: branch_true: following ‘true’ branch...
criu-4.2/criu/seize.c:932:17: branch_true: ...to here
criu-4.2/criu/seize.c:932:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def722]
criu-4.2/criu/servicefd.c:101:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.2/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.2/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:178:19: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:185:9: call_function: inlined call to ‘set_bit’ from ‘install_service_fd’
criu-4.2/criu/servicefd.c:155:19: call_function: inlined call to ‘__get_service_fd’ from ‘install_service_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def723]
criu-4.2/criu/servicefd.c:106:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def724]
criu-4.2/criu/servicefd.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def725]
criu-4.2/criu/servicefd.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/servicefd.c:158:9: branch_true: following ‘true’ branch...
criu-4.2/criu/servicefd.c:158:9: branch_true: ...to here
criu-4.2/criu/servicefd.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def726]
criu-4.2/criu/servicefd.c:179:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.2/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.2/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:178:19: branch_true: following ‘true’ branch...
criu-4.2/criu/servicefd.c:179:17: call_function: inlined call to ‘sfd_type_name’ from ‘install_service_fd’
criu-4.2/criu/servicefd.c:179:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/servicefd.c:179:17: danger: ‘tmp’ leaks here; was opened at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def727]
criu-4.2/criu/servicefd.c:180:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.2/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.2/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:178:19: branch_true: following ‘true’ branch...
criu-4.2/criu/servicefd.c:179:17: call_function: inlined call to ‘sfd_type_name’ from ‘install_service_fd’
criu-4.2/criu/servicefd.c:180:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/servicefd.c:180:17: danger: ‘tmp’ leaks here; was opened at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def728]
criu-4.2/criu/servicefd.c:186:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.2/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.2/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:178:19: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:185:9: call_function: inlined call to ‘set_bit’ from ‘install_service_fd’
criu-4.2/criu/servicefd.c:186:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/servicefd.c:186:9: danger: ‘tmp’ leaks here; was opened at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def729]
criu-4.2/criu/servicefd.c:234:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.2/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.2/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:233:19: branch_true: following ‘true’ branch (when ‘ret != new’)...
criu-4.2/criu/servicefd.c:234:17: call_function: inlined call to ‘sfd_type_name’ from ‘move_service_fd’
criu-4.2/criu/servicefd.c:234:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/servicefd.c:234:17: danger: ‘ret’ leaks here; was opened at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def730]
criu-4.2/criu/servicefd.c:237:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.2/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.2/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:233:19: branch_false: following ‘false’ branch (when ‘ret == new’)...
criu-4.2/criu/servicefd.c:236:22: branch_false: ...to here
criu-4.2/criu/servicefd.c:236:19: branch_true: following ‘true’ branch...
criu-4.2/criu/servicefd.c:237:17: branch_true: ...to here
criu-4.2/criu/servicefd.c:237:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/servicefd.c:237:17: danger: ‘ret’ leaks here; was opened at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def731]
criu-4.2/criu/servicefd.c:240:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.2/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.2/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.2/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.2/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.2/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.2/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.2/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.2/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.2/criu/servicefd.c:240:1: danger: ‘ret’ leaks here; was opened at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def732]
criu-4.2/criu/shmem.c:201:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/shmem.c:659:5: enter_function: entry to ‘add_shmem_area’
criu-4.2/criu/shmem.c:667:14: call_function: calling ‘shmem_find’ from ‘add_shmem_area’
criu-4.2/criu/shmem.c:667:14: return_function: returning to ‘add_shmem_area’ from ‘shmem_find’
criu-4.2/criu/shmem.c:668:12: branch_true: following ‘true’ branch...
criu-4.2/criu/shmem.c:669:21: branch_true: ...to here
criu-4.2/criu/shmem.c:669:20: branch_true: following ‘true’ branch...
criu-4.2/criu/shmem.c:670:29: branch_true: ...to here
criu-4.2/criu/shmem.c:670:29: call_function: calling ‘expand_shmem’ from ‘add_shmem_area’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def733]
criu-4.2/criu/shmem.c:569:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘f’
criu-4.2/criu/shmem.c:557:12: enter_function: entry to ‘open_shmem’
criu-4.2/criu/shmem.c:565:14: call_function: calling ‘shmem_find’ from ‘open_shmem’
criu-4.2/criu/shmem.c:565:14: return_function: returning to ‘open_shmem’ from ‘shmem_find’
criu-4.2/criu/shmem.c:567:12: branch_false: following ‘false’ branch...
criu-4.2/criu/shmem.c:572:9: branch_false: ...to here
criu-4.2/criu/shmem.c:572:9: branch_false: following ‘false’ branch...
criu-4.2/criu/shmem.c:574:12: branch_false: ...to here
criu-4.2/criu/shmem.c:574:12: branch_false: following ‘false’ branch...
criu-4.2/criu/shmem.c:577:13: branch_false: ...to here
criu-4.2/criu/shmem.c:577:12: branch_true: following ‘true’ branch...
criu-4.2/criu/shmem.c:578:21: branch_true: ...to here
criu-4.2/criu/shmem.c:578:21: acquire_resource: opened here
criu-4.2/criu/shmem.c:579:20: branch_false: following ‘false’ branch...
criu-4.2/criu/shmem.c:584:17: branch_false: ...to here
criu-4.2/criu/shmem.c:569:24: danger: ‘f’ leaks here; was opened at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def734]
criu-4.2/criu/shmem.c:572:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/shmem.c:557:12: enter_function: entry to ‘open_shmem’
criu-4.2/criu/shmem.c:565:14: call_function: calling ‘shmem_find’ from ‘open_shmem’
criu-4.2/criu/shmem.c:565:14: return_function: returning to ‘open_shmem’ from ‘shmem_find’
criu-4.2/criu/shmem.c:567:12: branch_false: following ‘false’ branch...
criu-4.2/criu/shmem.c:572:9: branch_false: ...to here
criu-4.2/criu/shmem.c:572:9: branch_true: following ‘true’ branch...
criu-4.2/criu/shmem.c:572:9: branch_true: ...to here
criu-4.2/criu/shmem.c:572:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def735]
criu-4.2/criu/sigact.c:196:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sigact.c:196:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sigact.c:196:9: branch_true: ...to here
criu-4.2/criu/sigact.c:196:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
criu-4.2/criu/sk-inet.c:148:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-inet.c:148:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:148:9: branch_true: ...to here
criu-4.2/criu/sk-inet.c:148:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
criu-4.2/criu/sk-inet.c:238:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:254:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.2/criu/sk-inet.c:262:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:268:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:293:15: branch_false: ...to here
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:302:22: branch_false: ...to here
criu-4.2/criu/sk-inet.c:304:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:314:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:316:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/criu/sk-inet.c:321:21: branch_false: ...to here
criu-4.2/criu/sk-inet.c:321:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:326:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:328:21: call_function: calling ‘dump_tcp_uncon_shutdown’ from ‘gen_uncon_sk’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
criu-4.2/criu/sk-inet.c:239:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:254:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.2/criu/sk-inet.c:262:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:268:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:293:15: branch_false: ...to here
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:302:22: branch_false: ...to here
criu-4.2/criu/sk-inet.c:304:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:314:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:316:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/criu/sk-inet.c:321:21: branch_false: ...to here
criu-4.2/criu/sk-inet.c:321:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:326:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:328:21: call_function: calling ‘dump_tcp_uncon_shutdown’ from ‘gen_uncon_sk’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
criu-4.2/criu/sk-inet.c:280:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:275:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:277:17: branch_false: ...to here
criu-4.2/criu/sk-inet.c:277:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:280:17: branch_false: ...to here
criu-4.2/criu/sk-inet.c:280:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:280:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
criu-4.2/criu/sk-inet.c:287:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:287:25: branch_true: ...to here
criu-4.2/criu/sk-inet.c:287:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:287:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
criu-4.2/criu/sk-inet.c:296:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:254:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/sk-inet.c:290:20: call_function: inlined call to ‘dump_sockaddr’ from ‘gen_uncon_sk’
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:296:25: branch_true: ...to here
criu-4.2/criu/sk-inet.c:296:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:296:25: danger: ‘___p’ leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
criu-4.2/criu/sk-inet.c:317:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:293:15: branch_false: ...to here
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:302:22: branch_false: ...to here
criu-4.2/criu/sk-inet.c:304:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:314:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:316:20: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.2/criu/sk-inet.c:317:25: branch_true: ...to here
criu-4.2/criu/sk-inet.c:317:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:317:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
criu-4.2/criu/sk-inet.c:322:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:293:15: branch_false: ...to here
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:302:22: branch_false: ...to here
criu-4.2/criu/sk-inet.c:304:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:314:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:316:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.2/criu/sk-inet.c:321:21: branch_false: ...to here
criu-4.2/criu/sk-inet.c:321:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:322:25: branch_true: ...to here
criu-4.2/criu/sk-inet.c:322:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:322:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
criu-4.2/criu/sk-inet.c:334:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:268:14: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:268:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:272:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:293:15: branch_false: ...to here
criu-4.2/criu/sk-inet.c:294:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/sk-inet.c:295:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:295:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:302:22: branch_false: ...to here
criu-4.2/criu/sk-inet.c:304:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:332:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:334:9: throw: if ‘sk_collect_one’ throws an exception...
criu-4.2/criu/sk-inet.c:334:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
criu-4.2/criu/sk-inet.c:683:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:669:13: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:669:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:673:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:682:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:683:31: branch_true: ...to here
criu-4.2/criu/sk-inet.c:683:31: throw: if ‘nla_get_u8’ throws an exception...
criu-4.2/criu/sk-inet.c:683:31: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
criu-4.2/criu/sk-inet.c:685:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:669:13: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:669:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:673:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:682:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:685:17: branch_false: ...to here
criu-4.2/criu/sk-inet.c:685:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:685:17: branch_false: ...to here
criu-4.2/criu/sk-inet.c:685:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:685:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
criu-4.2/criu/sk-inet.c:687:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-inet.c:669:13: acquire_memory: allocated here
criu-4.2/criu/sk-inet.c:669:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-inet.c:673:9: branch_false: ...to here
criu-4.2/criu/sk-inet.c:682:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:685:17: branch_false: ...to here
criu-4.2/criu/sk-inet.c:687:15: throw: if ‘sk_collect_one’ throws an exception...
criu-4.2/criu/sk-inet.c:687:15: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def748]
criu-4.2/criu/sk-inet.c:758:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:853:12: enter_function: entry to ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:905:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:907:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:907:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:910:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:926:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:936:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:937:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:937:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:942:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:943:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:948:31: branch_false: ...to here
criu-4.2/criu/sk-inet.c:948:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:948:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.2/criu/sk-inet.c:951:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:953:1: branch_false: ...to here
criu-4.2/criu/sk-inet.c:954:9: call_function: calling ‘dec_users_and_wake’ from ‘open_inet_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def749]
criu-4.2/criu/sk-inet.c:759:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:853:12: enter_function: entry to ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:905:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:907:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:907:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:910:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:926:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:936:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:937:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:937:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:942:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:943:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:948:31: branch_false: ...to here
criu-4.2/criu/sk-inet.c:948:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:948:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.2/criu/sk-inet.c:951:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:953:1: branch_false: ...to here
criu-4.2/criu/sk-inet.c:954:9: call_function: calling ‘dec_users_and_wake’ from ‘open_inet_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def750]
criu-4.2/criu/sk-inet.c:776:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-inet.c:763:12: enter_function: entry to ‘post_open_inet_sk’
criu-4.2/criu/sk-inet.c:776:17: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:776:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:776:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def751]
criu-4.2/criu/sk-inet.c:893:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:13: throw: if ‘reset_setsockcreatecon’ throws an exception...
criu-4.2/criu/sk-inet.c:893:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def752]
criu-4.2/criu/sk-inet.c:897:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:896:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:897:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:897:21: throw: if ‘do_restore_opt’ throws an exception...
criu-4.2/criu/sk-inet.c:897:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def753]
criu-4.2/criu/sk-inet.c:905:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:896:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:905:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:905:13: throw: if ‘do_restore_opt’ throws an exception...
criu-4.2/criu/sk-inet.c:905:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def754]
criu-4.2/criu/sk-inet.c:944:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:853:12: enter_function: entry to ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:905:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:907:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:907:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:910:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:926:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:936:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:937:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:937:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:942:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:943:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:944:25: branch_true: ...to here
criu-4.2/criu/sk-inet.c:944:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-inet.c:944:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def755]
criu-4.2/criu/sk-inet.c:956:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:853:12: enter_function: entry to ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:905:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:907:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:907:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:910:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:926:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:936:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:937:21: branch_true: ...to here
criu-4.2/criu/sk-inet.c:937:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:942:29: branch_false: ...to here
criu-4.2/criu/sk-inet.c:943:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:948:31: branch_false: ...to here
criu-4.2/criu/sk-inet.c:948:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.2/criu/sk-inet.c:948:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.2/criu/sk-inet.c:951:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:953:1: branch_false: ...to here
criu-4.2/criu/sk-inet.c:956:13: throw: if ‘rst_file_params’ throws an exception...
criu-4.2/criu/sk-inet.c:956:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def756]
criu-4.2/criu/sk-inet.c:986:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-inet.c:860:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:863:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:868:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:873:14: branch_false: ...to here
criu-4.2/criu/sk-inet.c:873:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:878:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:881:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:881:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-inet.c:887:43: branch_false: ...to here
criu-4.2/criu/sk-inet.c:887:14: acquire_resource: socket created here
criu-4.2/criu/sk-inet.c:888:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-inet.c:893:13: branch_false: ...to here
criu-4.2/criu/sk-inet.c:893:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-inet.c:894:17: branch_true: ...to here
criu-4.2/criu/sk-inet.c:986:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/sk-inet.c:986:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
criu-4.2/criu/sk-inet.c:1017:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
criu-4.2/criu/sk-netlink.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.2/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:51:9: throw: if ‘nlmsg_parse’ throws an exception...
criu-4.2/criu/sk-netlink.c:51:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def759]
criu-4.2/criu/sk-netlink.c:54:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.2/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:54:29: throw: if ‘nla_len’ throws an exception...
criu-4.2/criu/sk-netlink.c:54:29: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def760]
criu-4.2/criu/sk-netlink.c:55:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.2/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:55:26: throw: if ‘nla_data’ throws an exception...
criu-4.2/criu/sk-netlink.c:55:26: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
criu-4.2/criu/sk-netlink.c:57:30: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.2/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:57:30: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-netlink.c:57:30: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:57:30: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-netlink.c:57:30: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
criu-4.2/criu/sk-netlink.c:68:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.2/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:53:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:64:17: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:68:16: throw: if ‘sk_collect_one’ throws an exception...
criu-4.2/criu/sk-netlink.c:68:16: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def763]
criu-4.2/criu/sk-netlink.c:100:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-netlink.c:90:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:93:9: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:96:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:99:12: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:99:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:100:17: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:100:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def764]
criu-4.2/criu/sk-netlink.c:218:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.2/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:214:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:215:17: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:217:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:218:25: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:218:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-netlink.c:218:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def765]
criu-4.2/criu/sk-netlink.c:244:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.2/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:214:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:240:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:240:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:241:17: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:244:21: throw: if ‘connect’ throws an exception...
criu-4.2/criu/sk-netlink.c:244:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def766]
criu-4.2/criu/sk-netlink.c:250:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.2/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:214:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:240:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:240:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:250:44: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:250:13: throw: if ‘rst_file_params’ throws an exception...
criu-4.2/criu/sk-netlink.c:250:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def767]
criu-4.2/criu/sk-netlink.c:259:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.2/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.2/criu/sk-netlink.c:214:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:215:17: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:217:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-netlink.c:218:25: branch_true: ...to here
criu-4.2/criu/sk-netlink.c:259:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/sk-netlink.c:259:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
criu-4.2/criu/sk-packet.c:71:25: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.2/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def769]
criu-4.2/criu/sk-packet.c:75:17: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.2/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
criu-4.2/criu/sk-packet.c:77:22: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.2/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
criu-4.2/criu/sk-packet.c:81:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:58:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:61:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:62:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:62:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:63:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:63:12: branch_false: ...to here
criu-4.2/criu/sk-packet.c:66:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:67:49: branch_true: ...to here
criu-4.2/criu/sk-packet.c:70:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:75:17: branch_false: ...to here
criu-4.2/criu/sk-packet.c:77:22: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:77:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:81:17: branch_false: ...to here
criu-4.2/criu/sk-packet.c:81:17: throw: if ‘packet_mclist__init’ throws an exception...
criu-4.2/criu/sk-packet.c:81:17: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def772]
criu-4.2/criu/sk-packet.c:81:17: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.2/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
criu-4.2/criu/sk-packet.c:92:41: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.2/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
criu-4.2/criu/sk-packet.c:120:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:116:16: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:116:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:120:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:120:9: throw: if ‘packet_ring__init’ throws an exception...
criu-4.2/criu/sk-packet.c:120:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def775]
criu-4.2/criu/sk-packet.c:165:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.2/criu/sk-packet.c:165:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:165:9: branch_true: ...to here
criu-4.2/criu/sk-packet.c:165:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
criu-4.2/criu/sk-packet.c:245:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
criu-4.2/criu/sk-packet.c:246:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
criu-4.2/criu/sk-packet.c:247:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def779]
criu-4.2/criu/sk-packet.c:251:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def780]
criu-4.2/criu/sk-packet.c:251:27: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def781]
criu-4.2/criu/sk-packet.c:251:41: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
criu-4.2/criu/sk-packet.c:251:41: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def783]
criu-4.2/criu/sk-packet.c:284:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:284:26: throw: if ‘nla_data’ throws an exception...
criu-4.2/criu/sk-packet.c:284:26: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def784]
criu-4.2/criu/sk-packet.c:295:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:295:26: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-packet.c:295:26: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
criu-4.2/criu/sk-packet.c:295:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:295:26: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-packet.c:295:26: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def786]
criu-4.2/criu/sk-packet.c:302:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:301:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:302:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:302:26: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-packet.c:302:26: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def787]
criu-4.2/criu/sk-packet.c:302:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:301:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:302:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:302:26: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-packet.c:302:26: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def788]
criu-4.2/criu/sk-packet.c:308:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:301:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:308:16: branch_false: ...to here
criu-4.2/criu/sk-packet.c:308:16: throw: if ‘sk_collect_one’ throws an exception...
criu-4.2/criu/sk-packet.c:308:16: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
criu-4.2/criu/sk-packet.c:308:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:301:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:308:16: branch_false: ...to here
criu-4.2/criu/sk-packet.c:308:16: throw: if ‘sk_collect_one’ throws an exception...
criu-4.2/criu/sk-packet.c:308:16: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
criu-4.2/criu/sk-packet.c:312:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.2/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.2/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.2/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.2/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.2/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.2/criu/sk-packet.c:296:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sk-packet.c:297:25: branch_true: ...to here
criu-4.2/criu/sk-packet.c:312:9: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def791]
criu-4.2/criu/sk-packet.c:349:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/sk-packet.c:324:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:329:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:329:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-packet.c:330:21: branch_true: ...to here
criu-4.2/criu/sk-packet.c:337:30: acquire_resource: opened here
criu-4.2/criu/sk-packet.c:338:28: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.2/criu/sk-packet.c:343:25: branch_false: ...to here
criu-4.2/criu/sk-packet.c:349:1: danger: ‘fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def792]
criu-4.2/criu/sk-packet.c:452:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/sk-packet.c:421:14: acquire_resource: socket created here
criu-4.2/criu/sk-packet.c:422:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/sk-packet.c:427:9: branch_false: ...to here
criu-4.2/criu/sk-packet.c:431:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-packet.c:452:44: branch_false: ...to here
criu-4.2/criu/sk-packet.c:452:13: throw: if ‘rst_file_params’ throws an exception...
criu-4.2/criu/sk-packet.c:452:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
criu-4.2/criu/sk-queue.c:95:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-queue.c:81:12: enter_function: entry to ‘dump_scm_rights’
criu-4.2/criu/sk-queue.c:90:15: acquire_memory: allocated here
criu-4.2/criu/sk-queue.c:90:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-queue.c:94:16: call_function: inlined call to ‘xptr_pull_s’ from ‘dump_scm_rights’
criu-4.2/criu/sk-queue.c:95:9: throw: if ‘scm_entry__init’ throws an exception...
criu-4.2/criu/sk-queue.c:95:9: danger: ‘___p’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
criu-4.2/criu/sk-queue.c:206:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-queue.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-queue.c:183:9: branch_false: ...to here
criu-4.2/criu/sk-queue.c:186:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-queue.c:192:14: branch_false: ...to here
criu-4.2/criu/sk-queue.c:197:16: acquire_memory: allocated here
criu-4.2/criu/sk-queue.c:197:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-queue.c:204:15: branch_false: ...to here
criu-4.2/criu/sk-queue.c:205:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-queue.c:206:17: branch_true: ...to here
criu-4.2/criu/sk-queue.c:206:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sk-queue.c:206:17: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
criu-4.2/criu/sk-queue.c:225:35: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-queue.c:176:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-queue.c:183:9: branch_false: ...to here
criu-4.2/criu/sk-queue.c:186:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-queue.c:192:14: branch_false: ...to here
criu-4.2/criu/sk-queue.c:197:16: acquire_memory: allocated here
criu-4.2/criu/sk-queue.c:197:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-queue.c:204:15: branch_false: ...to here
criu-4.2/criu/sk-queue.c:205:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-queue.c:210:9: branch_false: ...to here
criu-4.2/criu/sk-queue.c:225:35: throw: if ‘recvmsg’ throws an exception...
criu-4.2/criu/sk-queue.c:225:35: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
criu-4.2/criu/sk-tcp.c:277:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-tcp.c:273:15: acquire_memory: allocated here
criu-4.2/criu/sk-tcp.c:273:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-tcp.c:277:13: branch_false: ...to here
criu-4.2/criu/sk-tcp.c:277:13: throw: if ‘read_img_buf’ throws an exception...
criu-4.2/criu/sk-tcp.c:277:13: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def797]
criu-4.2/criu/sk-unix.c:723:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def798]
criu-4.2/criu/sk-unix.c:724:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def799]
criu-4.2/criu/sk-unix.c:728:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def800]
criu-4.2/criu/sk-unix.c:735:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def801]
criu-4.2/criu/sk-unix.c:770:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def802]
criu-4.2/criu/sk-unix.c:772:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
criu-4.2/criu/sk-unix.c:775:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:843:5: enter_function: entry to ‘unix_receive_one’
criu-4.2/criu/sk-unix.c:850:16: call_function: calling ‘unix_collect_one’ from ‘unix_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def804]
criu-4.2/criu/sk-unix.c:1269:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def805]
criu-4.2/criu/sk-unix.c:1271:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def806]
criu-4.2/criu/sk-unix.c:1277:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.2/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1626:28: call_function: calling ‘prep_unix_sk_cwd’ from ‘bind_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def807]
criu-4.2/criu/sk-unix.c:1277:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.2/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1626:28: call_function: calling ‘prep_unix_sk_cwd’ from ‘bind_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
criu-4.2/criu/sk-unix.c:1281:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.2/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1626:28: call_function: calling ‘prep_unix_sk_cwd’ from ‘bind_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def809]
criu-4.2/criu/sk-unix.c:1281:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.2/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1626:28: call_function: calling ‘prep_unix_sk_cwd’ from ‘bind_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
criu-4.2/criu/sk-unix.c:1299:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def811]
criu-4.2/criu/sk-unix.c:1299:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
criu-4.2/criu/sk-unix.c:1302:40: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def813]
criu-4.2/criu/sk-unix.c:1302:40: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def814]
criu-4.2/criu/sk-unix.c:1308:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def815]
criu-4.2/criu/sk-unix.c:1308:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def816]
criu-4.2/criu/sk-unix.c:1310:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def817]
criu-4.2/criu/sk-unix.c:1310:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.2/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.2/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def818]
criu-4.2/criu/sk-unix.c:1351:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def819]
criu-4.2/criu/sk-unix.c:1459:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*ui.name, 2097152)’
criu-4.2/criu/sk-unix.c:1454:18: acquire_resource: opened here
criu-4.2/criu/sk-unix.c:1455:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1459:26: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1459:26: throw: if ‘fdstore_add’ throws an exception...
criu-4.2/criu/sk-unix.c:1459:26: danger: ‘open(*ui.name, 2097152)’ leaks here; was opened at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def820]
criu-4.2/criu/sk-unix.c:1674:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-unix.c:1674:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1674:9: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1674:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def821]
criu-4.2/criu/sk-unix.c:1713:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1713:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1713:9: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1713:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def822]
criu-4.2/criu/sk-unix.c:1733:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1713:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1715:23: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1718:33: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1723:13: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1723:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1728:23: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1728:23: acquire_resource: opened here
criu-4.2/criu/sk-unix.c:1729:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/sk-unix.c:1733:17: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1733:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/sk-unix.c:1733:17: danger: ‘tmp’ leaks here; was opened at [(11)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def823]
criu-4.2/criu/sk-unix.c:1737:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1713:9: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1715:23: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1715:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1718:33: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1718:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1723:13: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1723:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1728:23: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1728:23: acquire_resource: opened here
criu-4.2/criu/sk-unix.c:1729:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/sk-unix.c:1733:17: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1737:13: throw: if ‘setup_and_serve_out’ throws an exception...
criu-4.2/criu/sk-unix.c:1737:13: danger: ‘tmp’ leaks here; was opened at [(11)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def824]
criu-4.2/criu/sk-unix.c:1785:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/sk-unix.c:1775:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1780:23: branch_true: ...to here
criu-4.2/criu/sk-unix.c:1780:23: acquire_resource: opened here
criu-4.2/criu/sk-unix.c:1781:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/sk-unix.c:1785:17: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1785:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/sk-unix.c:1785:17: danger: ‘ret’ leaks here; was opened at [(3)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def825]
criu-4.2/criu/sk-unix.c:1789:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sks[0]’
criu-4.2/criu/sk-unix.c:1796:12: enter_function: entry to ‘open_unixsk_standalone’
criu-4.2/criu/sk-unix.c:1822:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1826:15: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1829:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1837:13: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1837:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1850:21: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1850:19: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:1854:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:1859:23: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1860:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/sk-unix.c:1865:21: branch_false: ...to here
criu-4.2/criu/sk-unix.c:1865:21: call_function: calling ‘setup_second_end’ from ‘open_unixsk_standalone’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def826]
criu-4.2/criu/sk-unix.c:2135:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uname’
criu-4.2/criu/sk-unix.c:2124:12: enter_function: entry to ‘collect_one_unixsk’
criu-4.2/criu/sk-unix.c:2130:13: call_function: calling ‘init_unix_sk_info’ from ‘collect_one_unixsk’
criu-4.2/criu/sk-unix.c:2130:13: return_function: returning to ‘collect_one_unixsk’ from ‘init_unix_sk_info’
criu-4.2/criu/sk-unix.c:2130:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2133:9: branch_false: ...to here
criu-4.2/criu/sk-unix.c:2133:9: release_memory: ‘uname’ is NULL
criu-4.2/criu/sk-unix.c:2135:12: branch_true: following ‘true’ branch (when ‘ulen > 0’)...
criu-4.2/criu/sk-unix.c:2135:25: branch_true: ...to here
criu-4.2/criu/sk-unix.c:2135:25: danger: dereference of NULL ‘uname’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def827]
criu-4.2/criu/sk-unix.c:2225:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sk-unix.c:2195:12: enter_function: entry to ‘add_fake_queuer’
criu-4.2/criu/sk-unix.c:2203:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2206:16: branch_false: ...to here
criu-4.2/criu/sk-unix.c:2206:16: acquire_memory: allocated here
criu-4.2/criu/sk-unix.c:2206:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sk-unix.c:2210:9: branch_false: ...to here
criu-4.2/criu/sk-unix.c:2222:13: call_function: calling ‘init_unix_sk_info’ from ‘add_fake_queuer’
criu-4.2/criu/sk-unix.c:2222:13: return_function: returning to ‘add_fake_queuer’ from ‘init_unix_sk_info’
criu-4.2/criu/sk-unix.c:2222:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2225:23: branch_false: ...to here
criu-4.2/criu/sk-unix.c:2225:23: throw: if ‘find_unused_file_desc_id’ throws an exception...
criu-4.2/criu/sk-unix.c:2225:23: danger: ‘___p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def828]
criu-4.2/criu/sk-unix.c:2306:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sk-unix.c:2303:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sk-unix.c:2306:9: branch_false: ...to here
criu-4.2/criu/sk-unix.c:2306:9: branch_true: following ‘true’ branch...
criu-4.2/criu/sk-unix.c:2306:9: branch_true: ...to here
criu-4.2/criu/sk-unix.c:2306:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def829]
criu-4.2/criu/sockets.c:183:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def830]
criu-4.2/criu/sockets.c:222:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘nl’
criu-4.2/criu/sockets.c:225:6: enter_function: entry to ‘preload_socket_modules’
criu-4.2/criu/sockets.c:241:14: acquire_resource: socket created here
criu-4.2/criu/sockets.c:242:12: branch_false: following ‘false’ branch (when ‘nl >= 0’)...
criu-4.2/criu/sockets.c:245:9: branch_false: ...to here
criu-4.2/criu/sockets.c:263:9: call_function: calling ‘probe_diag’ from ‘preload_socket_modules’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def831]
criu-4.2/criu/sockets.c:245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘nl’
criu-4.2/criu/sockets.c:241:14: acquire_resource: socket created here
criu-4.2/criu/sockets.c:242:12: branch_false: following ‘false’ branch (when ‘nl >= 0’)...
criu-4.2/criu/sockets.c:245:9: branch_false: ...to here
criu-4.2/criu/sockets.c:245:9: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sockets.c:245:9: danger: ‘nl’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def832]
criu-4.2/criu/sockets.c:437:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def833]
criu-4.2/criu/sockets.c:795:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def834]
criu-4.2/criu/stats.c:35:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:34:12: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:35:17: branch_true: ...to here
criu-4.2/criu/stats.c:35:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.2/criu/stats.c:35:17: branch_true: ...to here
criu-4.2/criu/stats.c:35:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def835]
criu-4.2/criu/stats.c:38:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:37:20: branch_false: ...to here
criu-4.2/criu/stats.c:37:19: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:38:17: branch_true: ...to here
criu-4.2/criu/stats.c:38:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.2/criu/stats.c:38:17: branch_true: ...to here
criu-4.2/criu/stats.c:38:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def836]
criu-4.2/criu/stats.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:37:20: branch_false: ...to here
criu-4.2/criu/stats.c:37:19: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:41:17: branch_false: ...to here
criu-4.2/criu/stats.c:41:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
criu-4.2/criu/stats.c:47:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:46:12: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:47:17: branch_true: ...to here
criu-4.2/criu/stats.c:47:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.2/criu/stats.c:47:17: branch_true: ...to here
criu-4.2/criu/stats.c:47:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def838]
criu-4.2/criu/stats.c:50:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:49:20: branch_false: ...to here
criu-4.2/criu/stats.c:49:19: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:50:17: branch_true: ...to here
criu-4.2/criu/stats.c:50:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.2/criu/stats.c:50:17: branch_true: ...to here
criu-4.2/criu/stats.c:50:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def839]
criu-4.2/criu/stats.c:53:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:49:20: branch_false: ...to here
criu-4.2/criu/stats.c:49:19: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:53:17: branch_false: ...to here
criu-4.2/criu/stats.c:53:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def840]
criu-4.2/criu/stats.c:76:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:75:12: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:76:17: branch_true: ...to here
criu-4.2/criu/stats.c:76:17: branch_true: following ‘true’ branch (when ‘t > 4’)...
criu-4.2/criu/stats.c:76:17: branch_true: ...to here
criu-4.2/criu/stats.c:76:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def841]
criu-4.2/criu/stats.c:83:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:78:19: branch_true: following ‘true’ branch...
criu-4.2/criu/stats.c:83:17: branch_true: ...to here
criu-4.2/criu/stats.c:83:17: branch_true: following ‘true’ branch (when ‘t > 1’)...
criu-4.2/criu/stats.c:83:17: branch_true: ...to here
criu-4.2/criu/stats.c:83:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def842]
criu-4.2/criu/stats.c:87:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/stats.c:78:19: branch_false: following ‘false’ branch...
criu-4.2/criu/stats.c:87:9: branch_false: ...to here
criu-4.2/criu/stats.c:87:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def843]
criu-4.2/criu/sysctl.c:96:1: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:183:12: enter_function: entry to ‘__userns_sysctl_op’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:244:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:249:20: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:277:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:296:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:296:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:301:17: branch_false: ...to here
criu-4.2/criu/sysctl.c:303:29: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:304:54: branch_true: ...to here
criu-4.2/criu/sysctl.c:304:29: call_function: calling ‘do_sysctl_op’ from ‘__userns_sysctl_op’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
criu-4.2/criu/sysctl.c:100:1: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:183:12: enter_function: entry to ‘__userns_sysctl_op’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:244:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:249:20: branch_false: ...to here
criu-4.2/criu/sysctl.c:255:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:265:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:277:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:296:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:296:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:301:17: branch_false: ...to here
criu-4.2/criu/sysctl.c:303:29: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:304:54: branch_true: ...to here
criu-4.2/criu/sysctl.c:304:29: call_function: calling ‘do_sysctl_op’ from ‘__userns_sysctl_op’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
criu-4.2/criu/sysctl.c:147:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:183:12: enter_function: entry to ‘__userns_sysctl_op’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:235:31: call_function: calling ‘sysctl_userns_arg_size’ from ‘__userns_sysctl_op’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def846]
criu-4.2/criu/sysctl.c:228:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_true: ...to here
criu-4.2/criu/sysctl.c:228:16: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:228:16: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def847]
criu-4.2/criu/sysctl.c:245:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:245:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:245:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def848]
criu-4.2/criu/sysctl.c:254:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:244:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:249:20: branch_false: ...to here
criu-4.2/criu/sysctl.c:249:20: branch_true: following ‘true’ branch (when ‘op == 0’)...
criu-4.2/criu/sysctl.c:254:22: branch_true: ...to here
criu-4.2/criu/sysctl.c:254:22: throw: if ‘openat’ throws an exception...
criu-4.2/criu/sysctl.c:254:22: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def849]
criu-4.2/criu/sysctl.c:258:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.2/criu/sysctl.c:244:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:249:20: branch_false: ...to here
criu-4.2/criu/sysctl.c:255:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:256:29: branch_true: ...to here
criu-4.2/criu/sysctl.c:258:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:258:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def850]
criu-4.2/criu/sysctl.c:287:38: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:287:38: throw: if ‘ns_to_string’ throws an exception...
criu-4.2/criu/sysctl.c:287:38: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def851]
criu-4.2/criu/sysctl.c:289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:289:17: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:289:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def852]
criu-4.2/criu/sysctl.c:289:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:289:17: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
criu-4.2/criu/sysctl.c:290:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:290:24: throw: if ‘openat’ throws an exception...
criu-4.2/criu/sysctl.c:290:24: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def854]
criu-4.2/criu/sysctl.c:292:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:292:25: branch_true: ...to here
criu-4.2/criu/sysctl.c:292:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:292:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
criu-4.2/criu/sysctl.c:297:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:296:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:296:20: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:297:25: branch_true: ...to here
criu-4.2/criu/sysctl.c:297:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:297:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
criu-4.2/criu/sysctl.c:301:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:296:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:296:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:301:17: branch_false: ...to here
criu-4.2/criu/sysctl.c:301:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/sysctl.c:301:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def857]
criu-4.2/criu/sysctl.c:304:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_true: following ‘true’ branch (when ‘worker == 0’)...
criu-4.2/criu/sysctl.c:287:38: branch_true: ...to here
criu-4.2/criu/sysctl.c:289:17: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:290:24: branch_false: ...to here
criu-4.2/criu/sysctl.c:291:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:296:21: branch_false: ...to here
criu-4.2/criu/sysctl.c:296:20: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:301:17: branch_false: ...to here
criu-4.2/criu/sysctl.c:303:29: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:304:54: branch_true: ...to here
criu-4.2/criu/sysctl.c:304:29: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
criu-4.2/criu/sysctl.c:316:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_false: following ‘false’ branch (when ‘worker != 0’)...
criu-4.2/criu/sysctl.c:316:13: branch_false: ...to here
criu-4.2/criu/sysctl.c:316:13: throw: if ‘waitpid’ throws an exception...
criu-4.2/criu/sysctl.c:316:13: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
criu-4.2/criu/sysctl.c:317:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_false: following ‘false’ branch (when ‘worker != 0’)...
criu-4.2/criu/sysctl.c:316:13: branch_false: ...to here
criu-4.2/criu/sysctl.c:316:12: branch_true: following ‘true’ branch...
criu-4.2/criu/sysctl.c:317:17: branch_true: ...to here
criu-4.2/criu/sysctl.c:317:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:317:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
criu-4.2/criu/sysctl.c:324:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.2/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.2/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.2/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:282:12: branch_false: following ‘false’ branch (when ‘worker >= 0’)...
criu-4.2/criu/sysctl.c:285:12: branch_false: ...to here
criu-4.2/criu/sysctl.c:285:12: branch_false: following ‘false’ branch (when ‘worker != 0’)...
criu-4.2/criu/sysctl.c:316:13: branch_false: ...to here
criu-4.2/criu/sysctl.c:316:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysctl.c:321:9: branch_false: ...to here
criu-4.2/criu/sysctl.c:324:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/sysctl.c:324:17: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
criu-4.2/criu/sysfs_parse.c:178:27: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
criu-4.2/criu/sysfs_parse.c:136:5: enter_function: entry to ‘parse_aufs_branches’
criu-4.2/criu/sysfs_parse.c:150:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysfs_parse.c:155:13: branch_false: ...to here
criu-4.2/criu/sysfs_parse.c:155:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysfs_parse.c:160:12: branch_false: ...to here
criu-4.2/criu/sysfs_parse.c:160:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysfs_parse.c:163:9: branch_false: ...to here
criu-4.2/criu/sysfs_parse.c:164:13: call_function: calling ‘parse_aufs_sbinfo’ from ‘parse_aufs_branches’
criu-4.2/criu/sysfs_parse.c:164:13: return_function: returning to ‘parse_aufs_branches’ from ‘parse_aufs_sbinfo’
criu-4.2/criu/sysfs_parse.c:164:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysfs_parse.c:166:19: branch_false: ...to here
criu-4.2/criu/sysfs_parse.c:166:19: acquire_memory: allocated here
criu-4.2/criu/sysfs_parse.c:166:12: branch_false: following ‘false’ branch...
criu-4.2/criu/sysfs_parse.c:166:12: branch_false: ...to here
criu-4.2/criu/sysfs_parse.c:178:27: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/sysfs_parse.c:178:27: danger: ‘opendir(&path)’ leaks here; was allocated at [(20)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
criu-4.2/criu/tls.c:65:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tls.c:94:5: enter_function: entry to ‘tls_send_data_from_fd’
criu-4.2/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.2/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.2/criu/tls.c:106:40: branch_true: ...to here
criu-4.2/criu/tls.c:107:20: branch_false: following ‘false’ branch...
criu-4.2/criu/tls.c:107:20: branch_false: ...to here
criu-4.2/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.2/criu/tls.c:113:54: branch_true: ...to here
criu-4.2/criu/tls.c:113:31: call_function: calling ‘tls_send’ from ‘tls_send_data_from_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def863]
criu-4.2/criu/tls.c:80:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tls.c:94:5: enter_function: entry to ‘tls_send_data_from_fd’
criu-4.2/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.2/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.2/criu/tls.c:106:40: branch_true: ...to here
criu-4.2/criu/tls.c:107:20: branch_false: following ‘false’ branch...
criu-4.2/criu/tls.c:107:20: branch_false: ...to here
criu-4.2/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.2/criu/tls.c:113:54: branch_true: ...to here
criu-4.2/criu/tls.c:113:31: call_function: calling ‘tls_send’ from ‘tls_send_data_from_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
criu-4.2/criu/tls.c:108:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.2/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.2/criu/tls.c:106:40: branch_true: ...to here
criu-4.2/criu/tls.c:107:20: branch_true: following ‘true’ branch...
criu-4.2/criu/tls.c:108:25: branch_true: ...to here
criu-4.2/criu/tls.c:108:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tls.c:108:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def865]
criu-4.2/criu/tls.c:115:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.2/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tls.c:100:12: branch_false: ...to here
criu-4.2/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.2/criu/tls.c:106:40: branch_true: ...to here
criu-4.2/criu/tls.c:107:20: branch_false: following ‘false’ branch...
criu-4.2/criu/tls.c:107:20: branch_false: ...to here
criu-4.2/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.2/criu/tls.c:113:54: branch_true: ...to here
criu-4.2/criu/tls.c:115:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tls.c:115:33: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def866]
criu-4.2/criu/tty.c: scope_hint: In function ‘pts_fd_get_index’
criu-4.2/criu/tty.c:262:21: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-704): [#def867]
criu-4.2/criu/tty.c:262:21: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
criu-4.2/criu/tty.c:457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.2/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1022:24: branch_false: ...to here
criu-4.2/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def869]
criu-4.2/criu/tty.c:499:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.2/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1022:24: branch_false: ...to here
criu-4.2/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def870]
criu-4.2/criu/tty.c:500:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.2/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1022:24: branch_false: ...to here
criu-4.2/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def871]
criu-4.2/criu/tty.c:519:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.2/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1022:24: branch_false: ...to here
criu-4.2/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def872]
criu-4.2/criu/tty.c:519:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.2/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1022:24: branch_false: ...to here
criu-4.2/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def873]
criu-4.2/criu/tty.c:925:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/tty.c:919:12: enter_function: entry to ‘pty_open_slaves’
criu-4.2/criu/tty.c:924:9: branch_true: following ‘true’ branch (when ‘slave != info’)...
criu-4.2/criu/tty.c:925:17: call_function: inlined call to ‘tty_is_master’ from ‘pty_open_slaves’
criu-4.2/criu/tty.c:925:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
criu-4.2/criu/tty.c:1248:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1244:13: acquire_memory: allocated here
criu-4.2/criu/tty.c:1244:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1248:9: branch_false: ...to here
criu-4.2/criu/tty.c:1248:9: throw: if ‘fdinfo_entry__init’ throws an exception...
criu-4.2/criu/tty.c:1248:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def875]
criu-4.2/criu/tty.c:1323:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.2/criu/tty.c:1315:9: branch_false: ...to here
criu-4.2/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.2/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1322:15: branch_false: ...to here
criu-4.2/criu/tty.c:1323:9: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1323:9: branch_true: ...to here
criu-4.2/criu/tty.c:1323:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
criu-4.2/criu/tty.c:1329:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.2/criu/tty.c:1315:9: branch_false: ...to here
criu-4.2/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.2/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1322:15: branch_false: ...to here
criu-4.2/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1328:19: branch_false: ...to here
criu-4.2/criu/tty.c:1328:19: acquire_memory: allocated here
criu-4.2/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1329:13: branch_false: ...to here
criu-4.2/criu/tty.c:1329:13: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/tty.c:1329:13: branch_true: ...to here
criu-4.2/criu/tty.c:1329:13: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1329:13: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
criu-4.2/criu/tty.c:1340:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.2/criu/tty.c:1315:9: branch_false: ...to here
criu-4.2/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.2/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1322:15: branch_false: ...to here
criu-4.2/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1328:19: branch_false: ...to here
criu-4.2/criu/tty.c:1328:19: acquire_memory: allocated here
criu-4.2/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1329:13: branch_false: ...to here
criu-4.2/criu/tty.c:1329:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1331:13: branch_false: ...to here
criu-4.2/criu/tty.c:1331:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1334:9: branch_false: ...to here
criu-4.2/criu/tty.c:1340:9: throw: if ‘file_desc_add’ throws an exception...
criu-4.2/criu/tty.c:1340:9: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
criu-4.2/criu/tty.c:1342:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.2/criu/tty.c:1315:9: branch_false: ...to here
criu-4.2/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.2/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.2/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1322:15: branch_false: ...to here
criu-4.2/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1328:19: branch_false: ...to here
criu-4.2/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1329:13: branch_false: ...to here
criu-4.2/criu/tty.c:1329:13: acquire_memory: allocated here
criu-4.2/criu/tty.c:1329:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1331:13: branch_false: ...to here
criu-4.2/criu/tty.c:1331:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1334:9: branch_false: ...to here
criu-4.2/criu/tty.c:1342:9: throw: if ‘fdinfo_entry__init’ throws an exception...
criu-4.2/criu/tty.c:1342:9: danger: ‘___p’ leaks here; was allocated at [(17)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
criu-4.2/criu/tty.c:1897:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: acquire_memory: allocated here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1894:12: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1895:30: branch_true: ...to here
criu-4.2/criu/tty.c:1896:20: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1897:25: branch_true: ...to here
criu-4.2/criu/tty.c:1897:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1897:25: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def880]
criu-4.2/criu/tty.c:1956:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1935:13: branch_false: ...to here
criu-4.2/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1945:12: branch_false: ...to here
criu-4.2/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.2/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1953:9: branch_false: ...to here
criu-4.2/criu/tty.c:1956:31: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.2/criu/tty.c:1956:31: branch_true: ...to here
criu-4.2/criu/tty.c:1956:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1956:31: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def881]
criu-4.2/criu/tty.c:1963:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1935:13: branch_false: ...to here
criu-4.2/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1945:12: branch_false: ...to here
criu-4.2/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.2/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1953:9: branch_false: ...to here
criu-4.2/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1956:9: branch_false: ...to here
criu-4.2/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1962:12: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1963:17: branch_true: ...to here
criu-4.2/criu/tty.c:1963:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1963:17: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def882]
criu-4.2/criu/tty.c:1970:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1935:13: branch_false: ...to here
criu-4.2/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1945:12: branch_false: ...to here
criu-4.2/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.2/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1953:9: branch_false: ...to here
criu-4.2/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1956:9: branch_false: ...to here
criu-4.2/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1966:9: branch_false: ...to here
criu-4.2/criu/tty.c:1969:12: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1970:17: branch_true: ...to here
criu-4.2/criu/tty.c:1970:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1970:17: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def883]
criu-4.2/criu/tty.c:1977:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1935:13: branch_false: ...to here
criu-4.2/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1945:12: branch_false: ...to here
criu-4.2/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.2/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1953:9: branch_false: ...to here
criu-4.2/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1956:9: branch_false: ...to here
criu-4.2/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1966:9: branch_false: ...to here
criu-4.2/criu/tty.c:1969:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1973:9: branch_false: ...to here
criu-4.2/criu/tty.c:1976:12: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:1977:17: branch_true: ...to here
criu-4.2/criu/tty.c:1977:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:1977:17: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def884]
criu-4.2/criu/tty.c:1982:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:1849:12: enter_function: entry to ‘dump_tty_info’
criu-4.2/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1877:51: branch_false: ...to here
criu-4.2/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1881:17: branch_false: ...to here
criu-4.2/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1885:9: branch_false: ...to here
criu-4.2/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1935:13: branch_false: ...to here
criu-4.2/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1945:12: branch_false: ...to here
criu-4.2/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.2/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1953:9: branch_false: ...to here
criu-4.2/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:1956:9: branch_false: ...to here
criu-4.2/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1966:9: branch_false: ...to here
criu-4.2/criu/tty.c:1969:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1973:9: branch_false: ...to here
criu-4.2/criu/tty.c:1976:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:1980:9: branch_false: ...to here
criu-4.2/criu/tty.c:1982:15: call_function: calling ‘img_from_set’ from ‘dump_tty_info’
criu-4.2/criu/tty.c:1982:15: return_function: returning to ‘dump_tty_info’ from ‘img_from_set’
criu-4.2/criu/tty.c:1982:15: throw: if ‘pb_write_one’ throws an exception...
criu-4.2/criu/tty.c:1982:15: danger: ‘___p’ leaks here; was allocated at [(12)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def885]
criu-4.2/criu/tty.c:2092:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2102:12: enter_function: entry to ‘tty_do_dump_queued_data’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2113:15: call_function: calling ‘tty_unblock’ from ‘tty_do_dump_queued_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def886]
criu-4.2/criu/tty.c:2094:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2102:12: enter_function: entry to ‘tty_do_dump_queued_data’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2113:15: call_function: calling ‘tty_unblock’ from ‘tty_do_dump_queued_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def887]
criu-4.2/criu/tty.c:2122:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2114:12: branch_false: ...to here
criu-4.2/criu/tty.c:2121:20: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.2/criu/tty.c:2122:25: branch_true: ...to here
criu-4.2/criu/tty.c:2122:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:2122:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def888]
criu-4.2/criu/tty.c:2126:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2114:12: branch_false: ...to here
criu-4.2/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/tty.c:2124:27: branch_false: ...to here
criu-4.2/criu/tty.c:2124:27: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/tty.c:2125:29: branch_true: ...to here
criu-4.2/criu/tty.c:2125:28: branch_true: following ‘true’ branch...
criu-4.2/criu/tty.c:2126:33: branch_true: ...to here
criu-4.2/criu/tty.c:2126:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:2126:33: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def889]
criu-4.2/criu/tty.c:2130:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2114:12: branch_false: ...to here
criu-4.2/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/tty.c:2124:27: branch_false: ...to here
criu-4.2/criu/tty.c:2125:28: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2129:33: branch_false: ...to here
criu-4.2/criu/tty.c:2130:33: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:2130:33: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
criu-4.2/criu/tty.c:2137:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2114:12: branch_false: ...to here
criu-4.2/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/tty.c:2124:27: branch_false: ...to here
criu-4.2/criu/tty.c:2124:27: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/tty.c:2136:21: branch_false: ...to here
criu-4.2/criu/tty.c:2137:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:2137:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def891]
criu-4.2/criu/tty.c:2140:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.2/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tty.c:2113:15: branch_false: ...to here
criu-4.2/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2114:12: branch_false: ...to here
criu-4.2/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.2/criu/tty.c:2124:27: branch_false: ...to here
criu-4.2/criu/tty.c:2124:27: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/tty.c:2136:21: branch_false: ...to here
criu-4.2/criu/tty.c:2140:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tty.c:2140:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def892]
criu-4.2/criu/tty.c:2433:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(service_mountpoint(pm), 0)’
criu-4.2/criu/tty.c:2427:15: acquire_resource: opened here
criu-4.2/criu/tty.c:2428:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tty.c:2433:9: branch_false: ...to here
criu-4.2/criu/tty.c:2433:9: danger: ‘open(service_mountpoint(pm), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def893]
criu-4.2/criu/tun.c:88:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 0)’
criu-4.2/criu/tun.c:83:15: acquire_resource: opened here
criu-4.2/criu/tun.c:84:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tun.c:88:9: branch_false: ...to here
criu-4.2/criu/tun.c:88:9: throw: if ‘check_has_netns_ioc’ throws an exception...
criu-4.2/criu/tun.c:88:9: danger: ‘open("/dev/net/tun", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def894]
criu-4.2/criu/tun.c:124:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tun.c:120:14: acquire_memory: allocated here
criu-4.2/criu/tun.c:120:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tun.c:124:29: branch_false: ...to here
criu-4.2/criu/tun.c:124:9: throw: if ‘__strlcpy’ throws an exception...
criu-4.2/criu/tun.c:124:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def895]
criu-4.2/criu/tun.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/tun.c:153:14: acquire_memory: allocated here
criu-4.2/criu/tun.c:153:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/tun.c:156:19: branch_false: ...to here
criu-4.2/criu/tun.c:156:9: throw: if ‘__strlcpy’ throws an exception...
criu-4.2/criu/tun.c:156:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def896]
criu-4.2/criu/tun.c:235:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 2)’
criu-4.2/criu/tun.c:229:14: acquire_resource: opened here
criu-4.2/criu/tun.c:230:12: branch_false: following ‘false’ branch...
criu-4.2/criu/tun.c:235:13: branch_false: ...to here
criu-4.2/criu/tun.c:235:12: branch_true: following ‘true’ branch...
criu-4.2/criu/tun.c:236:17: branch_true: ...to here
criu-4.2/criu/tun.c:236:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/tun.c:235:13: danger: ‘open("/dev/net/tun", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def897]
criu-4.2/criu/uffd.c:124:9: warning[-Wanalyzer-malloc-leak]: leak of ‘lpi_init()’
criu-4.2/criu/uffd.c:1368:12: enter_function: entry to ‘prepare_uffds’
criu-4.2/criu/uffd.c:1377:12: branch_false: following ‘false’ branch...
criu-4.2/criu/uffd.c:1377:12: branch_false: ...to here
criu-4.2/criu/uffd.c:1383:21: branch_true: following ‘true’ branch...
criu-4.2/criu/uffd.c:1384:41: branch_true: ...to here
criu-4.2/criu/uffd.c:1385:21: call_function: calling ‘ud_open’ from ‘prepare_uffds’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def898]
criu-4.2/criu/uffd.c:388:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/criu/uffd.c:1313:12: enter_function: entry to ‘prepare_lazy_socket’
criu-4.2/criu/uffd.c:1318:12: branch_false: following ‘false’ branch...
criu-4.2/criu/uffd.c:1321:9: branch_false: ...to here
criu-4.2/criu/uffd.c:1322:23: call_function: calling ‘server_listen’ from ‘prepare_lazy_socket’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def899]
criu-4.2/criu/util.c:123:23: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/criu/util.c:163:7: enter_function: entry to ‘xsprintf’
criu-4.2/criu/util.c:168:9: acquire_resource: ‘va_start’ called here
criu-4.2/criu/util.c:169:15: call_function: calling ‘xvstrcat’ from ‘xsprintf’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def900]
criu-4.2/criu/util.c:127:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.2/criu/util.c:163:7: enter_function: entry to ‘xsprintf’
criu-4.2/criu/util.c:168:9: acquire_resource: ‘va_start’ called here
criu-4.2/criu/util.c:169:15: call_function: calling ‘xvstrcat’ from ‘xsprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def901]
criu-4.2/criu/util.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/util.c:123:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/util.c:131:17: branch_false: ...to here
criu-4.2/criu/util.c:134:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:143:12: branch_true: ...to here
criu-4.2/criu/util.c:143:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.2/criu/util.c:145:17: branch_true: ...to here
criu-4.2/criu/util.c:145:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:145:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def902]
criu-4.2/criu/util.c:224:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def903]
criu-4.2/criu/util.c:224:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/util.c:234:5: enter_function: entry to ‘reopen_fd_as_safe’
criu-4.2/criu/util.c:238:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:239:20: branch_true: ...to here
criu-4.2/criu/util.c:239:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.2/criu/util.c:242:31: branch_true: ...to here
criu-4.2/criu/util.c:242:31: acquire_resource: opened here
criu-4.2/criu/util.c:243:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/util.c:246:27: branch_false: ...to here
criu-4.2/criu/util.c:246:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.2/criu/util.c:253:17: branch_false: ...to here
criu-4.2/criu/util.c:253:17: call_function: calling ‘close_safe’ from ‘reopen_fd_as_safe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def904]
criu-4.2/criu/util.c:228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def905]
criu-4.2/criu/util.c:228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/util.c:234:5: enter_function: entry to ‘reopen_fd_as_safe’
criu-4.2/criu/util.c:238:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:239:20: branch_true: ...to here
criu-4.2/criu/util.c:239:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.2/criu/util.c:242:31: branch_true: ...to here
criu-4.2/criu/util.c:242:31: acquire_resource: opened here
criu-4.2/criu/util.c:243:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/util.c:246:27: branch_false: ...to here
criu-4.2/criu/util.c:246:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.2/criu/util.c:253:17: branch_false: ...to here
criu-4.2/criu/util.c:253:17: call_function: calling ‘close_safe’ from ‘reopen_fd_as_safe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def906]
criu-4.2/criu/util.c:231:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/util.c:238:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:239:20: branch_true: ...to here
criu-4.2/criu/util.c:239:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.2/criu/util.c:242:31: branch_true: ...to here
criu-4.2/criu/util.c:242:31: acquire_resource: opened here
criu-4.2/criu/util.c:243:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/util.c:246:27: branch_false: ...to here
criu-4.2/criu/util.c:246:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.2/criu/util.c:253:17: branch_false: ...to here
criu-4.2/criu/util.c:231:16: danger: ‘tmp’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def907]
criu-4.2/criu/util.c:242:31: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘new_fd’
criu-4.2/criu/util.c:570:5: enter_function: entry to ‘cr_system_userns’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:605:21: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:57: branch_false: ...to here
criu-4.2/criu/util.c:618:57: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
criu-4.2/criu/util.c:618:57: return_function: returning to ‘cr_system_userns’ from ‘move_fd_from’
criu-4.2/criu/util.c:618:21: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:621:20: branch_false: ...to here
criu-4.2/criu/util.c:621:20: branch_false: following ‘false’ branch (when ‘in >= 0’)...
criu-4.2/criu/util.c:624:29: branch_false: ...to here
criu-4.2/criu/util.c:624:29: call_function: calling ‘reopen_fd_as_safe’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def908]
criu-4.2/criu/util.c:244:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def909]
criu-4.2/criu/util.c:247:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def910]
criu-4.2/criu/util.c:247:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/util.c:238:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:239:20: branch_true: ...to here
criu-4.2/criu/util.c:239:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.2/criu/util.c:242:31: branch_true: ...to here
criu-4.2/criu/util.c:242:31: acquire_resource: opened here
criu-4.2/criu/util.c:243:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/util.c:246:27: branch_false: ...to here
criu-4.2/criu/util.c:246:27: branch_true: following ‘true’ branch (when ‘tmp != new_fd’)...
criu-4.2/criu/util.c:247:25: branch_true: ...to here
criu-4.2/criu/util.c:247:25: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:247:25: danger: ‘tmp’ leaks here; was opened at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def911]
criu-4.2/criu/util.c:248:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def912]
criu-4.2/criu/util.c:266:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def913]
criu-4.2/criu/util.c:266:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:570:5: enter_function: entry to ‘cr_system_userns’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def914]
criu-4.2/criu/util.c:270:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def915]
criu-4.2/criu/util.c:270:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:570:5: enter_function: entry to ‘cr_system_userns’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def916]
criu-4.2/criu/util.c:270:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.2/criu/util.c:261:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:264:23: branch_true: ...to here
criu-4.2/criu/util.c:264:23: acquire_resource: opened here
criu-4.2/criu/util.c:265:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.2/criu/util.c:270:17: branch_false: ...to here
criu-4.2/criu/util.c:270:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:270:17: danger: ‘tmp’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def917]
criu-4.2/criu/util.c:357:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘_fd’
criu-4.2/criu/util.c:352:15: acquire_resource: opened here
criu-4.2/criu/util.c:353:12: branch_false: following ‘false’ branch (when ‘_fd >= 0’)...
criu-4.2/criu/util.c:357:13: branch_false: ...to here
criu-4.2/criu/util.c:357:13: throw: if ‘install_service_fd’ throws an exception...
criu-4.2/criu/util.c:357:13: danger: ‘_fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def918]
criu-4.2/criu/util.c:373:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 2162688)’
criu-4.2/criu/util.c:367:14: acquire_resource: opened here
criu-4.2/criu/util.c:368:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:373:15: branch_false: ...to here
criu-4.2/criu/util.c:373:15: danger: ‘open(path, 2162688)’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def919]
criu-4.2/criu/util.c:579:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def920]
criu-4.2/criu/util.c:579:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def921]
criu-4.2/criu/util.c:585:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def922]
criu-4.2/criu/util.c:585:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def923]
criu-4.2/criu/util.c:590:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def924]
criu-4.2/criu/util.c:590:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def925]
criu-4.2/criu/util.c:604:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def926]
criu-4.2/criu/util.c:604:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def927]
criu-4.2/criu/util.c:606:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:606:31: branch_true: ...to here
criu-4.2/criu/util.c:606:31: throw: if ‘log_get_fd’ throws an exception...
criu-4.2/criu/util.c:606:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def928]
criu-4.2/criu/util.c:606:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def929]
criu-4.2/criu/util.c:606:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.2/criu/util.c:1710:12: enter_function: entry to ‘is_iptables_nft’
criu-4.2/criu/util.c:1716:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1721:15: branch_false: ...to here
criu-4.2/criu/util.c:1721:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def930]
criu-4.2/criu/util.c:613:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:605:21: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:606:31: branch_true: ...to here
criu-4.2/criu/util.c:606:31: acquire_resource: opened here
criu-4.2/criu/util.c:606:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:606:25: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:613:31: branch_true: ...to here
criu-4.2/criu/util.c:613:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.2/criu/util.c:613:31: branch_true: ...to here
criu-4.2/criu/util.c:613:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:613:31: danger: ‘err’ leaks here; was opened at [(13)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def931]
criu-4.2/criu/util.c:613:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:613:31: branch_true: ...to here
criu-4.2/criu/util.c:613:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.2/criu/util.c:613:31: branch_true: ...to here
criu-4.2/criu/util.c:613:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:613:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def932]
criu-4.2/criu/util.c:616:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:605:21: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:613:31: branch_true: ...to here
criu-4.2/criu/util.c:613:31: acquire_resource: opened here
criu-4.2/criu/util.c:613:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:613:25: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:616:31: branch_true: ...to here
criu-4.2/criu/util.c:616:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.2/criu/util.c:616:31: branch_true: ...to here
criu-4.2/criu/util.c:616:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:616:31: danger: ‘err’ leaks here; was opened at [(15)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def933]
criu-4.2/criu/util.c:616:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:616:31: branch_true: ...to here
criu-4.2/criu/util.c:616:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.2/criu/util.c:616:31: branch_true: ...to here
criu-4.2/criu/util.c:616:31: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:616:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def934]
criu-4.2/criu/util.c:622:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘0’
criu-4.2/criu/util.c:570:5: enter_function: entry to ‘cr_system_userns’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:605:21: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:57: branch_false: ...to here
criu-4.2/criu/util.c:618:57: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
criu-4.2/criu/util.c:618:57: return_function: returning to ‘cr_system_userns’ from ‘move_fd_from’
criu-4.2/criu/util.c:618:21: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:621:20: branch_false: ...to here
criu-4.2/criu/util.c:621:20: branch_true: following ‘true’ branch (when ‘in < 0’)...
criu-4.2/criu/util.c:622:25: branch_true: ...to here
criu-4.2/criu/util.c:622:25: danger: second ‘close’ here; first ‘close’ was at [(26)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def935]
criu-4.2/criu/util.c:622:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.2/criu/util.c:570:5: enter_function: entry to ‘cr_system_userns’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:605:21: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:57: branch_false: ...to here
criu-4.2/criu/util.c:618:57: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
criu-4.2/criu/util.c:618:57: return_function: returning to ‘cr_system_userns’ from ‘move_fd_from’
criu-4.2/criu/util.c:618:21: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:621:20: branch_false: ...to here
criu-4.2/criu/util.c:621:20: branch_true: following ‘true’ branch (when ‘in < 0’)...
criu-4.2/criu/util.c:622:25: branch_true: ...to here
criu-4.2/criu/util.c:622:25: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:622:25: danger: ‘err’ leaks here; was opened at [(24)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def936]
criu-4.2/criu/util.c:622:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.2/criu/util.c:587:19: branch_false: ...to here
criu-4.2/criu/util.c:587:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/util.c:588:17: branch_true: ...to here
criu-4.2/criu/util.c:589:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:594:20: branch_false: ...to here
criu-4.2/criu/util.c:603:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:604:31: branch_true: ...to here
criu-4.2/criu/util.c:604:31: acquire_resource: opened here
criu-4.2/criu/util.c:604:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.2/criu/util.c:604:25: branch_false: ...to here
criu-4.2/criu/util.c:605:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:612:21: branch_false: ...to here
criu-4.2/criu/util.c:612:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:615:20: branch_false: ...to here
criu-4.2/criu/util.c:615:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:618:21: branch_false: ...to here
criu-4.2/criu/util.c:618:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:621:20: branch_true: following ‘true’ branch (when ‘in < 0’)...
criu-4.2/criu/util.c:622:25: branch_true: ...to here
criu-4.2/criu/util.c:622:25: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:622:25: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def937]
criu-4.2/criu/util.c:673:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/util.c:578:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:583:15: branch_false: ...to here
criu-4.2/criu/util.c:584:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
criu-4.2/criu/util.c:585:17: branch_true: ...to here
criu-4.2/criu/util.c:671:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:672:17: branch_true: ...to here
criu-4.2/criu/util.c:673:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def938]
criu-4.2/criu/util.c:801:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
criu-4.2/criu/util.c:787:12: branch_true: following ‘true’ branch (when ‘noclose == 0’)...
criu-4.2/criu/util.c:790:20: branch_true: ...to here
criu-4.2/criu/util.c:790:20: branch_false: following ‘false’ branch (when ‘close_fd == -1’)...
criu-4.2/criu/util.c:793:22: branch_false: ...to here
criu-4.2/criu/util.c:793:22: acquire_resource: opened here
criu-4.2/criu/util.c:794:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:798:17: branch_false: ...to here
criu-4.2/criu/util.c:801:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(5)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def939]
criu-4.2/criu/util.c:840:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(dirfd)’
criu-4.2/criu/util.c:833:16: acquire_memory: allocated here
criu-4.2/criu/util.c:834:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:834:12: branch_false: ...to here
criu-4.2/criu/util.c:840:22: throw: if ‘readdir’ throws an exception...
criu-4.2/criu/util.c:840:22: danger: ‘fdopendir(dirfd)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def940]
criu-4.2/criu/util.c:898:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.2/criu/util.c:895:13: acquire_memory: allocated here
criu-4.2/criu/util.c:895:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.2/criu/util.c:897:36: branch_false: ...to here
criu-4.2/criu/util.c:898:17: throw: if ‘vma_entry__init’ throws an exception...
criu-4.2/criu/util.c:898:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def941]
criu-4.2/criu/util.c:1244:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/util.c:1213:5: enter_function: entry to ‘setup_tcp_server’
criu-4.2/criu/util.c:1220:13: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_server’
criu-4.2/criu/util.c:1220:13: return_function: returning to ‘setup_tcp_server’ from ‘get_sockaddr_in’
criu-4.2/criu/util.c:1220:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1224:9: branch_false: ...to here
criu-4.2/criu/util.c:1226:14: acquire_resource: stream socket created here
criu-4.2/criu/util.c:1228:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/util.c:1233:13: branch_false: ...to here
criu-4.2/criu/util.c:1233:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1238:13: branch_false: ...to here
criu-4.2/criu/util.c:1238:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1243:13: branch_false: ...to here
criu-4.2/criu/util.c:1243:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1244:17: branch_true: ...to here
criu-4.2/criu/util.c:1244:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/util.c:1244:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def942]
criu-4.2/criu/util.c:1266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/util.c:1213:5: enter_function: entry to ‘setup_tcp_server’
criu-4.2/criu/util.c:1220:13: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_server’
criu-4.2/criu/util.c:1220:13: return_function: returning to ‘setup_tcp_server’ from ‘get_sockaddr_in’
criu-4.2/criu/util.c:1220:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1224:9: branch_false: ...to here
criu-4.2/criu/util.c:1226:14: acquire_resource: stream socket created here
criu-4.2/criu/util.c:1228:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/util.c:1233:13: branch_false: ...to here
criu-4.2/criu/util.c:1233:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1238:13: branch_false: ...to here
criu-4.2/criu/util.c:1238:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1243:13: branch_false: ...to here
criu-4.2/criu/util.c:1243:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1244:17: branch_true: ...to here
criu-4.2/criu/util.c:1266:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1266:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def943]
criu-4.2/criu/util.c:1371:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.2/criu/util.c:1324:5: enter_function: entry to ‘setup_tcp_client’
criu-4.2/criu/util.c:1341:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1350:14: branch_false: ...to here
criu-4.2/criu/util.c:1350:29: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.2/criu/util.c:1351:21: branch_true: ...to here
criu-4.2/criu/util.c:1351:20: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1352:45: branch_true: ...to here
criu-4.2/criu/util.c:1362:21: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_client’
criu-4.2/criu/util.c:1362:21: return_function: returning to ‘setup_tcp_client’ from ‘get_sockaddr_in’
criu-4.2/criu/util.c:1362:20: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1365:29: branch_false: ...to here
criu-4.2/criu/util.c:1365:22: acquire_resource: stream socket created here
criu-4.2/criu/util.c:1366:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.2/criu/util.c:1371:21: branch_false: ...to here
criu-4.2/criu/util.c:1371:21: throw: if ‘connect’ throws an exception...
criu-4.2/criu/util.c:1371:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def944]
criu-4.2/criu/util.c:1955:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:2015:9: branch_false: ...to here
criu-4.2/criu/util.c:2023:16: call_function: calling ‘wait_for_pid’ from ‘run_command’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def945]
criu-4.2/criu/util.c:1987:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1987:17: branch_true: ...to here
criu-4.2/criu/util.c:1987:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1987:17: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def946]
criu-4.2/criu/util.c:1987:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1987:17: branch_true: ...to here
criu-4.2/criu/util.c:1987:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1987:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def947]
criu-4.2/criu/util.c:1988:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1987:17: branch_true: ...to here
criu-4.2/criu/util.c:1988:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1988:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def948]
criu-4.2/criu/util.c:1994:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1994:17: branch_true: ...to here
criu-4.2/criu/util.c:1994:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1994:17: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def949]
criu-4.2/criu/util.c:1994:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1994:17: branch_true: ...to here
criu-4.2/criu/util.c:1994:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:1994:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def950]
criu-4.2/criu/util.c:2004:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1994:17: branch_true: ...to here
criu-4.2/criu/util.c:2000:20: branch_false: following ‘false’ branch (when ‘ret < 0’)...
criu-4.2/criu/util.c:2004:17: branch_false: ...to here
criu-4.2/criu/util.c:2004:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:2004:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def951]
criu-4.2/criu/util.c:2004:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1994:17: branch_true: ...to here
criu-4.2/criu/util.c:1999:23: acquire_resource: opened here
criu-4.2/criu/util.c:2000:20: branch_true: following ‘true’ branch (when ‘ret >= 0’)...
criu-4.2/criu/util.c:2001:31: branch_true: ...to here
criu-4.2/criu/util.c:2004:17: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:2004:17: danger: ‘ret’ leaks here; was opened at [(16)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def952]
criu-4.2/criu/util.c:2010:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_true: following ‘true’ branch...
criu-4.2/criu/util.c:1994:17: branch_true: ...to here
criu-4.2/criu/util.c:1999:23: acquire_resource: opened here
criu-4.2/criu/util.c:2000:20: branch_true: following ‘true’ branch (when ‘ret >= 0’)...
criu-4.2/criu/util.c:2001:31: branch_true: ...to here
criu-4.2/criu/util.c:2006:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/criu/util.c:2010:17: branch_false: ...to here
criu-4.2/criu/util.c:2010:17: throw: if the called function throws an exception...
criu-4.2/criu/util.c:2010:17: danger: ‘ret’ leaks here; was opened at [(16)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def953]
criu-4.2/criu/util.c:2015:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:2015:9: branch_false: ...to here
criu-4.2/criu/util.c:2015:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:2015:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def954]
criu-4.2/criu/util.c:2015:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:2015:9: branch_false: ...to here
criu-4.2/criu/util.c:2015:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:2015:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def955]
criu-4.2/criu/util.c:2026:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.2/criu/util.c:1972:5: enter_function: entry to ‘run_command’
criu-4.2/criu/util.c:1982:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1985:17: branch_false: ...to here
criu-4.2/criu/util.c:1985:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.2/criu/util.c:1985:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.2/criu/util.c:1986:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:1992:12: branch_false: ...to here
criu-4.2/criu/util.c:1992:12: branch_false: following ‘false’ branch...
criu-4.2/criu/util.c:2015:9: branch_false: ...to here
criu-4.2/criu/util.c:2026:9: throw: if ‘close’ throws an exception...
criu-4.2/criu/util.c:2026:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def956]
criu-4.2/criu/vdso.c:158:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/vdso.c:132:12: branch_false: following ‘false’ branch (when ‘rt_vdso_marked’ is non-NULL)...
criu-4.2/criu/vdso.c:139:9: branch_false: ...to here
criu-4.2/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.2/criu/vdso.c:148:21: branch_true: ...to here
criu-4.2/criu/vdso.c:158:25: branch_false: following ‘false’ branch (when ‘rt_vvar_marked’ is NULL)...
criu-4.2/criu/vdso.c:159:29: branch_false: ...to here
criu-4.2/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.2/criu/vdso.c:148:21: branch_true: ...to here
criu-4.2/criu/vdso.c:157:27: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:157:28: branch_true: ...to here
criu-4.2/criu/vdso.c:158:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def957]
criu-4.2/criu/vdso.c:275:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/vdso.c:270:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:273:18: branch_false: ...to here
criu-4.2/criu/vdso.c:274:12: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:275:17: branch_true: ...to here
criu-4.2/criu/vdso.c:275:17: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:275:17: branch_true: ...to here
criu-4.2/criu/vdso.c:275:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def958]
criu-4.2/criu/vdso.c:310:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:431:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:470:13: branch_false: ...to here
criu-4.2/criu/vdso.c:470:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def959]
criu-4.2/criu/vdso.c:314:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:431:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:470:13: branch_false: ...to here
criu-4.2/criu/vdso.c:470:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def960]
criu-4.2/criu/vdso.c:321:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:431:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:470:13: branch_false: ...to here
criu-4.2/criu/vdso.c:470:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def961]
criu-4.2/criu/vdso.c:343:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:431:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:470:13: branch_false: ...to here
criu-4.2/criu/vdso.c:470:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def962]
criu-4.2/criu/vdso.c:377:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:431:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:470:13: branch_false: ...to here
criu-4.2/criu/vdso.c:470:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def963]
criu-4.2/criu/vdso.c:444:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/vdso.c:444:21: branch_true: ...to here
criu-4.2/criu/vdso.c:444:21: throw: if ‘close’ throws an exception...
criu-4.2/criu/vdso.c:444:21: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def964]
criu-4.2/criu/vdso.c:444:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/vdso.c:444:21: branch_true: ...to here
criu-4.2/criu/vdso.c:444:21: throw: if ‘close’ throws an exception...
criu-4.2/criu/vdso.c:444:21: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def965]
criu-4.2/criu/vdso.c:445:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/vdso.c:444:21: branch_true: ...to here
criu-4.2/criu/vdso.c:444:20: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:445:25: branch_true: ...to here
criu-4.2/criu/vdso.c:445:25: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/vdso.c:445:25: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def966]
criu-4.2/criu/vdso.c:449:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/vdso.c:444:21: branch_true: ...to here
criu-4.2/criu/vdso.c:449:17: throw: if ‘log_get_fd’ throws an exception...
criu-4.2/criu/vdso.c:449:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def967]
criu-4.2/criu/vdso.c:451:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.2/criu/vdso.c:444:21: branch_true: ...to here
criu-4.2/criu/vdso.c:451:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def968]
criu-4.2/criu/vdso.c:454:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:13: throw: if ‘close’ throws an exception...
criu-4.2/criu/vdso.c:454:13: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def969]
criu-4.2/criu/vdso.c:454:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:13: throw: if ‘close’ throws an exception...
criu-4.2/criu/vdso.c:454:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def970]
criu-4.2/criu/vdso.c:455:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:455:17: branch_true: ...to here
criu-4.2/criu/vdso.c:455:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/vdso.c:455:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def971]
criu-4.2/criu/vdso.c:458:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:458:9: throw: if ‘waitpid’ throws an exception...
criu-4.2/criu/vdso.c:458:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def972]
criu-4.2/criu/vdso.c:461:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:461:17: branch_true: ...to here
criu-4.2/criu/vdso.c:461:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/vdso.c:461:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def973]
criu-4.2/criu/vdso.c:466:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:458:9: branch_false: ...to here
criu-4.2/criu/vdso.c:460:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:465:14: branch_false: ...to here
criu-4.2/criu/vdso.c:465:12: branch_true: following ‘true’ branch...
criu-4.2/criu/vdso.c:466:17: branch_true: ...to here
criu-4.2/criu/vdso.c:466:17: throw: if ‘print_on_level’ throws an exception...
criu-4.2/criu/vdso.c:466:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def974]
criu-4.2/criu/vdso.c:497:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/vdso.c:437:12: branch_false: following ‘false’ branch...
criu-4.2/criu/vdso.c:442:15: branch_false: ...to here
criu-4.2/criu/vdso.c:443:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.2/criu/vdso.c:454:13: branch_false: ...to here
criu-4.2/criu/vdso.c:497:13: throw: if ‘close’ throws an exception...
criu-4.2/criu/vdso.c:497:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def975]
criu-4.2/include/common/err.h:31:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.2/criu/proc_parse.c:823:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:826:13: branch_false: ...to here
criu-4.2/criu/proc_parse.c:826:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:829:25: branch_false: ...to here
criu-4.2/criu/proc_parse.c:829:25: acquire_memory: allocated here
criu-4.2/criu/proc_parse.c:829:25: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:830:12: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:830:12: branch_false: ...to here
criu-4.2/criu/proc_parse.c:839:20: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:843:20: branch_false: ...to here
criu-4.2/criu/proc_parse.c:843:20: branch_true: following ‘true’ branch...
criu-4.2/criu/proc_parse.c:843:30: branch_true: ...to here
criu-4.2/criu/proc_parse.c:843:21: branch_false: following ‘false’ branch...
criu-4.2/criu/proc_parse.c:844:30: branch_false: ...to here
criu-4.2/criu/proc_parse.c:839:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_smaps’
Error: CPPCHECK_WARNING (CWE-476): [#def976]
criu-4.2/include/common/lock.h:82: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def977]
criu-4.2/include/common/lock.h:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/compel/plugins/std/infect.c:151:38: enter_function: entry to ‘parasite_init_daemon’
criu-4.2/compel/plugins/std/infect.c:163:12: branch_false: following ‘false’ branch...
criu-4.2/compel/plugins/std/infect.c:168:68: branch_false: ...to here
criu-4.2/compel/plugins/std/infect.c:169:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/compel/plugins/std/infect.c:174:9: branch_false: ...to here
criu-4.2/compel/plugins/std/infect.c:174:9: call_function: calling ‘futex_set_and_wake’ from ‘parasite_init_daemon’
Error: CPPCHECK_WARNING (CWE-476): [#def978]
criu-4.2/include/common/lock.h:88: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def979]
criu-4.2/include/common/lock.h:88:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:88:9: branch_true: following ‘true’ branch...
criu-4.2/include/common/lock.h:88:9: branch_true: ...to here
criu-4.2/include/common/lock.h:88:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def980]
criu-4.2/include/common/lock.h:102: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def981]
criu-4.2/include/common/lock.h:102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:102:9: branch_true: following ‘true’ branch...
criu-4.2/include/common/lock.h:102:9: branch_true: ...to here
criu-4.2/include/common/lock.h:102:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def982]
criu-4.2/include/common/lock.h:109: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
criu-4.2/include/common/lock.h:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:109:9: branch_true: following ‘true’ branch...
criu-4.2/include/common/lock.h:109:9: branch_true: ...to here
criu-4.2/include/common/lock.h:109:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def984]
criu-4.2/include/common/lock.h:141: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def985]
criu-4.2/include/common/lock.h:141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:139:16: branch_true: following ‘true’ branch...
criu-4.2/include/common/lock.h:140:49: branch_true: ...to here
criu-4.2/include/common/lock.h:141:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def986]
criu-4.2/include/common/lock.h:162: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def987]
criu-4.2/include/common/lock.h:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:160:16: branch_true: following ‘true’ branch (when ‘c != 1’)...
criu-4.2/include/common/lock.h:161:45: branch_true: ...to here
criu-4.2/include/common/lock.h:162:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def988]
criu-4.2/include/common/lock.h:175: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def989]
criu-4.2/include/common/lock.h:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/lock.h:175:9: branch_true: following ‘true’ branch...
criu-4.2/include/common/lock.h:175:9: branch_true: ...to here
criu-4.2/include/common/lock.h:175:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def990]
criu-4.2/include/common/scm-code.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def991]
criu-4.2/include/common/scm-code.c:106:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.2/include/common/scm-code.c:82:21: branch_true: following ‘true’ branch (when ‘i < nr_fds’)...
criu-4.2/include/common/scm-code.c:83:26: branch_true: ...to here
criu-4.2/include/common/scm-code.c:87:20: branch_false: following ‘false’ branch (when ‘ret > 0’)...
criu-4.2/include/common/scm-code.c:90:24: branch_false: ...to here
criu-4.2/include/common/scm-code.c:90:24: branch_true: following ‘true’ branch...
criu-4.2/include/common/scm-code.c:90:17: branch_true: ...to here
criu-4.2/include/common/scm-code.c:91:20: branch_false: following ‘false’ branch...
criu-4.2/include/common/scm-code.c:93:20: branch_false: following ‘false’ branch...
criu-4.2/include/common/scm-code.c:96:27: branch_false: ...to here
criu-4.2/include/common/scm-code.c:106:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def992]
criu-4.2/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.2/criu/img-streamer.c:169:12: enter_function: entry to ‘establish_streamer_file_pipe’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:13: call_function: inlined call to ‘send_fd’ from ‘establish_streamer_file_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def993]
criu-4.2/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.2/criu/img-streamer.c:169:12: enter_function: entry to ‘establish_streamer_file_pipe’
criu-4.2/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.2/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.2/criu/img-streamer.c:186:13: call_function: inlined call to ‘send_fd’ from ‘establish_streamer_file_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
criu-4.2/lib/c/criu.c:467:9: warning[-Wanalyzer-malloc-leak]: leak of ‘u’
criu-4.2/lib/c/criu.c:456:13: branch_false: following ‘false’ branch...
criu-4.2/lib/c/criu.c:464:13: branch_false: ...to here
criu-4.2/lib/c/criu.c:464:13: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:465:12: branch_false: following ‘false’ branch (when ‘u’ is non-NULL)...
criu-4.2/lib/c/criu.c:467:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:467:9: throw: if ‘unix_sk__init’ throws an exception...
criu-4.2/lib/c/criu.c:467:9: danger: ‘u’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
criu-4.2/lib/c/criu.c:798:9: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
criu-4.2/lib/c/criu.c:795:13: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:796:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
criu-4.2/lib/c/criu.c:798:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:798:9: throw: if ‘ext_mount_map__init’ throws an exception...
criu-4.2/lib/c/criu.c:798:9: danger: ‘m’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
criu-4.2/lib/c/criu.c:840:9: warning[-Wanalyzer-malloc-leak]: leak of ‘root’
criu-4.2/lib/c/criu.c:837:16: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:838:12: branch_false: following ‘false’ branch (when ‘root’ is non-NULL)...
criu-4.2/lib/c/criu.c:840:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:840:9: throw: if ‘cgroup_root__init’ throws an exception...
criu-4.2/lib/c/criu.c:840:9: danger: ‘root’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
criu-4.2/lib/c/criu.c:886:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
criu-4.2/lib/c/criu.c:883:13: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:884:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
criu-4.2/lib/c/criu.c:886:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:886:9: throw: if ‘criu_veth_pair__init’ throws an exception...
criu-4.2/lib/c/criu.c:886:9: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def998]
criu-4.2/lib/c/criu.c:1111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
criu-4.2/lib/c/criu.c:1105:12: branch_false: following ‘false’ branch...
criu-4.2/lib/c/criu.c:1108:13: branch_false: ...to here
criu-4.2/lib/c/criu.c:1108:13: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1109:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.2/lib/c/criu.c:1111:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1111:9: throw: if ‘inherit_fd__init’ throws an exception...
criu-4.2/lib/c/criu.c:1111:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
criu-4.2/lib/c/criu.c:1176:20: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(address)’
criu-4.2/lib/c/criu.c:1190:5: enter_function: entry to ‘criu_set_page_server_address_port’
criu-4.2/lib/c/criu.c:1192:16: call_function: calling ‘criu_local_set_page_server_address_port’ from ‘criu_set_page_server_address_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
criu-4.2/lib/c/criu.c:1242:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/lib/c/criu.c:1218:12: branch_false: following ‘false’ branch (when ‘len != -1’)...
criu-4.2/lib/c/criu.c:1229:22: branch_false: ...to here
criu-4.2/lib/c/criu.c:1229:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1230:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.2/lib/c/criu.c:1236:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1242:15: throw: if ‘recvmsg’ throws an exception...
criu-4.2/lib/c/criu.c:1242:15: 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): [#def1001]
criu-4.2/lib/c/criu.c:1302:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/lib/c/criu.c:1295:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1296:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.2/lib/c/criu.c:1302:13: branch_false: ...to here
criu-4.2/lib/c/criu.c:1302:13: throw: if ‘criu_req__pack’ throws an exception...
criu-4.2/lib/c/criu.c:1302:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1002]
criu-4.2/lib/c/criu.c:1447:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/lib/c/criu.c:1434:14: acquire_resource: socket created here
criu-4.2/lib/c/criu.c:1435:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.2/lib/c/criu.c:1441:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1445:12: branch_true: following ‘true’ branch (when ‘addr_len > 107’)...
criu-4.2/lib/c/criu.c:1446:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1447:17: throw: if ‘close’ throws an exception...
criu-4.2/lib/c/criu.c:1447:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1003]
criu-4.2/lib/c/criu.c:1454:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.2/lib/c/criu.c:1434:14: acquire_resource: socket created here
criu-4.2/lib/c/criu.c:1435:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.2/lib/c/criu.c:1441:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1445:12: branch_false: following ‘false’ branch (when ‘addr_len <= 107’)...
criu-4.2/lib/c/criu.c:1450:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1454:15: throw: if ‘connect’ throws an exception...
criu-4.2/lib/c/criu.c:1454:15: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
criu-4.2/lib/c/criu.c:1907:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_true: following ‘true’ branch (when ‘_ns_file’ is NULL)...
criu-4.2/lib/c/criu.c:1907:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1907:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1907:17: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
criu-4.2/lib/c/criu.c:1914:25: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.2/lib/c/criu.c:1913:20: branch_true: following ‘true’ branch (when ‘_extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1914:25: branch_true: ...to here
criu-4.2/lib/c/criu.c:1914:25: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1914:25: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
criu-4.2/lib/c/criu.c:1914:25: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.2/lib/c/criu.c:1913:20: branch_true: following ‘true’ branch (when ‘_extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1914:25: branch_true: ...to here
criu-4.2/lib/c/criu.c:1914:25: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1914:25: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
criu-4.2/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.2/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.2/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1921:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1921:17: danger: ‘_extra_opt’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
criu-4.2/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.2/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1921:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1921:17: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1009]
criu-4.2/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.2/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1921:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1921:17: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1010]
criu-4.2/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.2/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.2/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1928:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1928:17: danger: ‘_extra_opt’ leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1011]
criu-4.2/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.2/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1928:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1928:17: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1012]
criu-4.2/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.2/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1928:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1928:17: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1013]
criu-4.2/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1919:19: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.2/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.2/lib/c/criu.c:1928:17: throw: if ‘perror’ throws an exception...
criu-4.2/lib/c/criu.c:1928:17: danger: ‘join_ns’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1014]
criu-4.2/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.2/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.2/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1932:9: throw: if ‘join_namespace__init’ throws an exception...
criu-4.2/lib/c/criu.c:1932:9: danger: ‘_extra_opt’ leaks here; was allocated at [(11)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1015]
criu-4.2/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.2/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1932:9: throw: if ‘join_namespace__init’ throws an exception...
criu-4.2/lib/c/criu.c:1932:9: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
criu-4.2/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.2/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1932:9: throw: if ‘join_namespace__init’ throws an exception...
criu-4.2/lib/c/criu.c:1932:9: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
criu-4.2/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns_arr’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.2/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1932:9: throw: if ‘join_namespace__init’ throws an exception...
criu-4.2/lib/c/criu.c:1932:9: danger: ‘join_ns_arr’ leaks here; was allocated at [(13)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1018]
criu-4.2/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns’
criu-4.2/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.2/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.2/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.2/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.2/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.2/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.2/lib/c/criu.c:1919:19: acquire_memory: allocated here
criu-4.2/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.2/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.2/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.2/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.2/lib/c/criu.c:1932:9: throw: if ‘join_namespace__init’ throws an exception...
criu-4.2/lib/c/criu.c:1932:9: danger: ‘join_ns’ leaks here; was allocated at [(11)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING: [#def1019] [important]
criu-4.2/plugins/cuda/cuda_plugin.c:1:10: error[fatal error]: criu-log.h: No such file or directory
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1020]
criu-4.2/soccr/soccr.c:94:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
criu-4.2/soccr/soccr.c:124:21: enter_function: entry to ‘libsoccr_pause’
criu-4.2/soccr/soccr.c:128:15: acquire_memory: allocated here
criu-4.2/soccr/soccr.c:129:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
criu-4.2/soccr/soccr.c:134:13: branch_false: ...to here
criu-4.2/soccr/soccr.c:134:13: call_function: calling ‘tcp_repair_on’ from ‘libsoccr_pause’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1021]
criu-4.2/soccr/soccr.c:356:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.2/soccr/soccr.c:337:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/soccr/soccr.c:340:9: branch_false: ...to here
criu-4.2/soccr/soccr.c:342:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.2/soccr/soccr.c:345:12: branch_false: ...to here
criu-4.2/soccr/soccr.c:345:12: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.2/soccr/soccr.c:350:30: branch_true: ...to here
criu-4.2/soccr/soccr.c:350:23: acquire_memory: allocated here
criu-4.2/soccr/soccr.c:351:20: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.2/soccr/soccr.c:356:23: branch_false: ...to here
criu-4.2/soccr/soccr.c:356:23: throw: if ‘recv’ throws an exception...
criu-4.2/soccr/soccr.c:356:23: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
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-134.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 | criu-4.2-11.fc44 |
| store-results-to | /tmp/tmpwiv_zemz/criu-4.2-11.fc44.tar.xz |
| time-created | 2026-01-08 15:53:33 |
| time-finished | 2026-01-08 15:57:08 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpwiv_zemz/criu-4.2-11.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpwiv_zemz/criu-4.2-11.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |