criu-4.1.1-4.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-476): [#def1]
criu-4.1.1/compel/plugins/std/infect.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-404): [#def2]
criu-4.1.1/compel/plugins/std/string.c:14:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/compel/plugins/std/string.c:115:6: enter_function: entry to ‘std_dprintf’
criu-4.1.1/compel/plugins/std/string.c:119:9: acquire_resource: ‘va_start’ called here
criu-4.1.1/compel/plugins/std/string.c:120:9: call_function: calling ‘std_vdprintf’ from ‘std_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
criu-4.1.1/compel/src/lib/handle-elf-host.c:48:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:102:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:174:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:175:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:184:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:207:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:199:28: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:200:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:201:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:203:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:206:20: branch_true: following ‘true’ branch...
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:214:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_true: following ‘true’ branch (when ‘symtab_hdr’ is NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:214:17: branch_true: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:219:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:223:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:224:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:234:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:234:17: branch_true: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:253:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:241:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:242:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:246:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:247:36: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:248:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:250:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:253:17: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:283:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:294:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:320:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:337:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:347:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:361:25: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:371:41: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:559:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:565:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:571:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:579:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:589:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:640:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:284:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:285:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:288:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:291:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:292:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:294:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:297:29: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:308:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:309:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:311:40: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:312:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:314:44: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:315:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:317:39: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:318:25: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:320:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:325:28: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:340:35: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:351:29: branch_false: ...to here
criu-4.1.1/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.1.1/compel/src/lib/handle-elf-host.c:660:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sec_hdrs’
criu-4.1.1/compel/src/lib/handle-elf-host.c:135:5: enter_function: entry to ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:158:14: call_function: inlined call to ‘is_header_supported’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:47: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:163:20: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/handle-elf-host.c:164:12: branch_false: following ‘false’ branch (when ‘sec_hdrs’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: call_function: calling ‘get_strings_section’ from ‘handle_elf_x86_64’
criu-4.1.1/compel/src/lib/handle-elf-host.c:170:22: return_function: returning to ‘handle_elf_x86_64’ from ‘get_strings_section’
criu-4.1.1/compel/src/lib/handle-elf-host.c:171:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:174:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:177:38: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:178:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:180:21: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:183:17: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:184:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:176:21: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:213:12: branch_false: following ‘false’ branch (when ‘symtab_hdr’ is non-NULL)...
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:218:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:226:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:228:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:229:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:230:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:231:9: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:33: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:238:9: branch_false: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:651:28: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/handle-elf-host.c:652:40: branch_true: ...to here
criu-4.1.1/compel/src/lib/handle-elf-host.c:656:20: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/compel/src/lib/infect.c:430: error[nullPointer]: Null pointer dereference: (struct sockaddr_un*)0
Error: CPPCHECK_WARNING (CWE-476): [#def33]
criu-4.1.1/compel/src/lib/infect.c:710: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def34]
criu-4.1.1/compel/src/lib/infect.c:931: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
criu-4.1.1/compel/src/lib/infect.c:931:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/compel/src/lib/infect.c:911:28: branch_true: following ‘true’ branch (when ‘i < nr_relocs’)...
criu-4.1.1/compel/src/lib/infect.c:912:31: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:912:20: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:927:28: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:927:27: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:931:25: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:931:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
criu-4.1.1/compel/src/lib/infect.c:1202:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&aux, "r")’
criu-4.1.1/compel/src/lib/infect.c:1190:13: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1202:21: danger: ‘fopen(&aux, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
criu-4.1.1/compel/src/lib/infect.c:1202:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&aux, "r")’
criu-4.1.1/compel/src/lib/infect.c:1190:13: acquire_memory: allocated here
criu-4.1.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1202:21: danger: ‘fopen(&aux, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def38]
criu-4.1.1/compel/src/lib/infect.c:1203: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
criu-4.1.1/compel/src/lib/infect.c:1203:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1203:25: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1203:25: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1203:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
criu-4.1.1/compel/src/lib/infect.c:1232:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&p, 0)’
criu-4.1.1/compel/src/lib/infect.c:1226:14: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1232:15: 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): [#def41]
criu-4.1.1/compel/src/lib/infect.c:1234:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&p, 0)’
criu-4.1.1/compel/src/lib/infect.c:1226:14: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1234:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1234:17: danger: ‘open(&p, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
criu-4.1.1/compel/src/lib/infect.c:1239:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/ns/net", 0)’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1232:15: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1239:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1239: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.1.1/compel/src/lib/infect.c:1245:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/ns/net", 0)’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1232:15: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1243:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1244:12: branch_true: following ‘true’ branch (when ‘sk < 0’)...
criu-4.1.1/compel/src/lib/infect.c:1245:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1245:17: danger: ‘open("/proc/self/ns/net", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
criu-4.1.1/compel/src/lib/infect.c:1249:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1243:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1243:14: acquire_resource: socket created here
criu-4.1.1/compel/src/lib/infect.c:1244:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/compel/src/lib/infect.c:1247:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1248:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.1.1/compel/src/lib/infect.c:1249:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1249:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
criu-4.1.1/compel/src/lib/infect.c:1251:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1243:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1243:14: acquire_resource: socket created here
criu-4.1.1/compel/src/lib/infect.c:1244:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/compel/src/lib/infect.c:1247:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1248:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.1.1/compel/src/lib/infect.c:1249:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1250:20: branch_true: following ‘true’ branch (when ‘sk >= 0’)...
criu-4.1.1/compel/src/lib/infect.c:1251:25: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1251:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
criu-4.1.1/compel/src/lib/infect.c:1255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/ns/net", 0)’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1232:15: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1239:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1255:9: danger: ‘open("/proc/self/ns/net", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
criu-4.1.1/compel/src/lib/infect.c:1255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1243:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1243:14: acquire_resource: socket created here
criu-4.1.1/compel/src/lib/infect.c:1244:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/compel/src/lib/infect.c:1247:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1248:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.1.1/compel/src/lib/infect.c:1254:1: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1255:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
criu-4.1.1/compel/src/lib/infect.c:1257:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&p, 0)’
criu-4.1.1/compel/src/lib/infect.c:1226:14: acquire_resource: opened here
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1234:17: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1257:9: danger: ‘open(&p, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
criu-4.1.1/compel/src/lib/infect.c:1257:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/compel/src/lib/infect.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1232:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1233:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1238:13: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1238:12: branch_false: following ‘false’ branch...
criu-4.1.1/compel/src/lib/infect.c:1243:14: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1243:14: acquire_resource: socket created here
criu-4.1.1/compel/src/lib/infect.c:1244:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/compel/src/lib/infect.c:1247:15: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1248:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.1.1/compel/src/lib/infect.c:1254:1: branch_false: ...to here
criu-4.1.1/compel/src/lib/infect.c:1257:9: danger: ‘sk’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def50]
criu-4.1.1/compel/src/lib/infect.c:1529: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
criu-4.1.1/compel/src/lib/infect.c:1529:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/compel/src/lib/infect.c:1529:9: branch_true: following ‘true’ branch...
criu-4.1.1/compel/src/lib/infect.c:1529:9: branch_true: ...to here
criu-4.1.1/compel/src/lib/infect.c:1529:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def52]
criu-4.1.1/compel/src/lib/log-host.c:32:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/compel/src/lib/log-host.c:25:6: enter_function: entry to ‘compel_print_on_level’
criu-4.1.1/compel/src/lib/log-host.c:30:12: branch_true: following ‘true’ branch (when ‘fn’ is non-NULL)...
criu-4.1.1/compel/src/lib/log-host.c:30:28: call_function: inlined call to ‘pr_quelled’ from ‘compel_print_on_level’
criu-4.1.1/compel/src/lib/log-host.c:31:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/log-host.c:31:17: acquire_resource: ‘va_start’ called here
criu-4.1.1/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): [#def53]
criu-4.1.1/compel/src/lib/log.c:32:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/compel/src/lib/log.c:25:6: enter_function: entry to ‘compel_print_on_level’
criu-4.1.1/compel/src/lib/log.c:30:12: branch_true: following ‘true’ branch (when ‘fn’ is non-NULL)...
criu-4.1.1/compel/src/lib/log.c:30:28: call_function: inlined call to ‘pr_quelled’ from ‘compel_print_on_level’
criu-4.1.1/compel/src/lib/log.c:31:17: branch_false: ...to here
criu-4.1.1/compel/src/lib/log.c:31:17: acquire_resource: ‘va_start’ called here
criu-4.1.1/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): [#def54]
criu-4.1.1/compel/src/main-host.c:280:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
criu-4.1.1/compel/src/main-host.c:253:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.1.1/compel/src/main-host.c:258:18: branch_false: ...to here
criu-4.1.1/compel/src/main-host.c:267:12: branch_true: following ‘true’ branch (when ‘p1’ is NULL)...
branch_true: ...to here
criu-4.1.1/compel/src/main-host.c:269:12: branch_true: following ‘true’ branch (when ‘p2’ is NULL)...
criu-4.1.1/compel/src/main-host.c:270:17: branch_true: ...to here
criu-4.1.1/compel/src/main-host.c:273:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.1.1/compel/src/main-host.c:276:15: branch_false: ...to here
criu-4.1.1/compel/src/main-host.c:276:15: acquire_memory: this call could return NULL
criu-4.1.1/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): [#def55]
criu-4.1.1/criu/action-scripts.c:152:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
criu-4.1.1/criu/action-scripts.c:173:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/action-scripts.c:169:18: acquire_memory: allocated here
criu-4.1.1/criu/action-scripts.c:169:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/action-scripts.c:173:24: branch_false: ...to here
criu-4.1.1/criu/action-scripts.c:173:24: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/action-scripts.c:173:24: branch_true: ...to here
criu-4.1.1/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): [#def57]
criu-4.1.1/criu/action-scripts.c:195:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/action-scripts.c:187:14: acquire_resource: opened here
criu-4.1.1/criu/action-scripts.c:188:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1.1/criu/action-scripts.c:193:9: branch_false: ...to here
criu-4.1.1/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): [#def58]
criu-4.1.1/criu/aio.c:31:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/aio.c:23:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/aio.c:23:9: branch_false: ...to here
criu-4.1.1/criu/aio.c:24:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/aio.c:27:14: branch_false: ...to here
criu-4.1.1/criu/aio.c:27:14: acquire_memory: allocated here
criu-4.1.1/criu/aio.c:27:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/aio.c:31:9: branch_false: ...to here
criu-4.1.1/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): [#def59]
criu-4.1.1/criu/apparmor.c:572:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
criu-4.1.1/criu/apparmor.c:623:5: enter_function: entry to ‘suspend_aa’
criu-4.1.1/criu/apparmor.c:626:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/apparmor.c:631:15: branch_false: ...to here
criu-4.1.1/criu/apparmor.c:631:15: call_function: calling ‘do_suspend’ from ‘suspend_aa’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
criu-4.1.1/criu/apparmor.c:580:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
criu-4.1.1/criu/apparmor.c:638:5: enter_function: entry to ‘unsuspend_aa’
criu-4.1.1/criu/apparmor.c:640:16: call_function: calling ‘do_suspend’ from ‘unsuspend_aa’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
criu-4.1.1/criu/apparmor.c:582:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
criu-4.1.1/criu/apparmor.c:638:5: enter_function: entry to ‘unsuspend_aa’
criu-4.1.1/criu/apparmor.c:640:16: call_function: calling ‘do_suspend’ from ‘unsuspend_aa’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
criu-4.1.1/criu/apparmor.c:654:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/apparmor.c:648:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/apparmor.c:651:14: branch_false: ...to here
criu-4.1.1/criu/apparmor.c:651:14: acquire_memory: allocated here
criu-4.1.1/criu/apparmor.c:651:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/apparmor.c:654:9: branch_false: ...to here
criu-4.1.1/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): [#def63]
criu-4.1.1/criu/arch/x86/cpu.c:245:21: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.1.1/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:410:13: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:410:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:413:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:413:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:420:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:421:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:427:20: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:427:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:427:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:428:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:429:23: branch_true: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:429:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
criu-4.1.1/criu/arch/x86/cpu.c:245:60: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.1.1/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:410:13: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:410:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:413:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:413:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:420:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:421:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:427:20: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:427:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:427:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:428:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:429:23: branch_true: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:429:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
criu-4.1.1/criu/arch/x86/cpu.c:246:21: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.1.1/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:410:13: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:410:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:413:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:413:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:420:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:421:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:427:20: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:427:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:427:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:428:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:429:23: branch_true: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:429:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
criu-4.1.1/criu/arch/x86/cpu.c:246:64: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.1.1/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:410:13: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:410:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:413:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:413:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:420:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:421:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:427:20: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:427:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:427:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:428:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:429:23: branch_true: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:429:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
criu-4.1.1/criu/arch/x86/cpu.c:247:25: warning[-Wanalyzer-malloc-leak]: leak of ‘img_to_cpuinfo(img_x86_entry)’
criu-4.1.1/criu/arch/x86/cpu.c:398:5: enter_function: entry to ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:407:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:410:13: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:410:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:413:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:413:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:420:25: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:421:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:427:20: branch_false: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:427:20: call_function: calling ‘img_to_cpuinfo’ from ‘cpu_validate_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:427:20: return_function: returning to ‘cpu_validate_cpuinfo’ from ‘img_to_cpuinfo’
criu-4.1.1/criu/arch/x86/cpu.c:428:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/cpu.c:429:23: branch_true: ...to here
criu-4.1.1/criu/arch/x86/cpu.c:429:23: call_function: calling ‘cpu_validate_features’ from ‘cpu_validate_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
criu-4.1.1/criu/arch/x86/crtools.c:107:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.1.1/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:107:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:107:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:107:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
criu-4.1.1/criu/arch/x86/crtools.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.1.1/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:107:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:108:9: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:108:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:108:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
criu-4.1.1/criu/arch/x86/crtools.c:512:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
criu-4.1.1/criu/arch/x86/crtools.c:513:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:513:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:513:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
criu-4.1.1/criu/arch/x86/crtools.c:514:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:514:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:514:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
criu-4.1.1/criu/arch/x86/crtools.c:515:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:515:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:515:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
criu-4.1.1/criu/arch/x86/crtools.c:516:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:516:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:516:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
criu-4.1.1/criu/arch/x86/crtools.c:517:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:517:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:517:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
criu-4.1.1/criu/arch/x86/crtools.c:518:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1.1/criu/arch/x86/crtools.c:518:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/arch/x86/crtools.c:518:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
criu-4.1.1/criu/arch/x86/shstk.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/shstk.c:108:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/shstk.c:108:9: branch_false: ...to here
criu-4.1.1/criu/arch/x86/shstk.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
criu-4.1.1/criu/arch/x86/shstk.c:151:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/arch/x86/shstk.c:145:13: enter_function: entry to ‘shstk_sync_unlock’
criu-4.1.1/criu/arch/x86/shstk.c:148:9: call_function: calling ‘futex_set_and_wake’ from ‘shstk_sync_unlock’
criu-4.1.1/criu/arch/x86/shstk.c:148:9: return_function: returning to ‘shstk_sync_unlock’ from ‘futex_set_and_wake’
criu-4.1.1/criu/arch/x86/shstk.c:151:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/arch/x86/shstk.c:151:9: branch_false: ...to here
criu-4.1.1/criu/arch/x86/shstk.c:151:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
criu-4.1.1/criu/autofs.c:170:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pgrp, 0, "fd"))’
criu-4.1.1/criu/autofs.c:164:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:164:15: branch_false: ...to here
criu-4.1.1/criu/autofs.c:164:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:164:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:168:9: branch_false: ...to here
criu-4.1.1/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): [#def80]
criu-4.1.1/criu/autofs.c:341:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/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): [#def81]
criu-4.1.1/criu/autofs.c:355:39: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:353:24: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
criu-4.1.1/criu/autofs.c:354:29: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:355:39: 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): [#def82]
criu-4.1.1/criu/autofs.c:355:39: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/autofs.c:342:12: branch_false: ...to here
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:353:24: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
criu-4.1.1/criu/autofs.c:354:29: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:355:39: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
criu-4.1.1/criu/autofs.c:364:47: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:358:47: branch_false: ...to here
criu-4.1.1/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:362:38: branch_true: ...to here
criu-4.1.1/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:364:47: branch_true: ...to here
criu-4.1.1/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): [#def84]
criu-4.1.1/criu/autofs.c:364:47: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/autofs.c:342:12: branch_false: ...to here
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:358:47: branch_false: ...to here
criu-4.1.1/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:362:38: branch_true: ...to here
criu-4.1.1/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:364:47: branch_true: ...to here
criu-4.1.1/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): [#def85]
criu-4.1.1/criu/autofs.c:366:41: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:358:47: branch_false: ...to here
criu-4.1.1/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:362:38: branch_true: ...to here
criu-4.1.1/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:364:47: branch_true: ...to here
criu-4.1.1/criu/autofs.c:365:36: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:366:41: branch_true: ...to here
criu-4.1.1/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): [#def86]
criu-4.1.1/criu/autofs.c:366:41: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/autofs.c:342:12: branch_false: ...to here
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:345:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:346:21: branch_true: ...to here
criu-4.1.1/criu/autofs.c:354:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:355:39: branch_true: ...to here
criu-4.1.1/criu/autofs.c:356:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:358:47: branch_false: ...to here
criu-4.1.1/criu/autofs.c:360:35: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:362:38: branch_true: ...to here
criu-4.1.1/criu/autofs.c:364:47: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:364:47: branch_true: ...to here
criu-4.1.1/criu/autofs.c:365:36: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:366:41: branch_true: ...to here
criu-4.1.1/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): [#def87]
criu-4.1.1/criu/autofs.c:374:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:336:15: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:374: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): [#def88]
criu-4.1.1/criu/autofs.c:374:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/autofs.c:336:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:341:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:341:13: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:341:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/autofs.c:342:12: branch_false: ...to here
criu-4.1.1/criu/autofs.c:342:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/autofs.c:374:9: danger: ‘__f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
criu-4.1.1/criu/autofs.c:556:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:553:17: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:553:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:556:9: branch_false: ...to here
criu-4.1.1/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): [#def90]
criu-4.1.1/criu/autofs.c:631:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
criu-4.1.1/criu/autofs.c:631:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
criu-4.1.1/criu/autofs.c:641:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
criu-4.1.1/criu/autofs.c:641:14: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:694:12: enter_function: entry to ‘autofs_mnt_open’
criu-4.1.1/criu/autofs.c:703:17: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:703:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:707:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:712:15: call_function: calling ‘autofs_dev_ioctl’ from ‘autofs_mnt_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
criu-4.1.1/criu/autofs.c:643:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
criu-4.1.1/criu/autofs.c:643:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
criu-4.1.1/criu/autofs.c:649:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
criu-4.1.1/criu/autofs.c:649:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
criu-4.1.1/criu/autofs.c:700:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
criu-4.1.1/criu/autofs.c:700:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
criu-4.1.1/criu/autofs.c:703:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
criu-4.1.1/criu/autofs.c:703:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
criu-4.1.1/criu/autofs.c:729:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
criu-4.1.1/criu/autofs.c:729:28: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
criu-4.1.1/criu/autofs.c:731:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
criu-4.1.1/criu/autofs.c:731:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
criu-4.1.1/criu/autofs.c:739:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
criu-4.1.1/criu/autofs.c:739:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
criu-4.1.1/criu/autofs.c:743:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
criu-4.1.1/criu/autofs.c:743:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def110]
criu-4.1.1/criu/autofs.c:757:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
criu-4.1.1/criu/autofs.c:757:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1058:15: call_function: calling ‘autofs_populate_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
criu-4.1.1/criu/autofs.c:764:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
criu-4.1.1/criu/autofs.c:764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1000:5: enter_function: entry to ‘autofs_mount’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:15: call_function: calling ‘autofs_post_mount’ from ‘autofs_mount’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
criu-4.1.1/criu/autofs.c:949:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/autofs.c:949:9: branch_true: following ‘true’ branch (when ‘master’ is NULL)...
criu-4.1.1/criu/autofs.c:949:9: branch_true: ...to here
criu-4.1.1/criu/autofs.c:949:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def115]
criu-4.1.1/criu/autofs.c:1022:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1022:16: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
criu-4.1.1/criu/autofs.c:1022:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[1]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1022:16: danger: ‘control_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
criu-4.1.1/criu/autofs.c:1025:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1025:24: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
criu-4.1.1/criu/autofs.c:1027:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1027:24: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
criu-4.1.1/criu/autofs.c:1029:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.1.1/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1029:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
criu-4.1.1/criu/autofs.c:1033:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1033:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
criu-4.1.1/criu/autofs.c:1035:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:27: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
criu-4.1.1/criu/autofs.c:1036:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1036:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1036:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def123]
criu-4.1.1/criu/autofs.c:1040:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/autofs.c:1040:16: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1040:16: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
criu-4.1.1/criu/autofs.c:1051:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:18: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
criu-4.1.1/criu/autofs.c:1051:18: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/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): [#def126]
criu-4.1.1/criu/autofs.c:1052:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1052:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1052:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
criu-4.1.1/criu/autofs.c:1052:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1052:17: branch_true: ...to here
criu-4.1.1/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): [#def128]
criu-4.1.1/criu/autofs.c:1063:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1063:33: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
criu-4.1.1/criu/autofs.c:1063:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1040:16: acquire_memory: allocated here
criu-4.1.1/criu/autofs.c:1040:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1051:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1055:25: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1059:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1063:74: branch_false: ...to here
criu-4.1.1/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): [#def130]
criu-4.1.1/criu/autofs.c:1079:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.1.1/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1079:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def131]
criu-4.1.1/criu/autofs.c:1080:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_true: following ‘true’ branch (when ‘opts’ is NULL)...
criu-4.1.1/criu/autofs.c:1029:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1080:9: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
criu-4.1.1/criu/autofs.c:1086:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1086:20: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
criu-4.1.1/criu/autofs.c:1087:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘control_pipe[0]’
criu-4.1.1/criu/autofs.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1011:13: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1011:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1017:18: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1024:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1024:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1026:12: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1026:26: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1028:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
criu-4.1.1/criu/autofs.c:1033:9: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1035:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/autofs.c:1040:16: branch_false: ...to here
criu-4.1.1/criu/autofs.c:1086:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/autofs.c:1087:17: branch_true: ...to here
criu-4.1.1/criu/autofs.c:1087:17: danger: ‘control_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
criu-4.1.1/criu/bfd.c:330:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/bfd.c:310:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/bfd.c:313:16: branch_true: following ‘true’ branch (when ‘more == 1’)...
criu-4.1.1/criu/bfd.c:316:17: branch_true: ...to here
criu-4.1.1/criu/bfd.c:330:25: branch_true: following ‘true’ branch (when ‘filled > size’)...
criu-4.1.1/criu/bfd.c:330:25: branch_true: ...to here
criu-4.1.1/criu/bfd.c:330:25: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def135]
criu-4.1.1/criu/cgroup-props.c:129: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-682): [#def136]
criu-4.1.1/criu/cgroup-props.c:206: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
criu-4.1.1/criu/cgroup-props.c:263:17: warning[-Wanalyzer-malloc-leak]: leak of ‘get_quoted(&stream, & len, 0)’
criu-4.1.1/criu/cgroup-props.c:498:5: enter_function: entry to ‘cgp_init’
criu-4.1.1/criu/cgroup-props.c:502:15: call_function: inlined call to ‘cgp_parse_builtins’ from ‘cgp_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
criu-4.1.1/criu/cgroup-props.c:276:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cgroup-props.c:498:5: enter_function: entry to ‘cgp_init’
criu-4.1.1/criu/cgroup-props.c:502:15: call_function: inlined call to ‘cgp_parse_builtins’ from ‘cgp_init’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
criu-4.1.1/criu/cgroup.c:1906:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cg_yard, 65536)’
criu-4.1.1/criu/cgroup.c:1870:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cgroup.c:1873:9: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:1878:27: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:1878:17: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:1879:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:1898:9: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:1899:13: acquire_resource: opened here
criu-4.1.1/criu/cgroup.c:1900:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cgroup.c:1905:15: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:1906:12: danger: ‘open(cg_yard, 65536)’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
criu-4.1.1/criu/cgroup.c:2152:44: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cgroup.c:2109:12: enter_function: entry to ‘rewrite_cgsets’
criu-4.1.1/criu/cgroup.c:2134:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2135:35: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2137:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2138:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2146:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2149:29: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2175:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cgroup.c:2180:33: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2181:36: branch_true: following ‘true’ branch (when ‘dirnew’ is NULL)...
criu-4.1.1/criu/cgroup.c:2182:50: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2182:50: acquire_memory: allocated here
criu-4.1.1/criu/cgroup.c:2182:50: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2137:46: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2137:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2138:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:31: call_function: calling ‘cgroup_contains’ from ‘rewrite_cgsets’
criu-4.1.1/criu/cgroup.c:2145:31: return_function: returning to ‘rewrite_cgsets’ from ‘cgroup_contains’
criu-4.1.1/criu/cgroup.c:2145:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2146:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2149:29: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2149:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2152:44: danger: ‘___p’ leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
criu-4.1.1/criu/cgroup.c:2174:44: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cgroup.c:2109:12: enter_function: entry to ‘rewrite_cgsets’
criu-4.1.1/criu/cgroup.c:2134:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2135:35: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2137:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2138:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2146:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2149:29: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2175:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cgroup.c:2180:33: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2181:36: branch_true: following ‘true’ branch (when ‘dirnew’ is NULL)...
criu-4.1.1/criu/cgroup.c:2182:50: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2182:50: acquire_memory: allocated here
criu-4.1.1/criu/cgroup.c:2182:50: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2137:46: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2137:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2138:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:31: call_function: calling ‘cgroup_contains’ from ‘rewrite_cgsets’
criu-4.1.1/criu/cgroup.c:2145:31: return_function: returning to ‘rewrite_cgsets’ from ‘cgroup_contains’
criu-4.1.1/criu/cgroup.c:2145:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2146:45: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2145:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cgroup.c:2149:29: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2174:44: danger: ‘___p’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
criu-4.1.1/criu/cgroup.c:2293:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cgroup.c:2284:12: branch_false: following ‘false’ branch (when ‘controller’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2289:13: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2289:13: acquire_memory: allocated here
criu-4.1.1/criu/cgroup.c:2289:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2293:25: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2293:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/cgroup.c:2293:25: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2293:25: 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): [#def143]
criu-4.1.1/criu/cgroup.c:2296:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cgroup.c:2284:12: branch_false: following ‘false’ branch (when ‘controller’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2289:13: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2289:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2293:25: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2293:25: acquire_memory: allocated here
criu-4.1.1/criu/cgroup.c:2293:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2293:9: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2294:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cgroup.c:2296:22: branch_false: ...to here
criu-4.1.1/criu/cgroup.c:2296:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/cgroup.c:2296:22: branch_true: ...to here
criu-4.1.1/criu/cgroup.c:2296:22: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
criu-4.1.1/criu/clone-noasan.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/clone-noasan.c:41:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/clone-noasan.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
criu-4.1.1/criu/clone-noasan.c:53:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/clone-noasan.c:53:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/clone-noasan.c:53:9: branch_true: ...to here
criu-4.1.1/criu/clone-noasan.c:53:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
criu-4.1.1/criu/clone-noasan.c:59:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/clone-noasan.c:53:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/clone-noasan.c:59:9: branch_false: ...to here
criu-4.1.1/criu/clone-noasan.c:59:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/clone-noasan.c:59:9: branch_true: ...to here
criu-4.1.1/criu/clone-noasan.c:59:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
criu-4.1.1/criu/config.c:266:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
criu-4.1.1/criu/config.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
criu-4.1.1/criu/config.c:268:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
criu-4.1.1/criu/config.c:268:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
criu-4.1.1/criu/config.c:295:41: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
criu-4.1.1/criu/cr-check.c:97:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.1.1/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.1.1/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): [#def153]
criu-4.1.1/criu/cr-check.c:103:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.1.1/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.1.1/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): [#def154]
criu-4.1.1/criu/cr-check.c:104:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘slave’
criu-4.1.1/criu/cr-check.c:79:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:84:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:84:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:89:21: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:90:17: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:91:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:97:17: branch_false: ...to here
criu-4.1.1/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): [#def155]
criu-4.1.1/criu/cr-check.c:141:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ns.<Uf280>.net.nlsk’
criu-4.1.1/criu/cr-check.c:135:23: acquire_resource: socket created here
criu-4.1.1/criu/cr-check.c:136:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:141:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:141:15: danger: ‘ns.<Uf280>.net.nlsk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
criu-4.1.1/criu/cr-check.c:373:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.1.1/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:373:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
criu-4.1.1/criu/cr-check.c:373:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.1.1/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:373:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
criu-4.1.1/criu/cr-check.c:381:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:381:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:381:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
criu-4.1.1/criu/cr-check.c:385:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:385:15: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
criu-4.1.1/criu/cr-check.c:387:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:386:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:387:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:387:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
criu-4.1.1/criu/cr-check.c:392:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:386:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:391:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:392:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
criu-4.1.1/criu/cr-check.c:397:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:385:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:386:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:391:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:391:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:397:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
criu-4.1.1/criu/cr-check.c:400:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/cr-check.c:377:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:380:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:381:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:400:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
criu-4.1.1/criu/cr-check.c:402:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.1.1/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:402:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
criu-4.1.1/criu/cr-check.c:402:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.1.1/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:402:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
criu-4.1.1/criu/cr-check.c:403:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:366:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:371:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:372:12: branch_true: following ‘true’ branch (when ‘efd < 0’)...
criu-4.1.1/criu/cr-check.c:373:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:403:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
criu-4.1.1/criu/cr-check.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:468:15: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
criu-4.1.1/criu/cr-check.c:468:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:468:15: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
criu-4.1.1/criu/cr-check.c:470:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:469:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/cr-check.c:470:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:470:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
criu-4.1.1/criu/cr-check.c:474:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:469:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:474:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:474:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
criu-4.1.1/criu/cr-check.c:477:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:469:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/cr-check.c:470:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:477:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
criu-4.1.1/criu/cr-check.c:477:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[ret]’
criu-4.1.1/criu/cr-check.c:462:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:466:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:469:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-check.c:474:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:477:9: danger: ‘p[ret]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
criu-4.1.1/criu/cr-check.c:613:33: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/cr-check.c:593:16: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:593:16: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:593:16: acquire_memory: allocated here
criu-4.1.1/criu/cr-check.c:593:16: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:594:12: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:594:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:597:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:602:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:603:20: branch_false: following ‘false’ branch (when ‘r == 2’)...
branch_false: ...to here
criu-4.1.1/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): [#def174]
criu-4.1.1/criu/cr-check.c:958:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1011:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
criu-4.1.1/criu/cr-check.c:967:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1011:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
criu-4.1.1/criu/cr-check.c:967:33: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/cr-check.c:958:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:958:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:958:13: acquire_memory: allocated here
criu-4.1.1/criu/cr-check.c:958:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:959:12: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:959:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:962:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:963:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:963:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:964:29: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:964:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:967:33: branch_false: ...to here
criu-4.1.1/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): [#def177]
criu-4.1.1/criu/cr-check.c:994:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:994:19: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
criu-4.1.1/criu/cr-check.c:994:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:994:19: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
criu-4.1.1/criu/cr-check.c:996:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:996:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:996:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
criu-4.1.1/criu/cr-check.c:1002:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_true: following ‘true’ branch (when ‘dir’ is NULL)...
criu-4.1.1/criu/cr-check.c:1002:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1002:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
criu-4.1.1/criu/cr-check.c:1007:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1006:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1007:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1007:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
criu-4.1.1/criu/cr-check.c:1014:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1006:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1011:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1013:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1014:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1014:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
criu-4.1.1/criu/cr-check.c:1018:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:995:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1000:15: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1001:12: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
criu-4.1.1/criu/cr-check.c:1006:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1017:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1018:17: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1018:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
criu-4.1.1/criu/cr-check.c:1022:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/cr-check.c:978:12: enter_function: entry to ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: call_function: calling ‘check_autofs_pipe_ino’ from ‘check_autofs’
criu-4.1.1/criu/cr-check.c:983:15: return_function: returning to ‘check_autofs’ from ‘check_autofs_pipe_ino’
criu-4.1.1/criu/cr-check.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:987:13: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:987:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:994:19: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1022:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
criu-4.1.1/criu/cr-check.c:1060:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/cr-check.c:1040:12: enter_function: entry to ‘check_tcp’
criu-4.1.1/criu/cr-check.c:1046:14: acquire_resource: stream socket created here
criu-4.1.1/criu/cr-check.c:1047:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/cr-check.c:1052:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1053:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1053:35: call_function: inlined call to ‘has_cap_net_admin’ from ‘check_tcp’
criu-4.1.1/criu/cr-check.c:1053:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1060:17: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1060:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
criu-4.1.1/criu/cr-check.c:1413:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413: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): [#def187]
criu-4.1.1/criu/cr-check.c:1413:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413: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): [#def188]
criu-4.1.1/criu/cr-check.c:1418:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1418: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): [#def189]
criu-4.1.1/criu/cr-check.c:1418:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1418: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): [#def190]
criu-4.1.1/criu/cr-check.c:1423:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1418:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1423:21: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1423: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): [#def191]
criu-4.1.1/criu/cr-check.c:1423:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1.1/criu/cr-check.c:1418:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1423:21: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1423: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): [#def192]
criu-4.1.1/criu/cr-dedup.c:29:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("parent")’
criu-4.1.1/criu/cr-dedup.c:20:16: acquire_memory: allocated here
criu-4.1.1/criu/cr-dedup.c:21:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/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): [#def193]
criu-4.1.1/criu/cr-dump.c:113:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1.1/criu/cr-dump.c:1539:12: enter_function: entry to ‘dump_one_task’
criu-4.1.1/criu/cr-dump.c:1557:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1563:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1565:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1566:17: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1771:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def194]
criu-4.1.1/criu/cr-dump.c:114:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1.1/criu/cr-dump.c:1539:12: enter_function: entry to ‘dump_one_task’
criu-4.1.1/criu/cr-dump.c:1557:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1563:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1565:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1566:17: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1771:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def195]
criu-4.1.1/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.1.1/criu/cr-dump.c:1539:12: enter_function: entry to ‘dump_one_task’
criu-4.1.1/criu/cr-dump.c:1557:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1563:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1565:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1566:17: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1771:9: call_function: calling ‘free_mappings’ from ‘dump_one_task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
criu-4.1.1/criu/cr-dump.c:235:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "fd"))’
criu-4.1.1/criu/cr-dump.c:230:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:230:18: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:230:18: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:230:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:231:12: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:231:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:235:22: danger: ‘fdopendir(do_open_proc(pid, 0, "fd"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
criu-4.1.1/criu/cr-dump.c:424:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-dump.c:424:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:424:9: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:424:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
criu-4.1.1/criu/cr-dump.c:460:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:492:12: enter_function: entry to ‘dump_task_mm’
criu-4.1.1/criu/cr-dump.c:504:20: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:508:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.1.1/criu/cr-dump.c:509:27: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:513:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:515:26: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:515:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:516:31: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:516:31: call_function: calling ‘check_sysvipc_map_dump’ from ‘dump_task_mm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
criu-4.1.1/criu/cr-dump.c:469:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:492:12: enter_function: entry to ‘dump_task_mm’
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:508:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.1.1/criu/cr-dump.c:509:27: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:526:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:527:31: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:528:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:554:29: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:554:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:554:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:555:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:558:13: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:558:13: call_function: calling ‘get_task_auxv’ from ‘dump_task_mm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
criu-4.1.1/criu/cr-dump.c:511:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:504:20: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:508:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.1.1/criu/cr-dump.c:509:27: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:511:17: 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): [#def201]
criu-4.1.1/criu/cr-dump.c:518:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:504:20: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:508:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.1.1/criu/cr-dump.c:509:27: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:513:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:515:26: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:515:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:517:26: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:517:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:518:31: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:518:31: 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): [#def202]
criu-4.1.1/criu/cr-dump.c:527:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:504:20: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:508:9: branch_true: following ‘true’ branch (when ‘vma_area != vma_area_list’)...
criu-4.1.1/criu/cr-dump.c:509:27: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:526:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:527:31: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:527:31: 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): [#def203]
criu-4.1.1/criu/cr-dump.c:554:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:504:20: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:504:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:504:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:505:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:508:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:554:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/cr-dump.c:554:29: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:554:29: 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): [#def204]
criu-4.1.1/criu/cr-dump.c:1043:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:1039:17: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:1039:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1043: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-401): [#def205]
criu-4.1.1/criu/cr-dump.c:1089:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:1039:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1043:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1049:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1055:28: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1056:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/cr-dump.c:1061:20: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1061:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/cr-dump.c:1072:17: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1073:34: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1073:17: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1074:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1080:31: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1080:54: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1083:30: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1083:30: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:1083:30: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1089:25: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1089:25: danger: ‘___p’ leaks here; was allocated at [(16)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
criu-4.1.1/criu/cr-dump.c:1213:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-dump.c:1191:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1194:15: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1195:12: branch_false: following ‘false’ branch (when ‘ret == 24’)...
criu-4.1.1/criu/cr-dump.c:1200:13: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1200:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1206:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1209:17: acquire_memory: allocated here
criu-4.1.1/criu/cr-dump.c:1209:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1213:9: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1213:9: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
criu-4.1.1/criu/cr-dump.c:1399:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-dump.c:1355:12: enter_function: entry to ‘dump_zombies’
criu-4.1.1/criu/cr-dump.c:1378:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.1.1/criu/cr-dump.c:1379:21: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1379:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1382:21: call_function: inlined call to ‘vpid’ from ‘dump_zombies’
criu-4.1.1/criu/cr-dump.c:1393:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-dump.c:1396:29: branch_false: ...to here
criu-4.1.1/criu/cr-dump.c:1399:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-dump.c:1399:17: branch_true: ...to here
criu-4.1.1/criu/cr-dump.c:1399:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
criu-4.1.1/criu/cr-dump.c:1798:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
criu-4.1.1/criu/cr-restore.c:153:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
criu-4.1.1/criu/cr-restore.c:508:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-restore.c:628:12: enter_function: entry to ‘restore_one_alive_task’
criu-4.1.1/criu/cr-restore.c:638:12: branch_false: following ‘false’ branch (when ‘ta’ is non-NULL)...
criu-4.1.1/criu/cr-restore.c:641:9: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:643:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:646:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:646:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:649:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:649:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:652:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:652:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:655:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:658:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:658:13: call_function: calling ‘open_cores’ from ‘restore_one_alive_task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
criu-4.1.1/criu/cr-restore.c:510:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-restore.c:628:12: enter_function: entry to ‘restore_one_alive_task’
criu-4.1.1/criu/cr-restore.c:638:12: branch_false: following ‘false’ branch (when ‘ta’ is non-NULL)...
criu-4.1.1/criu/cr-restore.c:641:9: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:643:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:646:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:646:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:649:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:649:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:652:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:652:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:655:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:658:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:658:13: call_function: calling ‘open_cores’ from ‘restore_one_alive_task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
criu-4.1.1/criu/cr-restore.c:514:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/cr-restore.c:628:12: enter_function: entry to ‘restore_one_alive_task’
criu-4.1.1/criu/cr-restore.c:638:12: branch_false: following ‘false’ branch (when ‘ta’ is non-NULL)...
criu-4.1.1/criu/cr-restore.c:641:9: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:643:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:646:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:646:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:649:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:649:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:652:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:652:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:655:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:658:13: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:658:13: call_function: calling ‘open_cores’ from ‘restore_one_alive_task’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
criu-4.1.1/criu/cr-restore.c:1174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-restore.c:1090:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:1136:38: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:1174:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1174:9: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1174:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
criu-4.1.1/criu/cr-restore.c:1412:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-restore.c:1381:13: enter_function: entry to ‘restore_pgid’
criu-4.1.1/criu/cr-restore.c:1398:12: branch_false: following ‘false’ branch (when ‘my_pgid != pgid’)...
criu-4.1.1/criu/cr-restore.c:1401:24: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:1401:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1410:17: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1411:20: branch_true: following ‘true’ branch (when ‘leader’ is non-NULL)...
criu-4.1.1/criu/cr-restore.c:1412:25: call_function: inlined call to ‘vpid’ from ‘restore_pgid’
criu-4.1.1/criu/cr-restore.c:1412:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1412:25: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1412:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
criu-4.1.1/criu/cr-restore.c:1413:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-restore.c:1381:13: enter_function: entry to ‘restore_pgid’
criu-4.1.1/criu/cr-restore.c:1398:12: branch_false: following ‘false’ branch (when ‘my_pgid != pgid’)...
criu-4.1.1/criu/cr-restore.c:1401:24: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:1401:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1410:17: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1411:20: branch_true: following ‘true’ branch (when ‘leader’ is non-NULL)...
criu-4.1.1/criu/cr-restore.c:1412:25: call_function: inlined call to ‘vpid’ from ‘restore_pgid’
criu-4.1.1/criu/cr-restore.c:1412:25: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:1413:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:1413:25: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:1413:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def216]
criu-4.1.1/criu/cr-restore.c:1463:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/cr-restore.c:1453:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1454:28: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1454:28: acquire_resource: opened here
criu-4.1.1/criu/cr-restore.c:1462:12: branch_true: following ‘true’ branch (when ‘fd >= 0’)...
criu-4.1.1/criu/cr-restore.c:1463:23: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1463:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
criu-4.1.1/criu/cr-restore.c:1486:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-restore.c:1482:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1483:22: branch_true: ...to here
criu-4.1.1/criu/cr-restore.c:1486:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-restore.c:1486:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def218]
criu-4.1.1/criu/cr-restore.c:2016:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc", 65536)’
criu-4.1.1/criu/cr-restore.c:2004:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:2009:14: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:2009:14: acquire_resource: opened here
criu-4.1.1/criu/cr-restore.c:2010:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-restore.c:2015:15: branch_false: ...to here
criu-4.1.1/criu/cr-restore.c:2016:12: danger: ‘open("/proc", 65536)’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
criu-4.1.1/criu/cr-service.c:71:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/criu/cr-service.c:1308:5: enter_function: entry to ‘cr_service_work’
criu-4.1.1/criu/cr-service.c:1324:13: call_function: calling ‘recv_criu_msg’ from ‘cr_service_work’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
criu-4.1.1/criu/cr-service.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/criu/cr-service.c:1118:12: enter_function: entry to ‘handle_version’
criu-4.1.1/criu/cr-service.c:1144:16: call_function: inlined call to ‘send_criu_msg’ from ‘handle_version’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
criu-4.1.1/criu/cr-service.c:303:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:999:12: enter_function: entry to ‘start_page_server_req’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1018:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def222]
criu-4.1.1/criu/cr-service.c:308:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:999:12: enter_function: entry to ‘start_page_server_req’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1018:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def223]
criu-4.1.1/criu/cr-service.c:312:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:999:12: enter_function: entry to ‘start_page_server_req’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1018:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
criu-4.1.1/criu/cr-service.c:312:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/cr-service.c:1249:12: enter_function: entry to ‘handle_cpuinfo’
criu-4.1.1/criu/cr-service.c:1256:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/cr-service.c:1261:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1261:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1264:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1265:21: call_function: calling ‘setup_opts_from_req’ from ‘handle_cpuinfo’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
criu-4.1.1/criu/cr-service.c:332:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:999:12: enter_function: entry to ‘start_page_server_req’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1018:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
criu-4.1.1/criu/cr-service.c:390:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:999:12: enter_function: entry to ‘start_page_server_req’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1018:21: call_function: calling ‘setup_opts_from_req’ from ‘start_page_server_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
criu-4.1.1/criu/cr-service.c:1015:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[(int)ps.has_port]’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1015:17: danger: ‘start_pipe[(int)ps.has_port]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
criu-4.1.1/criu/cr-service.c:1015:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_pipe[1]’
criu-4.1.1/criu/cr-service.c:1008:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1013:15: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1014:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/cr-service.c:1015:17: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1015:17: danger: ‘start_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
criu-4.1.1/criu/cr-service.c:1421:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1445:5: enter_function: entry to ‘cr_service’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: following ‘false’ branch (when ‘daemon_mode == 0’)...
criu-4.1.1/criu/cr-service.c:1505:13: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1505:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1512:13: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1512:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
criu-4.1.1/criu/cr-service.c:1468:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1467:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1468:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1468:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def231]
criu-4.1.1/criu/cr-service.c:1469:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1467:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1468:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1469:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/cr-service.c:1469:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1469:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
criu-4.1.1/criu/cr-service.c:1493:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1493:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1493:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def233]
criu-4.1.1/criu/cr-service.c:1500:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1498:12: branch_true: following ‘true’ branch (when ‘daemon_mode != 0’)...
criu-4.1.1/criu/cr-service.c:1499:21: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1499:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1500:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1500:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
criu-4.1.1/criu/cr-service.c:1506:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1505:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1506:35: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1506:21: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
criu-4.1.1/criu/cr-service.c:1507:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1505:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1506:35: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1506:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1507:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1507:25: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
criu-4.1.1/criu/cr-service.c:1515:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1445:5: enter_function: entry to ‘cr_service’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1512:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.1.1/criu/cr-service.c:1512:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.1.1/criu/cr-service.c:1512:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1515:13: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1515:13: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
criu-4.1.1/criu/cr-service.c:1521:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1445:5: enter_function: entry to ‘cr_service’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1512:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.1.1/criu/cr-service.c:1512:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.1.1/criu/cr-service.c:1512:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1515:13: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1515:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1521:17: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
criu-4.1.1/criu/cr-service.c:1523:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1445:5: enter_function: entry to ‘cr_service’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1512:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.1.1/criu/cr-service.c:1512:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.1.1/criu/cr-service.c:1512:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1515:13: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1515:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1523:22: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
criu-4.1.1/criu/cr-service.c:1551:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘server_fd’
criu-4.1.1/criu/cr-service.c:1457:29: acquire_resource: socket created here
criu-4.1.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1.1/criu/cr-service.c:1492:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/cr-service.c:1493:25: branch_true: ...to here
criu-4.1.1/criu/cr-service.c:1551:9: danger: ‘server_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
criu-4.1.1/criu/crtools.c:122:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/crtools.c:122:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/crtools.c:122:9: branch_true: ...to here
criu-4.1.1/criu/crtools.c:122:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def241]
criu-4.1.1/criu/eventpoll.c:112:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).e’
criu-4.1.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def242]
criu-4.1.1/criu/eventpoll.c:112:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘dinfo’
criu-4.1.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def243]
criu-4.1.1/criu/eventpoll.c:115:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).fe’
criu-4.1.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def244]
criu-4.1.1/criu/eventpoll.c:116:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*((struct eventpoll_dinfo)*((struct list_head *)dinfo)).e.tfd’
criu-4.1.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def245]
criu-4.1.1/criu/eventpoll.c:118:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).toff’
criu-4.1.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
criu-4.1.1/criu/eventpoll.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/eventpoll.c:261:13: acquire_memory: allocated here
criu-4.1.1/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.1.1/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): [#def247]
criu-4.1.1/criu/eventpoll.c:269:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:266:14: acquire_memory: allocated here
criu-4.1.1/criu/eventpoll.c:266:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:266:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:267:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:269:9: branch_false: ...to here
criu-4.1.1/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): [#def248]
criu-4.1.1/criu/eventpoll.c:297:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/eventpoll.c:261:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:261:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:262:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:264:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:266:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:266:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:267:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:269:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:275:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/eventpoll.c:278:9: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:287:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/eventpoll.c:288:24: branch_true: ...to here
criu-4.1.1/criu/eventpoll.c:288:24: acquire_memory: allocated here
criu-4.1.1/criu/eventpoll.c:288:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/eventpoll.c:288:17: branch_false: ...to here
criu-4.1.1/criu/eventpoll.c:289:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/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): [#def249]
criu-4.1.1/criu/external.c:22:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/external.c:11:5: enter_function: entry to ‘add_external’
criu-4.1.1/criu/external.c:15:13: call_function: inlined call to ‘strstartswith’ from ‘add_external’
criu-4.1.1/criu/external.c:15:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/external.c:18:15: branch_false: ...to here
criu-4.1.1/criu/external.c:18:15: acquire_memory: allocated here
criu-4.1.1/criu/external.c:18:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/external.c:22:19: branch_false: ...to here
criu-4.1.1/criu/external.c:22:19: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/external.c:22:19: branch_true: ...to here
criu-4.1.1/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): [#def250]
criu-4.1.1/criu/file-lock.c:174:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/file-lock.c:162:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/file-lock.c:169:13: branch_false: ...to here
criu-4.1.1/criu/file-lock.c:169:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/file-lock.c:170:21: branch_true: ...to here
criu-4.1.1/criu/file-lock.c:170:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/file-lock.c:173:29: branch_true: ...to here
criu-4.1.1/criu/file-lock.c:174:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/file-lock.c:174:25: branch_true: ...to here
criu-4.1.1/criu/file-lock.c:174:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
criu-4.1.1/criu/files-reg.c:126:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.1.1/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
criu-4.1.1/criu/files-reg.c:1141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.1.1/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
criu-4.1.1/criu/files-reg.c:1267:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1777:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1785:28: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1795:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1801:13: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1811:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:12: branch_false: following ‘false’ branch (when ‘skip_for_shell_job == 0’)...
criu-4.1.1/criu/files-reg.c:1816:36: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1816:36: call_function: calling ‘check_path_remap’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
criu-4.1.1/criu/files-reg.c:1715:9: warning[-Wanalyzer-malloc-leak]: leak of ‘build_id’
criu-4.1.1/criu/files-reg.c:1740:13: enter_function: entry to ‘store_validation_data’
criu-4.1.1/criu/files-reg.c:1747:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:1748:26: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1748:26: call_function: calling ‘store_validation_data_build_id’ from ‘store_validation_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
criu-4.1.1/criu/files-reg.c:1835:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1777:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:1779:28: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1779:28: acquire_memory: allocated here
criu-4.1.1/criu/files-reg.c:1779:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files-reg.c:1779:17: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1834:16: call_function: calling ‘img_from_set’ from ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1834:16: return_function: returning to ‘dump_one_reg_file’ from ‘img_from_set’
criu-4.1.1/criu/files-reg.c:1835: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): [#def256]
criu-4.1.1/criu/files-reg.c:1858:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:1858:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:1858:9: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1858:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
criu-4.1.1/criu/files-reg.c:1967:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:1963:16: branch_true: following ‘true’ branch (when ‘count > 0’)...
criu-4.1.1/criu/files-reg.c:1964:21: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1965:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.1.1/criu/files-reg.c:1967:25: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1967:25: branch_false: following ‘false’ branch (when ‘prev’ is NULL)...
criu-4.1.1/criu/files-reg.c:1968:25: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1981:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:1985:17: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1963:16: branch_true: following ‘true’ branch (when ‘count > 0’)...
criu-4.1.1/criu/files-reg.c:1964:21: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1965:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.1.1/criu/files-reg.c:1967:25: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1967:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:1967:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
criu-4.1.1/criu/files-reg.c:2090:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2090:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:2090:9: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:2090:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
criu-4.1.1/criu/files-reg.c:2091:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2090:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files-reg.c:2091:9: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:2091:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:2091:9: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:2091:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def260]
criu-4.1.1/criu/files-reg.c:2478:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
criu-4.1.1/criu/files.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
criu-4.1.1/criu/files.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:225:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:225:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
criu-4.1.1/criu/files.c:244:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
criu-4.1.1/criu/files.c:637:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:633:16: acquire_memory: allocated here
criu-4.1.1/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:637:16: branch_false: ...to here
criu-4.1.1/criu/files.c:637:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/files.c:637:16: branch_true: ...to here
criu-4.1.1/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): [#def265]
criu-4.1.1/criu/files.c:641:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:637:16: branch_false: ...to here
criu-4.1.1/criu/files.c:637:16: acquire_memory: allocated here
criu-4.1.1/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:641:15: branch_false: ...to here
criu-4.1.1/criu/files.c:641:15: 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): [#def266]
criu-4.1.1/criu/files.c:650:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:633:16: acquire_memory: allocated here
criu-4.1.1/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:637:16: branch_false: ...to here
criu-4.1.1/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:641:15: branch_false: ...to here
criu-4.1.1/criu/files.c:642:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/files.c:646:23: branch_true: following ‘true’ branch...
criu-4.1.1/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): [#def267]
criu-4.1.1/criu/files.c:670:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:633:16: acquire_memory: allocated here
criu-4.1.1/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:637:16: branch_false: ...to here
criu-4.1.1/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:641:15: branch_false: ...to here
criu-4.1.1/criu/files.c:642:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/files.c:646:23: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/files.c:646:41: branch_true: ...to here
criu-4.1.1/criu/files.c:646:23: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:670:9: branch_false: ...to here
criu-4.1.1/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): [#def268]
criu-4.1.1/criu/files.c:673:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:633:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:637:16: branch_false: ...to here
criu-4.1.1/criu/files.c:637:16: acquire_memory: allocated here
criu-4.1.1/criu/files.c:637:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:641:15: branch_false: ...to here
criu-4.1.1/criu/files.c:642:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/files.c:646:23: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/files.c:646:41: branch_true: ...to here
criu-4.1.1/criu/files.c:646:23: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:670:9: branch_false: ...to here
criu-4.1.1/criu/files.c:673:17: 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): [#def269]
criu-4.1.1/criu/files.c:722:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "fd"))’
criu-4.1.1/criu/files.c:718:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:718:18: branch_false: ...to here
criu-4.1.1/criu/files.c:718:18: acquire_memory: allocated here
criu-4.1.1/criu/files.c:718:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:719:12: branch_false: ...to here
criu-4.1.1/criu/files.c:719:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/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): [#def270]
criu-4.1.1/criu/files.c:998:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:998:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:998:9: branch_true: ...to here
criu-4.1.1/criu/files.c:998:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
criu-4.1.1/criu/files.c:1072:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.1.1/criu/files.c:1072:9: branch_false: ...to here
criu-4.1.1/criu/files.c:1072:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1072:9: branch_true: ...to here
criu-4.1.1/criu/files.c:1072:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
criu-4.1.1/criu/files.c:1075:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fd, dfd)’
criu-4.1.1/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.1.1/criu/files.c:1072:9: branch_false: ...to here
criu-4.1.1/criu/files.c:1072:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1074:9: branch_false: ...to here
criu-4.1.1/criu/files.c:1075:13: acquire_resource: opened here
criu-4.1.1/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): [#def273]
criu-4.1.1/criu/files.c:1127:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1119:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1122:41: branch_false: ...to here
criu-4.1.1/criu/files.c:1122:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1127:9: branch_false: ...to here
criu-4.1.1/criu/files.c:1127:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1127:9: branch_true: ...to here
criu-4.1.1/criu/files.c:1127:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
criu-4.1.1/criu/files.c:1143:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1135:12: enter_function: entry to ‘open_fd’
criu-4.1.1/criu/files.c:1141:17: call_function: calling ‘file_master’ from ‘open_fd’
criu-4.1.1/criu/files.c:1141:17: return_function: returning to ‘open_fd’ from ‘file_master’
criu-4.1.1/criu/files.c:1142:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1143:17: branch_true: ...to here
criu-4.1.1/criu/files.c:1143:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1143:17: branch_true: ...to here
criu-4.1.1/criu/files.c:1143:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
criu-4.1.1/criu/files.c:1218:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1216:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1217:30: branch_true: ...to here
criu-4.1.1/criu/files.c:1218:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1218:25: branch_true: ...to here
criu-4.1.1/criu/files.c:1218:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
criu-4.1.1/criu/files.c:1276:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(0, 0, "fd"))’
criu-4.1.1/criu/files.c:1272:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1272:15: branch_false: ...to here
criu-4.1.1/criu/files.c:1272:15: acquire_memory: allocated here
criu-4.1.1/criu/files.c:1272:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1273:12: branch_false: ...to here
criu-4.1.1/criu/files.c:1273:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/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): [#def277]
criu-4.1.1/criu/files.c:1323:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.1.1/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1322:17: branch_true: ...to here
criu-4.1.1/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.1.1/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.1.1/criu/files.c:1323:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1323:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
criu-4.1.1/criu/files.c:1327:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.1.1/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1322:17: branch_true: ...to here
criu-4.1.1/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.1.1/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.1.1/criu/files.c:1325:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1326:25: branch_true: ...to here
criu-4.1.1/criu/files.c:1327:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1327:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
criu-4.1.1/criu/files.c:1332:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/files.c:1332:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files.c:1332:9: branch_true: ...to here
criu-4.1.1/criu/files.c:1332:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
criu-4.1.1/criu/files.c:1609:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files.c:1597:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/files.c:1602:15: branch_false: ...to here
criu-4.1.1/criu/files.c:1602:15: acquire_memory: allocated here
criu-4.1.1/criu/files.c:1602:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files.c:1606:13: branch_false: ...to here
criu-4.1.1/criu/files.c:1609:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/files.c:1609:23: branch_true: ...to here
criu-4.1.1/criu/files.c:1609:23: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
criu-4.1.1/criu/filesystems.c:404:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/filesystems.c:386:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/filesystems.c:393:21: branch_true: following ‘true’ branch (when ‘ntmp_fds != 3’)...
criu-4.1.1/criu/filesystems.c:394:21: branch_true: ...to here
criu-4.1.1/criu/filesystems.c:394:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/filesystems.c:396:25: branch_false: ...to here
criu-4.1.1/criu/filesystems.c:397:22: acquire_resource: opened here
criu-4.1.1/criu/filesystems.c:398:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/filesystems.c:393:21: branch_true: following ‘true’ branch (when ‘ntmp_fds != 3’)...
criu-4.1.1/criu/filesystems.c:394:21: branch_true: ...to here
criu-4.1.1/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): [#def282]
criu-4.1.1/criu/filesystems.c:537:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(open_mountpoint(pm))’
criu-4.1.1/criu/filesystems.c:528:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/filesystems.c:531:16: branch_false: ...to here
criu-4.1.1/criu/filesystems.c:531:16: acquire_memory: allocated here
criu-4.1.1/criu/filesystems.c:532:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/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): [#def283]
criu-4.1.1/criu/fsnotify.c:291:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/fsnotify.c:231:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/fsnotify.c:232:17: branch_true: ...to here
criu-4.1.1/criu/fsnotify.c:283:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/fsnotify.c:287:16: branch_false: ...to here
criu-4.1.1/criu/fsnotify.c:287:16: acquire_memory: allocated here
criu-4.1.1/criu/fsnotify.c:287:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/fsnotify.c:290:1: branch_false: ...to here
criu-4.1.1/criu/fsnotify.c:291:9: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
criu-4.1.1/criu/fsnotify.c:384:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/fsnotify.c:383:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.1.1/criu/fsnotify.c:384:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.1.1/criu/fsnotify.c:384:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
criu-4.1.1/criu/fsnotify.c:399:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/fsnotify.c:383:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/fsnotify.c:396:13: branch_false: ...to here
criu-4.1.1/criu/fsnotify.c:396:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/fsnotify.c:399:17: branch_true: ...to here
criu-4.1.1/criu/fsnotify.c:399:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/fsnotify.c:399:17: branch_true: ...to here
criu-4.1.1/criu/fsnotify.c:399:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
criu-4.1.1/criu/image.c:522:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_true: following ‘true’ branch (when ‘lazy != 0’)...
criu-4.1.1/criu/image.c:519:17: branch_true: ...to here
criu-4.1.1/criu/image.c:522:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/image.c:522:29: branch_true: ...to here
criu-4.1.1/criu/image.c:522:29: 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): [#def287]
criu-4.1.1/criu/image.c:604:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
criu-4.1.1/criu/image.c:618:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
criu-4.1.1/criu/image.c:622:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
criu-4.1.1/criu/image.c:625:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
criu-4.1.1/criu/image.c:630:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
criu-4.1.1/criu/image.c:639:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:495:16: enter_function: entry to ‘open_image_at’
criu-4.1.1/criu/image.c:508:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:508:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:512:26: branch_false: ...to here
criu-4.1.1/criu/image.c:518:12: branch_false: following ‘false’ branch (when ‘lazy == 0’)...
criu-4.1.1/criu/image.c:525:17: branch_false: ...to here
criu-4.1.1/criu/image.c:527:13: call_function: calling ‘do_open_image’ from ‘open_image_at’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
criu-4.1.1/criu/image.c:726:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(dir, 0)’
criu-4.1.1/criu/image.c:719:14: acquire_resource: opened here
criu-4.1.1/criu/image.c:720:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/image.c:725:15: branch_false: ...to here
criu-4.1.1/criu/image.c:726:12: danger: ‘open(dir, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
criu-4.1.1/criu/image.c:798:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/image.c:798:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/image.c:798:9: branch_true: ...to here
criu-4.1.1/criu/image.c:798:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
criu-4.1.1/criu/image.c:857:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/image.c:894:5: enter_function: entry to ‘read_img_str’
criu-4.1.1/criu/image.c:899:15: acquire_memory: allocated here
criu-4.1.1/criu/image.c:899:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/image.c:903:15: branch_false: ...to here
criu-4.1.1/criu/image.c:903:15: call_function: calling ‘read_img_buf’ from ‘read_img_str’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
criu-4.1.1/criu/img-streamer.c:41:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
criu-4.1.1/criu/img-streamer.c:50:5: enter_function: entry to ‘img_streamer_init’
criu-4.1.1/criu/img-streamer.c:59:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:64:18: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:64:18: acquire_resource: stream socket created here
criu-4.1.1/criu/img-streamer.c:65:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
criu-4.1.1/criu/img-streamer.c:70:9: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:72:9: call_function: calling ‘socket_name_for_mode’ from ‘img_streamer_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
criu-4.1.1/criu/img-streamer.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
criu-4.1.1/criu/img-streamer.c:74:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
criu-4.1.1/criu/img-streamer.c:59:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:64:18: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:64:18: acquire_resource: stream socket created here
criu-4.1.1/criu/img-streamer.c:65:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
criu-4.1.1/criu/img-streamer.c:70:9: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:74:13: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
criu-4.1.1/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:183:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
criu-4.1.1/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:183:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
criu-4.1.1/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:13: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
criu-4.1.1/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def303]
criu-4.1.1/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[criu_pipe_direction]’
criu-4.1.1/criu/img-streamer.c:196:12: enter_function: entry to ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:198:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:201:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:201:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:204:21: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:204:21: call_function: calling ‘recv_file_reply’ from ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:204:21: return_function: returning to ‘_img_streamer_open’ from ‘recv_file_reply’
criu-4.1.1/criu/img-streamer.c:204:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:207:21: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:207:20: branch_true: following ‘true’ branch...
branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:219:16: call_function: calling ‘establish_streamer_file_pipe’ from ‘_img_streamer_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
criu-4.1.1/criu/img-streamer.c:186:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[streamer_pipe_direction]’
criu-4.1.1/criu/img-streamer.c:196:12: enter_function: entry to ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:198:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:201:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:201:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:204:21: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:204:21: call_function: calling ‘recv_file_reply’ from ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:204:21: return_function: returning to ‘_img_streamer_open’ from ‘recv_file_reply’
criu-4.1.1/criu/img-streamer.c:204:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:207:21: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:207:20: branch_true: following ‘true’ branch...
branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:219:16: call_function: calling ‘establish_streamer_file_pipe’ from ‘_img_streamer_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
criu-4.1.1/criu/img-streamer.c:187:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:187:17: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:187:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
criu-4.1.1/criu/img-streamer.c:187:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:187:17: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:187:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
criu-4.1.1/criu/img-streamer.c:191:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:191:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
criu-4.1.1/criu/img-streamer.c:191:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:191:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def309]
criu-4.1.1/criu/img-streamer.c:191:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/img-streamer.c:196:12: enter_function: entry to ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:198:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:201:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:201:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:204:21: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:204:21: call_function: calling ‘recv_file_reply’ from ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:204:21: return_function: returning to ‘_img_streamer_open’ from ‘recv_file_reply’
criu-4.1.1/criu/img-streamer.c:204:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:207:21: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:207:20: branch_true: following ‘true’ branch...
branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:219:16: call_function: calling ‘establish_streamer_file_pipe’ from ‘_img_streamer_open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
criu-4.1.1/criu/img-streamer.c:234:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/img-streamer.c:234:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:234:9: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:234:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
criu-4.1.1/criu/include/criu-log.h:46:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
criu-4.1.1/criu/include/criu-log.h:46:16: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
criu-4.1.1/criu/include/image.h:143:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.1.1/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.1.1/criu/pipes.c:460:25: branch_true: ...to here
criu-4.1.1/criu/pipes.c:460:25: call_function: calling ‘img_raw_fd’ from ‘dump_one_pipe_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
criu-4.1.1/criu/include/image.h:143:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
Error: CPPCHECK_WARNING (CWE-476): [#def315]
criu-4.1.1/criu/include/image.h:146: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
criu-4.1.1/criu/include/image.h:146:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.1.1/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.1.1/criu/pipes.c:460:25: branch_true: ...to here
criu-4.1.1/criu/pipes.c:460:25: call_function: calling ‘img_raw_fd’ from ‘dump_one_pipe_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
criu-4.1.1/criu/include/image.h:146:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
criu-4.1.1/criu/include/image.h:146:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
criu-4.1.1/criu/include/imgset.h:20:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/files-reg.c:1758:5: enter_function: entry to ‘dump_one_reg_file’
criu-4.1.1/criu/files-reg.c:1777:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/files-reg.c:1779:28: branch_true: ...to here
criu-4.1.1/criu/files-reg.c:1779:28: acquire_memory: allocated here
criu-4.1.1/criu/files-reg.c:1779:28: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/files-reg.c:1779:17: branch_false: ...to here
criu-4.1.1/criu/files-reg.c:1834:16: call_function: calling ‘img_from_set’ from ‘dump_one_reg_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
criu-4.1.1/criu/include/imgset.h:20:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/apparmor.c:643:5: enter_function: entry to ‘dump_aa_namespaces’
criu-4.1.1/criu/apparmor.c:648:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/apparmor.c:651:14: branch_false: ...to here
criu-4.1.1/criu/apparmor.c:651:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/apparmor.c:654:9: branch_false: ...to here
criu-4.1.1/criu/apparmor.c:659:15: call_function: calling ‘img_from_set’ from ‘dump_aa_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
criu-4.1.1/criu/include/rbtree.h:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/kcmp-ids.c:64:26: enter_function: entry to ‘alloc_kid_entry’
criu-4.1.1/criu/kcmp-ids.c:68:13: acquire_memory: allocated here
criu-4.1.1/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.1.1/criu/kcmp-ids.c:76:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kcmp-ids.c:78:9: branch_false: ...to here
criu-4.1.1/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): [#def322]
criu-4.1.1/criu/include/util-caps.h:19:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/cr-check.c:1040:12: enter_function: entry to ‘check_tcp’
criu-4.1.1/criu/cr-check.c:1046:14: acquire_resource: stream socket created here
criu-4.1.1/criu/cr-check.c:1047:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/cr-check.c:1052:9: branch_false: ...to here
criu-4.1.1/criu/cr-check.c:1053:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/cr-check.c:1053:35: call_function: inlined call to ‘has_cap_net_admin’ from ‘check_tcp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
criu-4.1.1/criu/include/util.h:408:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/mount.c:3367:5: enter_function: entry to ‘read_mnt_ns_img’
criu-4.1.1/criu/mount.c:3372:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3377:14: branch_false: ...to here
criu-4.1.1/criu/mount.c:3377:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.1.1/criu/mount.c:3378:36: branch_true: ...to here
criu-4.1.1/criu/mount.c:3380:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3383:21: branch_false: ...to here
criu-4.1.1/criu/mount.c:3383:21: call_function: calling ‘collect_mnt_from_image’ from ‘read_mnt_ns_img’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
criu-4.1.1/criu/include/util.h:408:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/config.c:603:5: enter_function: entry to ‘parse_options’
criu-4.1.1/criu/config.c:716:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/config.c:722:20: branch_true: following ‘true’ branch (when ‘opt == -1’)...
criu-4.1.1/criu/config.c:724:28: branch_true: ...to here
criu-4.1.1/criu/config.c:735:33: call_function: calling ‘next_config’ from ‘parse_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
criu-4.1.1/criu/include/util.h:408:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
criu-4.1.1/criu/mount.c:3367:5: enter_function: entry to ‘read_mnt_ns_img’
criu-4.1.1/criu/mount.c:3372:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3377:14: branch_false: ...to here
criu-4.1.1/criu/mount.c:3377:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.1.1/criu/mount.c:3378:36: branch_true: ...to here
criu-4.1.1/criu/mount.c:3380:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3383:21: branch_false: ...to here
criu-4.1.1/criu/mount.c:3383:21: call_function: calling ‘collect_mnt_from_image’ from ‘read_mnt_ns_img’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
criu-4.1.1/criu/ipc_ns.c:198:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/ipc_ns.c:182:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/ipc_ns.c:187:16: branch_false: ...to here
criu-4.1.1/criu/ipc_ns.c:188:19: acquire_memory: allocated here
criu-4.1.1/criu/ipc_ns.c:188:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/ipc_ns.c:189:12: branch_false: ...to here
criu-4.1.1/criu/ipc_ns.c:189:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/ipc_ns.c:194:27: branch_true: following ‘true’ branch...
criu-4.1.1/criu/ipc_ns.c:195:24: branch_true: ...to here
criu-4.1.1/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): [#def327]
criu-4.1.1/criu/ipc_ns.c:322:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/ipc_ns.c:460:12: enter_function: entry to ‘dump_ipc_var’
criu-4.1.1/criu/ipc_ns.c:466:24: acquire_memory: allocated here
criu-4.1.1/criu/ipc_ns.c:466:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/ipc_ns.c:466:9: branch_false: ...to here
criu-4.1.1/criu/ipc_ns.c:467:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/ipc_ns.c:469:9: branch_false: ...to here
criu-4.1.1/criu/ipc_ns.c:475:15: call_function: calling ‘ipc_sysctl_req’ from ‘dump_ipc_var’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
criu-4.1.1/criu/ipc_ns.c:555:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/ipc_ns.c:548:18: acquire_memory: allocated here
criu-4.1.1/criu/ipc_ns.c:548:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/ipc_ns.c:555:15: branch_false: ...to here
criu-4.1.1/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): [#def329]
criu-4.1.1/criu/irmap.c:152:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(openat(get_service_fd(8), *t.path + 1, 0))’
criu-4.1.1/criu/irmap.c:132:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/irmap.c:135:22: branch_false: ...to here
criu-4.1.1/criu/irmap.c:139:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/irmap.c:144:15: branch_false: ...to here
criu-4.1.1/criu/irmap.c:144:15: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:145:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/irmap.c:151:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:152:22: danger: ‘fdopendir(openat(get_service_fd(8), *t.path + 1, 0))’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
criu-4.1.1/criu/irmap.c:330:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:323:14: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:323:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:327:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:330:25: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/irmap.c:330:25: branch_true: ...to here
criu-4.1.1/criu/irmap.c:330:25: 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): [#def331]
criu-4.1.1/criu/irmap.c:336:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:323:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:327:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:330:25: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:330:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:330:25: branch_false: ...to here
criu-4.1.1/criu/irmap.c:331:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:336:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:336:9: 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): [#def332]
criu-4.1.1/criu/irmap.c:408:20: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:402:14: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:402:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:406:19: branch_false: ...to here
criu-4.1.1/criu/irmap.c:408:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/irmap.c:408:20: branch_true: ...to here
criu-4.1.1/criu/irmap.c:408:20: 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): [#def333]
criu-4.1.1/criu/irmap.c:421:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:402:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:406:19: branch_false: ...to here
criu-4.1.1/criu/irmap.c:408:20: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:408:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:408:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:409:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/irmap.c:414:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:421:9: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
criu-4.1.1/criu/irmap.c:497:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:493:13: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:493:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:497:17: branch_false: ...to here
criu-4.1.1/criu/irmap.c:497:17: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/irmap.c:497:17: branch_true: ...to here
criu-4.1.1/criu/irmap.c:497:17: 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): [#def335]
criu-4.1.1/criu/irmap.c:503:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/irmap.c:493:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:497:17: branch_false: ...to here
criu-4.1.1/criu/irmap.c:497:17: acquire_memory: allocated here
criu-4.1.1/criu/irmap.c:497:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:497:9: branch_false: ...to here
criu-4.1.1/criu/irmap.c:498:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/irmap.c:503:23: branch_false: ...to here
criu-4.1.1/criu/irmap.c:503:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/irmap.c:503:23: branch_true: ...to here
criu-4.1.1/criu/irmap.c:503:23: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def336]
criu-4.1.1/criu/kcmp-ids.c:76: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
criu-4.1.1/criu/kcmp-ids.c:76:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/kcmp-ids.c:68:13: acquire_memory: allocated here
criu-4.1.1/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.1.1/criu/kcmp-ids.c:76:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kcmp-ids.c:76:9: branch_true: ...to here
criu-4.1.1/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): [#def338]
criu-4.1.1/criu/kcmp-ids.c:76:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.1.1/criu/kcmp-ids.c:76:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kcmp-ids.c:76:9: branch_true: ...to here
criu-4.1.1/criu/kcmp-ids.c:76:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def339]
criu-4.1.1/criu/kcmp-ids.c:94: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def340]
criu-4.1.1/criu/kcmp-ids.c:94:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/kcmp-ids.c:94:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.1.1/criu/kcmp-ids.c:94:9: branch_true: ...to here
criu-4.1.1/criu/kcmp-ids.c:94:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def341]
criu-4.1.1/criu/kcmp-ids.c:158: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
criu-4.1.1/criu/kcmp-ids.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/kcmp-ids.c:158:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.1.1/criu/kcmp-ids.c:158:9: branch_true: ...to here
criu-4.1.1/criu/kcmp-ids.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def343]
criu-4.1.1/criu/kerndat.c:395:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/kerndat.c:365:12: branch_false: following ‘false’ branch (when ‘which <= 2’)...
criu-4.1.1/criu/kerndat.c:370:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:370:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:374:21: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:374:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:385:21: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:385:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:390:26: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:390:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:395:17: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:395:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:395:17: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:395:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
criu-4.1.1/criu/kerndat.c:489:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/kerndat.c:477:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:482:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:483:12: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:488:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:488:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:489:17: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:489:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
criu-4.1.1/criu/kerndat.c:658:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/kerndat.c:651:14: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:652:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:657:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:658: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): [#def346]
criu-4.1.1/criu/kerndat.c:726:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘clnt’
criu-4.1.1/criu/kerndat.c:694:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
criu-4.1.1/criu/kerndat.c:704:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:704:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:709:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:710:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:715:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:720:23: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:720:16: acquire_resource: stream socket created here
criu-4.1.1/criu/kerndat.c:721:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:726:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:726:13: danger: ‘clnt’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def347]
criu-4.1.1/criu/kerndat.c:765:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/kerndat.c:759:14: acquire_resource: socket created here
criu-4.1.1/criu/kerndat.c:760:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/kerndat.c:765:30: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:765:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
criu-4.1.1/criu/kerndat.c:826:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/kerndat.c:803:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:807:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:811:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:816:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:816:16: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:817:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/kerndat.c:823:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:824:23: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:826:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
criu-4.1.1/criu/kerndat.c:826:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/kerndat.c:803:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:807:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:811:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:816:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:816:16: acquire_memory: allocated here
criu-4.1.1/criu/kerndat.c:817:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/kerndat.c:823:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:824:23: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:826:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
criu-4.1.1/criu/kerndat.c:846:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/kerndat.c:803:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:807:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:811:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:816:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:816:16: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:817:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/kerndat.c:823:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:824:23: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:825:20: branch_false: following ‘false’ branch (when ‘num > 5’)...
criu-4.1.1/criu/kerndat.c:841:21: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:841:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:845:37: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:846:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
criu-4.1.1/criu/kerndat.c:846:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1.1/criu/kerndat.c:803:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:807:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:811:12: branch_false: following ‘false’ branch (when ‘mem != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:816:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:816:16: acquire_memory: allocated here
criu-4.1.1/criu/kerndat.c:817:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/kerndat.c:823:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:824:23: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:825:20: branch_false: following ‘false’ branch (when ‘num > 5’)...
criu-4.1.1/criu/kerndat.c:841:21: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:841:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:845:37: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:846:25: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
criu-4.1.1/criu/kerndat.c:928:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/kerndat.c:912:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/kerndat.c:917:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:920:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:926:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:927:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/kerndat.c:928:17: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:928:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def353]
criu-4.1.1/criu/kerndat.c:942:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/kerndat.c:912:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/kerndat.c:917:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:920:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:926:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:942:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
criu-4.1.1/criu/kerndat.c:943:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/kerndat.c:912:12: branch_false: following ‘false’ branch (when ‘efd >= 0’)...
criu-4.1.1/criu/kerndat.c:917:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:920:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:926:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:943:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
criu-4.1.1/criu/kerndat.c:1237:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1235:15: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1236:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/kerndat.c:1237:17: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:1237:17: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
criu-4.1.1/criu/kerndat.c:1238:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1235:15: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1236:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/kerndat.c:1237:17: branch_true: ...to here
criu-4.1.1/criu/kerndat.c:1238:17: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
criu-4.1.1/criu/kerndat.c:1242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1235:15: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1236:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/kerndat.c:1242:9: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1242:9: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
criu-4.1.1/criu/kerndat.c:1393:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘f.fd’
criu-4.1.1/criu/kerndat.c:1368:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1377:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1378:12: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.1.1/criu/kerndat.c:1383:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1383:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1388:16: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1388:16: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:1389:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1393:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1393:13: danger: ‘f.fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
criu-4.1.1/criu/kerndat.c:1568:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘f.fd’
criu-4.1.1/criu/kerndat.c:1563:16: acquire_resource: opened here
criu-4.1.1/criu/kerndat.c:1564:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/kerndat.c:1568:13: branch_false: ...to here
criu-4.1.1/criu/kerndat.c:1568:13: danger: ‘f.fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def360]
criu-4.1.1/criu/log.c:81:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/criu/log.c:391:6: enter_function: entry to ‘print_on_level’
criu-4.1.1/criu/log.c:395:9: acquire_resource: ‘va_start’ called here
criu-4.1.1/criu/log.c:396:9: call_function: calling ‘vprint_on_level’ from ‘print_on_level’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
criu-4.1.1/criu/lsm.c:282:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
criu-4.1.1/criu/mem.c:45:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mem.c:608:5: enter_function: entry to ‘parasite_dump_pages_seized’
criu-4.1.1/criu/mem.c:665:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:670:15: branch_false: ...to here
criu-4.1.1/criu/mem.c:670:15: call_function: calling ‘__parasite_dump_pages_seized’ from ‘parasite_dump_pages_seized’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
criu-4.1.1/criu/mem.c:48:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mem.c:608:5: enter_function: entry to ‘parasite_dump_pages_seized’
criu-4.1.1/criu/mem.c:665:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:670:15: branch_false: ...to here
criu-4.1.1/criu/mem.c:670:15: call_function: calling ‘__parasite_dump_pages_seized’ from ‘parasite_dump_pages_seized’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
criu-4.1.1/criu/mem.c:927:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/mem.c:1302:5: enter_function: entry to ‘prepare_mappings’
criu-4.1.1/criu/mem.c:1313:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1317:27: branch_false: ...to here
criu-4.1.1/criu/mem.c:1318:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1324:9: branch_false: ...to here
criu-4.1.1/criu/mem.c:1330:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1333:13: branch_false: ...to here
criu-4.1.1/criu/mem.c:1333:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1336:9: branch_false: ...to here
criu-4.1.1/criu/mem.c:1338:15: call_function: calling ‘premap_priv_vmas’ from ‘prepare_mappings’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
criu-4.1.1/criu/mem.c:946:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/mem.c:1019:12: enter_function: entry to ‘premap_priv_vmas’
criu-4.1.1/criu/mem.c:1028:9: branch_true: following ‘true’ branch (when ‘vma != vmas’)...
criu-4.1.1/criu/mem.c:1033:30: branch_true: ...to here
criu-4.1.1/criu/mem.c:1033:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1040:22: branch_false: ...to here
criu-4.1.1/criu/mem.c:1040:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mem.c:1043:21: branch_true: ...to here
criu-4.1.1/criu/mem.c:1043:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1047:21: branch_false: ...to here
criu-4.1.1/criu/mem.c:1047:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1050:21: branch_false: ...to here
criu-4.1.1/criu/mem.c:1068:23: call_function: calling ‘premap_private_vma’ from ‘premap_priv_vmas’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
criu-4.1.1/criu/mem.c:1154:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mem.c:1104:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1107:52: branch_false: ...to here
criu-4.1.1/criu/mem.c:1141:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1143:34: branch_false: ...to here
criu-4.1.1/criu/mem.c:1143:33: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mem.c:1148:30: branch_false: ...to here
criu-4.1.1/criu/mem.c:1148:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mem.c:1149:53: branch_true: ...to here
criu-4.1.1/criu/mem.c:1151:36: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mem.c:1152:41: branch_true: ...to here
criu-4.1.1/criu/mem.c:1154:41: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
criu-4.1.1/criu/mount-v2.c:456:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.plain_mountpoint, 2097152)’
criu-4.1.1/criu/mount-v2.c:449:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:450:27: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:450:22: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:451:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:456:21: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:456:21: danger: ‘open(*mi.plain_mountpoint, 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
criu-4.1.1/criu/mount-v2.c:491:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:491:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:491:9: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:491:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:491:9: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:491:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
criu-4.1.1/criu/mount-v2.c:643:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:643:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:643:9: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:643:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def370]
criu-4.1.1/criu/mount-v2.c:659:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(*mi.plain_mountpoint, 384)’
criu-4.1.1/criu/mount-v2.c:643:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:645:9: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:646:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:654:28: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:654:22: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:655:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:659:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:659:17: danger: ‘creat(*mi.plain_mountpoint, 384)’ leaks here; was opened at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
criu-4.1.1/criu/mount-v2.c:793:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.mountpoint, 2097152)’
criu-4.1.1/criu/mount-v2.c:787:14: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:793:24: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:793:24: danger: ‘open(*mi.mountpoint, 2097152)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def372]
criu-4.1.1/criu/mount-v2.c:812:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*mi.mountpoint, 2097152)’
criu-4.1.1/criu/mount-v2.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:793:24: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:795:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:800:9: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:801:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:806:19: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:806:14: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:807:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:812:25: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:812:25: danger: ‘open(*mi.mountpoint, 2097152)’ leaks here; was opened at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def373]
criu-4.1.1/criu/mount-v2.c:861:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:859:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:860:26: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:861:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:861:17: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:861:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def374]
criu-4.1.1/criu/mount-v2.c:865:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:865:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:865:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:865:17: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:865:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def375]
criu-4.1.1/criu/mount-v2.c:885:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘src_fd’
criu-4.1.1/criu/mount-v2.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:865:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:865:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:870:48: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:871:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:876:26: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:876:26: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:877:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:882:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:885:18: danger: ‘src_fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def376]
criu-4.1.1/criu/mount-v2.c:886:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘src_fd’
criu-4.1.1/criu/mount-v2.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:865:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:865:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:870:48: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:871:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:876:26: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:876:26: acquire_resource: opened here
criu-4.1.1/criu/mount-v2.c:877:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:882:17: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:886:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:886:9: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:886:9: 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-476): [#def377]
criu-4.1.1/criu/mount-v2.c:886:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:859:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:860:26: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:861:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount-v2.c:885:18: branch_false: ...to here
criu-4.1.1/criu/mount-v2.c:886:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:886:9: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:886:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
criu-4.1.1/criu/mount-v2.c:938:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount-v2.c:938:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount-v2.c:938:9: branch_true: ...to here
criu-4.1.1/criu/mount-v2.c:938:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def379]
criu-4.1.1/criu/mount-v2.c:1086:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def380]
criu-4.1.1/criu/mount.c:48:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
criu-4.1.1/criu/mount.c:520:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:3970:5: enter_function: entry to ‘collect_mnt_namespaces’
criu-4.1.1/criu/mount.c:3979:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3982:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:4007:15: call_function: calling ‘resolve_external_mounts’ from ‘collect_mnt_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
criu-4.1.1/criu/mount.c:925:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2559:13: enter_function: entry to ‘can_mount_now’
criu-4.1.1/criu/mount.c:2637:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2639:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:2643:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.1.1/criu/mount.c:2644:25: branch_true: ...to here
criu-4.1.1/criu/mount.c:2644:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2648:39: branch_true: ...to here
criu-4.1.1/criu/mount.c:2648:39: call_function: calling ‘root_path_from_parent’ from ‘can_mount_now’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
criu-4.1.1/criu/mount.c:933:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2559:13: enter_function: entry to ‘can_mount_now’
criu-4.1.1/criu/mount.c:2637:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2639:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:2643:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.1.1/criu/mount.c:2644:25: branch_true: ...to here
criu-4.1.1/criu/mount.c:2644:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2648:39: branch_true: ...to here
criu-4.1.1/criu/mount.c:2648:39: call_function: calling ‘root_path_from_parent’ from ‘can_mount_now’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
criu-4.1.1/criu/mount.c:1028:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2559:13: enter_function: entry to ‘can_mount_now’
criu-4.1.1/criu/mount.c:2571:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2574:14: branch_false: ...to here
criu-4.1.1/criu/mount.c:2574:12: branch_true: following ‘true’ branch...
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
criu-4.1.1/criu/mount.c:2098:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2098:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2098:9: branch_true: ...to here
criu-4.1.1/criu/mount.c:2098:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
criu-4.1.1/criu/mount.c:2330:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2284:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2288:12: branch_false: ...to here
criu-4.1.1/criu/mount.c:2296:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2301:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:2304:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2321:12: branch_false: ...to here
criu-4.1.1/criu/mount.c:2330:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2330:9: branch_true: ...to here
criu-4.1.1/criu/mount.c:2330:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
criu-4.1.1/criu/mount.c:2569:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2569:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2569:9: branch_true: ...to here
criu-4.1.1/criu/mount.c:2569:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2569:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:2569:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def388]
criu-4.1.1/criu/mount.c:2624:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2620:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2623:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:2623:17: branch_true: following ‘true’ branch (when ‘p != mi’)...
criu-4.1.1/criu/mount.c:2624:25: branch_true: ...to here
criu-4.1.1/criu/mount.c:2624:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
criu-4.1.1/criu/mount.c:2649:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2637:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2639:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:2643:17: branch_true: following ‘true’ branch (when ‘s != mi’)...
criu-4.1.1/criu/mount.c:2644:25: branch_true: ...to here
criu-4.1.1/criu/mount.c:2644:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2648:39: branch_true: ...to here
criu-4.1.1/criu/mount.c:2649:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
criu-4.1.1/criu/mount.c:2754:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(service_mountpoint(mi), 2097152)’
criu-4.1.1/criu/mount.c:2715:12: enter_function: entry to ‘do_mount_one’
criu-4.1.1/criu/mount.c:2741:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2747:21: branch_false: ...to here
criu-4.1.1/criu/mount.c:2747:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:2748:35: branch_true: ...to here
criu-4.1.1/criu/mount.c:2748:30: acquire_resource: opened here
criu-4.1.1/criu/mount.c:2749:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:2754:29: branch_false: ...to here
criu-4.1.1/criu/mount.c:2754:29: danger: ‘open(service_mountpoint(mi), 2097152)’ leaks here; was opened at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def391]
criu-4.1.1/criu/mount.c:2853:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:2865:12: enter_function: entry to ‘find_remap_mounts’
criu-4.1.1/criu/mount.c:2875:13: call_function: calling ‘mnt_tree_for_each’ from ‘find_remap_mounts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
criu-4.1.1/criu/mount.c:3004:36: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/mount.c:3001:15: acquire_memory: allocated here
criu-4.1.1/criu/mount.c:3001:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/mount.c:3003:20: branch_false: ...to here
criu-4.1.1/criu/mount.c:3003:20: branch_true: following ‘true’ branch (when ‘rst != 0’)...
criu-4.1.1/criu/mount.c:3004:36: branch_true: ...to here
criu-4.1.1/criu/mount.c:3004:36: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
criu-4.1.1/criu/mount.c:3080:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:3080:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3080:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
criu-4.1.1/criu/mount.c:3286:30: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
criu-4.1.1/criu/mount.c:3367:5: enter_function: entry to ‘read_mnt_ns_img’
criu-4.1.1/criu/mount.c:3372:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3377:14: branch_false: ...to here
criu-4.1.1/criu/mount.c:3377:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.1.1/criu/mount.c:3378:36: branch_true: ...to here
criu-4.1.1/criu/mount.c:3380:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3383:21: branch_false: ...to here
criu-4.1.1/criu/mount.c:3383:21: call_function: calling ‘collect_mnt_from_image’ from ‘read_mnt_ns_img’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def395]
criu-4.1.1/criu/mount.c:3483:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:3458:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3461:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3461:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3474:20: branch_false: following ‘false’ branch (when ‘parent’ is NULL)...
criu-4.1.1/criu/mount.c:3477:24: branch_false: ...to here
criu-4.1.1/criu/mount.c:3478:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3483:17: branch_false: ...to here
criu-4.1.1/criu/mount.c:3483:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3483:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3483:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
criu-4.1.1/criu/mount.c:3609:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3631:5: enter_function: entry to ‘depopulate_roots_yard’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3665:13: call_function: calling ‘__depopulate_roots_yard’ from ‘depopulate_roots_yard’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def397]
criu-4.1.1/criu/mount.c:3619:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3631:5: enter_function: entry to ‘depopulate_roots_yard’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3665:13: call_function: calling ‘__depopulate_roots_yard’ from ‘depopulate_roots_yard’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def398]
criu-4.1.1/criu/mount.c:3624:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3631:5: enter_function: entry to ‘depopulate_roots_yard’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3665:13: call_function: calling ‘__depopulate_roots_yard’ from ‘depopulate_roots_yard’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
criu-4.1.1/criu/mount.c:3649:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
criu-4.1.1/criu/mount.c:3651:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_true: ...to here
criu-4.1.1/criu/mount.c:3651:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
criu-4.1.1/criu/mount.c:3652:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_true: ...to here
criu-4.1.1/criu/mount.c:3652:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def402]
criu-4.1.1/criu/mount.c:3656:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3656:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3656:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
criu-4.1.1/criu/mount.c:3657:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3656:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3657:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def404]
criu-4.1.1/criu/mount.c:3658:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3656:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3658:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def405]
criu-4.1.1/criu/mount.c:3662:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3662:13: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def406]
criu-4.1.1/criu/mount.c:3669:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3668:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3669:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3669:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def407]
criu-4.1.1/criu/mount.c:3672:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/mount.c:3635:12: branch_false: following ‘false’ branch (when ‘mntns_fd >= 0’)...
criu-4.1.1/criu/mount.c:3641:9: branch_false: ...to here
criu-4.1.1/criu/mount.c:3643:19: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3649:18: branch_false: ...to here
criu-4.1.1/criu/mount.c:3649:18: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3655:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3655:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3662:13: branch_false: ...to here
criu-4.1.1/criu/mount.c:3672:9: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def408]
criu-4.1.1/criu/mount.c:3817:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/mount.c:3824:5: enter_function: entry to ‘__mntns_get_root_fd’
criu-4.1.1/criu/mount.c:3830:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3833:14: branch_false: ...to here
criu-4.1.1/criu/mount.c:3833:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3841:22: branch_true: ...to here
criu-4.1.1/criu/mount.c:3841:22: acquire_resource: opened here
criu-4.1.1/criu/mount.c:3842:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:3847:17: branch_false: ...to here
criu-4.1.1/criu/mount.c:3877:16: call_function: inlined call to ‘mntns_set_root_fd’ from ‘__mntns_get_root_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
criu-4.1.1/criu/mount.c:3942:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:3940:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3941:25: branch_true: ...to here
criu-4.1.1/criu/mount.c:3942:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:3942:17: branch_true: ...to here
criu-4.1.1/criu/mount.c:3942:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
criu-4.1.1/criu/mount.c:4141:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/mount.c:4134:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/mount.c:4137:12: branch_false: ...to here
criu-4.1.1/criu/mount.c:4141:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/mount.c:4141:9: branch_true: ...to here
criu-4.1.1/criu/mount.c:4141:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
criu-4.1.1/criu/namespaces.c:150:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:146:14: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:150:23: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/namespaces.c:150:23: branch_true: ...to here
criu-4.1.1/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): [#def412]
criu-4.1.1/criu/namespaces.c:169:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:146:14: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:150:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:151:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:156:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:156:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:159:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:159:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:162:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:162:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:165:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:165:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:168:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:168:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:169:17: branch_true: ...to here
criu-4.1.1/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): [#def413]
criu-4.1.1/criu/namespaces.c:174:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/namespaces.c:139:5: enter_function: entry to ‘join_ns_add’
criu-4.1.1/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:150:23: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:150:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:151:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:156:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:156:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:159:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:159:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:162:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:162:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:165:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:165:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:168:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:168:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:171:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:171:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:172:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:173:21: call_function: calling ‘set_user_extra_opts’ from ‘join_ns_add’
criu-4.1.1/criu/namespaces.c:173:21: return_function: returning to ‘join_ns_add’ from ‘set_user_extra_opts’
criu-4.1.1/criu/namespaces.c:173:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:174:25: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:174:25: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
criu-4.1.1/criu/namespaces.c:182:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/namespaces.c:143:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:146:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:146:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:23: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:150:23: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:150:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:150:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:151:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:156:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:156:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:159:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:159:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:162:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:162:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:165:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:165:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:168:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:168:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:171:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:171:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:178:21: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:178:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:182:17: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:182:17: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def415]
criu-4.1.1/criu/namespaces.c:204:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:200:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:201:25: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:201:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:203:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:204:33: branch_true: following ‘true’ branch (when ‘kid > 4294967295’)...
criu-4.1.1/criu/namespaces.c:204:33: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:204:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
criu-4.1.1/criu/namespaces.c:235:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
criu-4.1.1/criu/namespaces.c:241:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def418]
criu-4.1.1/criu/namespaces.c:251:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def419]
criu-4.1.1/criu/namespaces.c:258:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def420]
criu-4.1.1/criu/namespaces.c:267:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:285:5: enter_function: entry to ‘switch_mnt_ns’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:13: call_function: calling ‘switch_ns’ from ‘switch_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def421]
criu-4.1.1/criu/namespaces.c:299:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 2097152)’
criu-4.1.1/criu/namespaces.c:289:12: branch_false: following ‘false’ branch (when ‘cwd_fd’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:292:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:292:14: acquire_resource: opened here
criu-4.1.1/criu/namespaces.c:293:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:298:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:298:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:299:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:299:17: danger: ‘open(".", 2097152)’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
criu-4.1.1/criu/namespaces.c:455:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:449:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:452:20: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:452:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:454:37: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:454:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:455:25: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:455:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:455:25: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:455:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
criu-4.1.1/criu/namespaces.c:509:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:494:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:497:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:499:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:508:15: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:509:9: branch_true: following ‘true’ branch (when ‘kid == 0’)...
criu-4.1.1/criu/namespaces.c:509:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:509:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
criu-4.1.1/criu/namespaces.c:842:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:830:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:830:13: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:830:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.1.1/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:842:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/namespaces.c:842:29: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:842:29: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
criu-4.1.1/criu/namespaces.c:850:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.1.1/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:842:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:848:31: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:850:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
criu-4.1.1/criu/namespaces.c:850:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/namespaces.c:830:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:830:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:830:13: acquire_memory: allocated here
criu-4.1.1/criu/namespaces.c:830:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:831:12: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:831:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/namespaces.c:838:20: branch_true: following ‘true’ branch (when ‘len == size’)...
criu-4.1.1/criu/namespaces.c:841:32: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:842:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:848:31: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:850:17: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
criu-4.1.1/criu/namespaces.c:1262:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
criu-4.1.1/criu/namespaces.c:1276:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
criu-4.1.1/criu/namespaces.c:1277:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1277:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
criu-4.1.1/criu/namespaces.c:1278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1278:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1278:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1278:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
criu-4.1.1/criu/namespaces.c:1279:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1279:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1279:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1279:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
criu-4.1.1/criu/namespaces.c:1289:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1270:6: enter_function: entry to ‘unsc_msg_pid_fd’
criu-4.1.1/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1279:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1281:12: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1286:14: call_function: inlined call to ‘__cmsg_nxthdr’ from ‘unsc_msg_pid_fd’
criu-4.1.1/criu/namespaces.c:1288:13: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1289:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1289:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
criu-4.1.1/criu/namespaces.c:1290:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1270:6: enter_function: entry to ‘unsc_msg_pid_fd’
criu-4.1.1/criu/namespaces.c:1275:14: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1275:9: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1276:9: branch_false: following ‘false’ branch (when ‘ch’ is non-NULL)...
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1277:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1278:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1279:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1279:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1281:12: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1286:14: call_function: inlined call to ‘__cmsg_nxthdr’ from ‘unsc_msg_pid_fd’
criu-4.1.1/criu/namespaces.c:1288:13: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1289:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1289:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1290:17: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1290:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1290:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1290:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
criu-4.1.1/criu/namespaces.c:1400:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/namespaces.c:1370:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1375:13: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1375:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1378:14: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1379:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/namespaces.c:1383:9: branch_false: ...to here
criu-4.1.1/criu/namespaces.c:1385:12: branch_true: following ‘true’ branch (when ‘async != 0’)...
criu-4.1.1/criu/namespaces.c:1400:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1400:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/namespaces.c:1400:17: branch_true: ...to here
criu-4.1.1/criu/namespaces.c:1400:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
criu-4.1.1/criu/net.c:260:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2652:12: enter_function: entry to ‘restore_netns_conf’
criu-4.1.1/criu/net.c:2657:12: branch_false: following ‘false’ branch (when ‘netns’ is non-NULL)...
criu-4.1.1/criu/net.c:2661:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2661:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2662:63: branch_true: ...to here
criu-4.1.1/criu/net.c:2662:23: call_function: calling ‘ipv4_conf_op’ from ‘restore_netns_conf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
criu-4.1.1/criu/net.c:323:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2652:12: enter_function: entry to ‘restore_netns_conf’
criu-4.1.1/criu/net.c:2657:12: branch_false: following ‘false’ branch (when ‘netns’ is non-NULL)...
criu-4.1.1/criu/net.c:2661:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2661:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2662:63: branch_true: ...to here
criu-4.1.1/criu/net.c:2662:23: call_function: calling ‘ipv4_conf_op’ from ‘restore_netns_conf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
criu-4.1.1/criu/net.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2652:12: enter_function: entry to ‘restore_netns_conf’
criu-4.1.1/criu/net.c:2657:12: branch_false: following ‘false’ branch (when ‘netns’ is non-NULL)...
criu-4.1.1/criu/net.c:2661:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2661:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2662:63: branch_true: ...to here
criu-4.1.1/criu/net.c:2662:23: call_function: calling ‘ipv4_conf_op’ from ‘restore_netns_conf’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def438]
criu-4.1.1/criu/net.c:968:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
criu-4.1.1/criu/net.c:975:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
criu-4.1.1/criu/net.c:982:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
criu-4.1.1/criu/net.c:989:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def442]
criu-4.1.1/criu/net.c:997:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
criu-4.1.1/criu/net.c:1025:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def444]
criu-4.1.1/criu/net.c:1033:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
criu-4.1.1/criu/net.c:1033:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
criu-4.1.1/criu/net.c:1039:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
criu-4.1.1/criu/net.c:1044:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
criu-4.1.1/criu/net.c:1044:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def449]
criu-4.1.1/criu/net.c:1048:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def450]
criu-4.1.1/criu/net.c:1065:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2933:12: enter_function: entry to ‘prepare_net_ns_second_stage’
criu-4.1.1/criu/net.c:2954:23: call_function: calling ‘restore_nf_ct’ from ‘prepare_net_ns_second_stage’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
criu-4.1.1/criu/net.c:1218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def452]
criu-4.1.1/criu/net.c:1219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def453]
criu-4.1.1/criu/net.c:1231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def454]
criu-4.1.1/criu/net.c:1311:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
criu-4.1.1/criu/net.c:1512:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/net.c:1881:12: enter_function: entry to ‘__restore_links’
criu-4.1.1/criu/net.c:1886:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:1889:21: branch_true: ...to here
criu-4.1.1/criu/net.c:1889:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:1892:17: branch_false: ...to here
criu-4.1.1/criu/net.c:1895:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:1909:23: branch_false: ...to here
criu-4.1.1/criu/net.c:1909:23: call_function: calling ‘restore_link’ from ‘__restore_links’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
criu-4.1.1/criu/net.c:1960:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
criu-4.1.1/criu/net.c:1960:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2379:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2384:12: branch_false: ...to here
criu-4.1.1/criu/net.c:2384:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.1.1/criu/net.c:2389:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2389:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
criu-4.1.1/criu/net.c:1966:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
criu-4.1.1/criu/net.c:1966:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2379:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2384:12: branch_false: ...to here
criu-4.1.1/criu/net.c:2384:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.1.1/criu/net.c:2389:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2389:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
criu-4.1.1/criu/net.c:1969:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2379:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2384:12: branch_false: ...to here
criu-4.1.1/criu/net.c:2384:12: branch_true: following ‘true’ branch (when ‘type == 26’)...
criu-4.1.1/criu/net.c:2389:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2389:17: call_function: calling ‘run_ip_tool’ from ‘restore_ip_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
criu-4.1.1/criu/net.c:2029:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘run_ip_tool’
criu-4.1.1/criu/net.c:2028:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2029:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2029:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
criu-4.1.1/criu/net.c:2030:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2017:19: enter_function: entry to ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: call_function: calling ‘img_from_set’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2022:15: return_function: returning to ‘dump_rule’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2023:16: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2023:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2028:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘img_raw_fd’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2028:13: call_function: calling ‘run_ip_tool’ from ‘dump_rule’
criu-4.1.1/criu/net.c:2028:13: return_function: returning to ‘dump_rule’ from ‘run_ip_tool’
criu-4.1.1/criu/net.c:2028:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2029:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2030:17: danger: ‘___p’ leaks here; was allocated at [(7)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
criu-4.1.1/criu/net.c:2109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
criu-4.1.1/criu/net.c:2078:19: enter_function: entry to ‘dump_nftables’
criu-4.1.1/criu/net.c:2087:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2090:15: branch_false: ...to here
criu-4.1.1/criu/net.c:2090:15: call_function: calling ‘img_from_set’ from ‘dump_nftables’
criu-4.1.1/criu/net.c:2090:15: return_function: returning to ‘dump_nftables’ from ‘img_from_set’
criu-4.1.1/criu/net.c:2091:18: call_function: calling ‘img_raw_fd’ from ‘dump_nftables’
criu-4.1.1/criu/net.c:2091:18: return_function: returning to ‘dump_nftables’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2092:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2096:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2097:12: branch_false: following ‘false’ branch (when ‘img_fd >= 0’)...
criu-4.1.1/criu/net.c:2102:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2102:14: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2103:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
criu-4.1.1/criu/net.c:2109:9: branch_false: ...to here
criu-4.1.1/criu/net.c:2109:9: danger: ‘fp’ leaks here; was allocated at [(18)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
criu-4.1.1/criu/net.c:2372:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2369:16: branch_true: following ‘true’ branch (when ‘n > 0’)...
criu-4.1.1/criu/net.c:2370:27: branch_true: ...to here
criu-4.1.1/criu/net.c:2372:25: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
criu-4.1.1/criu/net.c:2379:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2379:13: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
criu-4.1.1/criu/net.c:2380:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
criu-4.1.1/criu/net.c:2346:12: enter_function: entry to ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2354:13: call_function: inlined call to ‘empty_image’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: branch_false: ...to here
criu-4.1.1/criu/net.c:2358:18: call_function: calling ‘img_raw_fd’ from ‘restore_ip_dump’
criu-4.1.1/criu/net.c:2358:18: return_function: returning to ‘restore_ip_dump’ from ‘img_raw_fd’
criu-4.1.1/criu/net.c:2359:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2363:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2363:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2364:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/net.c:2379:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2380:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2380:17: danger: ‘tmpfile()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def467]
criu-4.1.1/criu/net.c:2437:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/run/xtables.lock", 0)’
criu-4.1.1/criu/net.c:2435:14: acquire_resource: opened here
criu-4.1.1/criu/net.c:2436:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2437:17: branch_true: ...to here
criu-4.1.1/criu/net.c:2437:17: danger: ‘open("/run/xtables.lock", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def468]
criu-4.1.1/criu/net.c:2706:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/net.c:2706:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2706:9: branch_true: ...to here
criu-4.1.1/criu/net.c:2706:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
criu-4.1.1/criu/net.c:2768:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/net.c:2758:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2761:13: branch_false: ...to here
criu-4.1.1/criu/net.c:2761:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2764:20: branch_false: ...to here
criu-4.1.1/criu/net.c:2764:20: acquire_memory: allocated here
criu-4.1.1/criu/net.c:2764:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2768:9: branch_false: ...to here
criu-4.1.1/criu/net.c:2768:9: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def470]
criu-4.1.1/criu/net.c:2893:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def471]
criu-4.1.1/criu/net.c:2900:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2896:36: branch_false: ...to here
criu-4.1.1/criu/net.c:2900:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def472]
criu-4.1.1/criu/net.c:2902:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2896:36: branch_false: ...to here
criu-4.1.1/criu/net.c:2901:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2902:25: branch_true: ...to here
criu-4.1.1/criu/net.c:2902:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def473]
criu-4.1.1/criu/net.c:2912:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2912:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
criu-4.1.1/criu/net.c:3109:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/net.c:3099:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3104:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3109:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3109:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3109:17: branch_true: ...to here
criu-4.1.1/criu/net.c:3109:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def475]
criu-4.1.1/criu/net.c:3163:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:13: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def476]
criu-4.1.1/criu/net.c:3163:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:13: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def477]
criu-4.1.1/criu/net.c:3164:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3164:17: branch_true: ...to here
criu-4.1.1/criu/net.c:3164:17: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def478]
criu-4.1.1/criu/net.c:3164:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3164:17: branch_true: ...to here
criu-4.1.1/criu/net.c:3164:17: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def479]
criu-4.1.1/criu/net.c:3167:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3167:9: branch_false: ...to here
criu-4.1.1/criu/net.c:3167:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def480]
criu-4.1.1/criu/net.c:3167:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3167:9: branch_false: ...to here
criu-4.1.1/criu/net.c:3167:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def481]
criu-4.1.1/criu/net.c:3171:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3164:17: branch_true: ...to here
criu-4.1.1/criu/net.c:3171:9: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def482]
criu-4.1.1/criu/net.c:3171:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/net.c:3158:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3163:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3163:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3164:17: branch_true: ...to here
criu-4.1.1/criu/net.c:3171:9: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
criu-4.1.1/criu/net.c:3202:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
criu-4.1.1/criu/net.c:3183:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1.1/criu/net.c:3188:14: branch_false: ...to here
criu-4.1.1/criu/net.c:3188:14: acquire_memory: allocated here
criu-4.1.1/criu/net.c:3189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
criu-4.1.1/criu/net.c:3200:9: branch_false: ...to here
criu-4.1.1/criu/net.c:3202:9: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def484]
criu-4.1.1/criu/net.c:3359:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/net.c:3353:14: acquire_resource: opened here
criu-4.1.1/criu/net.c:3354:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3359:15: branch_false: ...to here
criu-4.1.1/criu/net.c:3359:15: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def485]
criu-4.1.1/criu/net.c:3552:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1.1/criu/net.c:3498:12: branch_true: following ‘true’ branch (when ‘for_dump != 0’)...
criu-4.1.1/criu/net.c:3499:38: branch_true: ...to here
criu-4.1.1/criu/net.c:3499:38: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3500:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3536:13: branch_false: ...to here
criu-4.1.1/criu/net.c:3536:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3552:31: branch_false: ...to here
criu-4.1.1/criu/net.c:3552:15: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def486]
criu-4.1.1/criu/net.c:3742:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
criu-4.1.1/criu/net.c:3707:12: enter_function: entry to ‘move_to_bridge’
criu-4.1.1/criu/net.c:3714:15: call_function: calling ‘external_val’ from ‘move_to_bridge’
criu-4.1.1/criu/net.c:3714:15: return_function: returning to ‘move_to_bridge’ from ‘external_val’
criu-4.1.1/criu/net.c:3715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3718:14: branch_false: ...to here
criu-4.1.1/criu/net.c:3719:12: branch_false: following ‘false’ branch (when ‘br’ is non-NULL)...
criu-4.1.1/criu/net.c:3722:9: branch_false: ...to here
criu-4.1.1/criu/net.c:3728:20: branch_true: following ‘true’ branch (when ‘s == -1’)...
criu-4.1.1/criu/net.c:3729:29: branch_true: ...to here
criu-4.1.1/criu/net.c:3729:29: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3730:28: branch_false: following ‘false’ branch (when ‘s >= 0’)...
criu-4.1.1/criu/net.c:3740:35: branch_false: ...to here
criu-4.1.1/criu/net.c:3741:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:3742:25: branch_true: ...to here
criu-4.1.1/criu/net.c:3742:25: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
criu-4.1.1/criu/net.c:3746:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
criu-4.1.1/criu/net.c:3707:12: enter_function: entry to ‘move_to_bridge’
criu-4.1.1/criu/net.c:3714:15: call_function: calling ‘external_val’ from ‘move_to_bridge’
criu-4.1.1/criu/net.c:3714:15: return_function: returning to ‘move_to_bridge’ from ‘external_val’
criu-4.1.1/criu/net.c:3715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3718:14: branch_false: ...to here
criu-4.1.1/criu/net.c:3719:12: branch_false: following ‘false’ branch (when ‘br’ is non-NULL)...
criu-4.1.1/criu/net.c:3722:9: branch_false: ...to here
criu-4.1.1/criu/net.c:3728:20: branch_true: following ‘true’ branch (when ‘s == -1’)...
criu-4.1.1/criu/net.c:3729:29: branch_true: ...to here
criu-4.1.1/criu/net.c:3729:29: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3730:28: branch_false: following ‘false’ branch (when ‘s >= 0’)...
criu-4.1.1/criu/net.c:3740:35: branch_false: ...to here
criu-4.1.1/criu/net.c:3741:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3746:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3746:17: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def488]
criu-4.1.1/criu/net.c:3845:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2876:12: enter_function: entry to ‘restore_netns_ids’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2896:36: branch_false: ...to here
criu-4.1.1/criu/net.c:2901:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2906:56: branch_false: ...to here
criu-4.1.1/criu/net.c:2906:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def489]
criu-4.1.1/criu/net.c:3847:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2876:12: enter_function: entry to ‘restore_netns_ids’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2896:36: branch_false: ...to here
criu-4.1.1/criu/net.c:2901:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2906:56: branch_false: ...to here
criu-4.1.1/criu/net.c:2906:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def490]
criu-4.1.1/criu/net.c:3850:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:2876:12: enter_function: entry to ‘restore_netns_ids’
criu-4.1.1/criu/net.c:2880:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2883:14: branch_false: ...to here
criu-4.1.1/criu/net.c:2883:14: acquire_resource: socket created here
criu-4.1.1/criu/net.c:2884:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
branch_false: ...to here
criu-4.1.1/criu/net.c:2889:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/net.c:2893:22: branch_true: ...to here
criu-4.1.1/criu/net.c:2893:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/net.c:2896:36: branch_false: ...to here
criu-4.1.1/criu/net.c:2901:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:2906:56: branch_false: ...to here
criu-4.1.1/criu/net.c:2906:21: call_function: calling ‘net_set_nsid’ from ‘restore_netns_ids’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def491]
criu-4.1.1/criu/net.c:3890:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def492]
criu-4.1.1/criu/net.c:3893:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def493]
criu-4.1.1/criu/net.c:3898:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def494]
criu-4.1.1/criu/net.c:3900:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/net.c:3950:5: enter_function: entry to ‘kerndat_link_nsid’
criu-4.1.1/criu/net.c:3956:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/net.c:3961:12: branch_false: ...to here
criu-4.1.1/criu/net.c:3961:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/net.c:3963:32: branch_true: ...to here
criu-4.1.1/criu/net.c:3970:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3975:24: branch_false: ...to here
criu-4.1.1/criu/net.c:3975:24: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3979:21: branch_false: ...to here
criu-4.1.1/criu/net.c:3979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/net.c:3984:22: branch_false: ...to here
criu-4.1.1/criu/net.c:3984:22: acquire_resource: socket created here
criu-4.1.1/criu/net.c:3985:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/net.c:3990:17: branch_false: ...to here
criu-4.1.1/criu/net.c:3999:23: call_function: calling ‘restore_one_link’ from ‘kerndat_link_nsid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
criu-4.1.1/criu/page-pipe.c:36:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.1.1/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: CPPCHECK_WARNING (CWE-476): [#def496]
criu-4.1.1/criu/page-pipe.c:41: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
criu-4.1.1/criu/page-pipe.c:41:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.1.1/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
criu-4.1.1/criu/page-pipe.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-pipe.c:37:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:40:13: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:41:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:41:9: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
criu-4.1.1/criu/page-pipe.c:43:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:98:30: enter_function: entry to ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: call_function: calling ‘pp_prev_ppb’ from ‘ppb_alloc’
criu-4.1.1/criu/page-pipe.c:100:38: return_function: returning to ‘ppb_alloc’ from ‘pp_prev_ppb’
criu-4.1.1/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:109:21: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:109:21: call_function: calling ‘ppb_resize_pipe’ from ‘ppb_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
criu-4.1.1/criu/page-pipe.c:104:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
criu-4.1.1/criu/page-pipe.c:107:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
criu-4.1.1/criu/page-pipe.c:118:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def503]
criu-4.1.1/criu/page-pipe.c:121:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:121:17: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
criu-4.1.1/criu/page-pipe.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:104:15: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.1.1/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): [#def505]
criu-4.1.1/criu/page-pipe.c:124:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:124:28: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
criu-4.1.1/criu/page-pipe.c:124:28: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def507]
criu-4.1.1/criu/page-pipe.c:126:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:125:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:126:25: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:126:25: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
criu-4.1.1/criu/page-pipe.c:127:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
criu-4.1.1/criu/page-pipe.c:165:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_false: following ‘false’ branch (when ‘iovs’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:208:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
criu-4.1.1/criu/page-pipe.c:203:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-pipe.c:193:14: acquire_memory: allocated here
criu-4.1.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:202:12: branch_true: following ‘true’ branch (when ‘iovs’ is NULL)...
criu-4.1.1/criu/page-pipe.c:203:24: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:203:24: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/page-pipe.c:203:24: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:203:24: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def511]
criu-4.1.1/criu/page-pipe.c:242: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def512]
criu-4.1.1/criu/page-pipe.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-pipe.c:242:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:242:9: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:242:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def513]
criu-4.1.1/criu/page-pipe.c:252: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def514]
criu-4.1.1/criu/page-pipe.c:270: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
criu-4.1.1/criu/page-pipe.c:270:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-pipe.c:258:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:261:13: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:261:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-pipe.c:264:13: branch_false: ...to here
criu-4.1.1/criu/page-pipe.c:270:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-pipe.c:270:9: branch_true: ...to here
criu-4.1.1/criu/page-pipe.c:270:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def516]
criu-4.1.1/criu/page-pipe.c:278: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
criu-4.1.1/criu/page-pipe.c:278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def518]
criu-4.1.1/criu/page-pipe.c:295: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
criu-4.1.1/criu/page-xfer.c:77:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
criu-4.1.1/criu/page-xfer.c:442:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-xfer.c:877:5: enter_function: entry to ‘page_xfer_dump_pages’
criu-4.1.1/criu/page-xfer.c:885:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:888:17: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:890:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:891:44: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:894:31: call_function: calling ‘dump_holes’ from ‘page_xfer_dump_pages’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
criu-4.1.1/criu/page-xfer.c:459:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-xfer.c:877:5: enter_function: entry to ‘page_xfer_dump_pages’
criu-4.1.1/criu/page-xfer.c:885:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:888:17: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:890:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:891:44: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:894:31: call_function: calling ‘dump_holes’ from ‘page_xfer_dump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
criu-4.1.1/criu/page-xfer.c:649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def523]
criu-4.1.1/criu/page-xfer.c:656:21: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def524]
criu-4.1.1/criu/page-xfer.c:656:56: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def525]
criu-4.1.1/criu/page-xfer.c:657:25: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
criu-4.1.1/criu/page-xfer.c:735:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
criu-4.1.1/criu/page-xfer.c:739:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
criu-4.1.1/criu/page-xfer.c:744:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:775:5: enter_function: entry to ‘page_xfer_predump_pages’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:819:30: call_function: calling ‘fill_userbuf’ from ‘page_xfer_predump_pages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
criu-4.1.1/criu/page-xfer.c:803:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:801:32: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:802:28: branch_true: following ‘true’ branch (when ‘addr == 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:803:33: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:803: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): [#def530]
criu-4.1.1/criu/page-xfer.c:808:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:801:32: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:802:28: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:806:39: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:808:32: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/page-xfer.c:808:32: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:808: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): [#def531]
criu-4.1.1/criu/page-xfer.c:813:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/page-xfer.c:789:12: branch_false: following ‘false’ branch (when ‘userbuf != 18446744073709551615’)...
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:793:19: acquire_memory: allocated here
criu-4.1.1/criu/page-xfer.c:793:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/page-xfer.c:797:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:797:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:798:21: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:798:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:813:17: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:813: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): [#def532]
criu-4.1.1/criu/page-xfer.c:1626:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/page-xfer.c:1620:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/page-xfer.c:1626:9: branch_false: ...to here
criu-4.1.1/criu/page-xfer.c:1626:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/page-xfer.c:1626:9: branch_true: ...to here
criu-4.1.1/criu/page-xfer.c:1626:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
criu-4.1.1/criu/page-xfer.c:1635:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def534]
criu-4.1.1/criu/pagemap-cache.c:52:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pagemap-cache.c:52:9: branch_true: following ‘true’ branch (when ‘vma_head’ is NULL)...
criu-4.1.1/criu/pagemap-cache.c:52:9: branch_true: ...to here
criu-4.1.1/criu/pagemap-cache.c:52:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def535]
criu-4.1.1/criu/pagemap-cache.c:143:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pagemap-cache.c:132:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap-cache.c:132:13: branch_false: ...to here
criu-4.1.1/criu/pagemap-cache.c:132:13: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap-cache.c:139:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap-cache.c:140:29: branch_true: ...to here
criu-4.1.1/criu/pagemap-cache.c:140:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap-cache.c:143:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap-cache.c:143:25: branch_true: ...to here
criu-4.1.1/criu/pagemap-cache.c:143:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def536]
criu-4.1.1/criu/pagemap-cache.c:174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pagemap-cache.c:174:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap-cache.c:174:9: branch_true: ...to here
criu-4.1.1/criu/pagemap-cache.c:174:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def537]
criu-4.1.1/criu/pagemap-cache.c:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pagemap-cache.c:174:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap-cache.c:175:9: branch_false: ...to here
criu-4.1.1/criu/pagemap-cache.c:175:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap-cache.c:175:9: branch_true: ...to here
criu-4.1.1/criu/pagemap-cache.c:175:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def538]
criu-4.1.1/criu/pagemap.c:596:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pagemap.c:596:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pagemap.c:596:9: branch_true: ...to here
criu-4.1.1/criu/pagemap.c:596:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
criu-4.1.1/criu/pagemap.c:642:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
criu-4.1.1/criu/pagemap.c:647:18: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:756:5: enter_function: entry to ‘open_page_read_at’
criu-4.1.1/criu/pagemap.c:798:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:801:13: call_function: inlined call to ‘empty_image’ from ‘open_page_read_at’
criu-4.1.1/criu/pagemap.c:806:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:806:13: call_function: calling ‘try_open_parent’ from ‘open_page_read_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
criu-4.1.1/criu/pagemap.c:668:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
criu-4.1.1/criu/pagemap.c:782:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def543]
criu-4.1.1/criu/pagemap.c:782:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
criu-4.1.1/criu/pagemap.c:797:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: acquire_memory: allocated here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
criu-4.1.1/criu/pagemap.c:802:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
criu-4.1.1/criu/pagemap.c:807:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
criu-4.1.1/criu/pagemap.c:811:18: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pagemap.c:633:12: enter_function: entry to ‘try_open_parent’
criu-4.1.1/criu/pagemap.c:639:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:642:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:642:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:644:13: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:644:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pagemap.c:647:18: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:647:18: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pagemap.c:651:15: branch_false: ...to here
criu-4.1.1/criu/pagemap.c:651:15: call_function: calling ‘open_page_read_at’ from ‘try_open_parent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def548]
criu-4.1.1/criu/parasite-syscall.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
criu-4.1.1/criu/parasite-syscall.c:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:109:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def550]
criu-4.1.1/criu/parasite-syscall.c:110:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:110:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def551]
criu-4.1.1/criu/parasite-syscall.c:111:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:111:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:111:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:111:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def552]
criu-4.1.1/criu/parasite-syscall.c:112:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:111:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:112:9: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:112:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:112:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:112:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
criu-4.1.1/criu/parasite-syscall.c:187:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:187:9: branch_true: following ‘true’ branch (when ‘id == 0’)...
criu-4.1.1/criu/parasite-syscall.c:187:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:187:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
criu-4.1.1/criu/parasite-syscall.c:350:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.1.1/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_true: ...to here
criu-4.1.1/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): [#def555]
criu-4.1.1/criu/parasite-syscall.c:358:40: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.1.1/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:357:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:358:34: branch_true: ...to here
criu-4.1.1/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): [#def556]
criu-4.1.1/criu/parasite-syscall.c:362:34: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:350:21: acquire_memory: allocated here
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:357:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:362:28: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:362:34: 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): [#def557]
criu-4.1.1/criu/parasite-syscall.c:366:32: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/parasite-syscall.c:346:23: acquire_memory: allocated here
criu-4.1.1/criu/parasite-syscall.c:346:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:350:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:351:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:354:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:355:36: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:357:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:362:28: branch_false: ...to here
criu-4.1.1/criu/parasite-syscall.c:363:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/parasite-syscall.c:366:26: branch_false: ...to here
criu-4.1.1/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): [#def558]
criu-4.1.1/criu/parasite-syscall.c:388:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/parasite-syscall.c:388:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/parasite-syscall.c:388:9: branch_true: ...to here
criu-4.1.1/criu/parasite-syscall.c:388:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
criu-4.1.1/criu/pidfd-store.c:165:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/pidfd-store.c:142:5: enter_function: entry to ‘init_pidfd_store_hash’
criu-4.1.1/criu/pidfd-store.c:147:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
criu-4.1.1/criu/pidfd-store.c:148:17: branch_true: ...to here
criu-4.1.1/criu/pidfd-store.c:151:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pidfd-store.c:160:25: acquire_memory: allocated here
criu-4.1.1/criu/pidfd-store.c:160:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/pidfd-store.c:163:17: call_function: inlined call to ‘INIT_HLIST_NODE’ from ‘init_pidfd_store_hash’
criu-4.1.1/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): [#def560]
criu-4.1.1/criu/pidfd.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pidfd.c:187:12: enter_function: entry to ‘open_one_pidfd’
criu-4.1.1/criu/pidfd.c:195:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pidfd.c:204:34: branch_false: ...to here
criu-4.1.1/criu/pidfd.c:204:16: call_function: calling ‘lookup_dead_pidfd’ from ‘open_one_pidfd’
criu-4.1.1/criu/pidfd.c:204:16: return_function: returning to ‘open_one_pidfd’ from ‘lookup_dead_pidfd’
criu-4.1.1/criu/pidfd.c:205:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pidfd.c:205:9: branch_true: ...to here
criu-4.1.1/criu/pidfd.c:205:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def561]
criu-4.1.1/criu/pie-util-vdso-elf32.c:153:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie-util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.1.1/criu/pie-util-vdso-elf32.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable_compat’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def562]
criu-4.1.1/criu/pie-util-vdso-elf32.c:160:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie-util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.1.1/criu/pie-util-vdso-elf32.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable_compat’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def563]
criu-4.1.1/criu/pie-util-vdso.c:153:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie-util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1.1/criu/pie-util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def564]
criu-4.1.1/criu/pie-util-vdso.c:160:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie-util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1.1/criu/pie-util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
criu-4.1.1/criu/pie/parasite-vdso.c:132:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pie/parasite-vdso.c:131:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.1.1/criu/pie/parasite-vdso.c:132:17: branch_true: following ‘true’ branch (when ‘vdso_size < space’)...
criu-4.1.1/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.1.1/criu/pie/parasite-vdso.c:132:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def566]
criu-4.1.1/criu/pie/parasite-vdso.c:136:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pie/parasite-vdso.c:131:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pie/parasite-vdso.c:136:9: branch_false: ...to here
criu-4.1.1/criu/pie/parasite-vdso.c:136:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pie/parasite-vdso.c:136:9: branch_true: ...to here
criu-4.1.1/criu/pie/parasite-vdso.c:136:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def567]
criu-4.1.1/criu/pie/restorer.c:1217:59: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts.tv_sec’
criu-4.1.1/criu/pie/restorer.c:1197:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pie/restorer.c:1198:46: branch_true: ...to here
criu-4.1.1/criu/pie/restorer.c:1203:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pie/restorer.c:1212:47: branch_true: ...to here
criu-4.1.1/criu/pie/restorer.c:1212:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pie/restorer.c:1217:25: branch_false: ...to here
criu-4.1.1/criu/pie/restorer.c:1217:59: danger: use of uninitialized value ‘ts.tv_sec’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
criu-4.1.1/criu/pie/restorer.c:1406:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pie/restorer.c:1395:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pie/restorer.c:1398:63: branch_true: ...to here
criu-4.1.1/criu/pie/restorer.c:1401:20: branch_true: following ‘true’ branch (when ‘ret == -10’)...
branch_true: ...to here
criu-4.1.1/criu/pie/restorer.c:1406:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pie/restorer.c:1406:25: branch_false: ...to here
criu-4.1.1/criu/pie/restorer.c:1406:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def569]
criu-4.1.1/criu/pie/restorer.c:2266:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def570]
criu-4.1.1/criu/pie/util-vdso-elf32.c:153:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie/util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.1.1/criu/pie/util-vdso-elf32.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable_compat’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def571]
criu-4.1.1/criu/pie/util-vdso-elf32.c:160:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie/util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.1.1/criu/pie/util-vdso-elf32.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable_compat’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def572]
criu-4.1.1/criu/pie/util-vdso.c:153:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie/util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1.1/criu/pie/util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def573]
criu-4.1.1/criu/pie/util-vdso.c:160:28: warning[-Wanalyzer-deref-before-check]: check of ‘addr’ for NULL after already dereferencing it
criu-4.1.1/criu/pie/util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1.1/criu/pie/util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def574]
criu-4.1.1/criu/pipes.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def575]
criu-4.1.1/criu/pipes.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def576]
criu-4.1.1/criu/pipes.c:162:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
criu-4.1.1/criu/pipes.c:162:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def578]
criu-4.1.1/criu/pipes.c:163:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def579]
criu-4.1.1/criu/pipes.c:163:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def580]
criu-4.1.1/criu/pipes.c:165:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
criu-4.1.1/criu/pipes.c:174:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def582]
criu-4.1.1/criu/pipes.c:174:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def583]
criu-4.1.1/criu/pipes.c:182:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def584]
criu-4.1.1/criu/pipes.c:182:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def585]
criu-4.1.1/criu/pipes.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, flags)’
criu-4.1.1/criu/pipes.c:218:15: acquire_resource: opened here
criu-4.1.1/criu/pipes.c:219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:221:9: branch_false: ...to here
criu-4.1.1/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): [#def586]
criu-4.1.1/criu/pipes.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/pipes.c:232:15: acquire_resource: opened here
criu-4.1.1/criu/pipes.c:233:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/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): [#def587]
criu-4.1.1/criu/pipes.c:261:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/pipes.c:245:12: enter_function: entry to ‘recv_pipe_fd’
criu-4.1.1/criu/pipes.c:250:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:256:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:256:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pipes.c:257:39: branch_true: ...to here
criu-4.1.1/criu/pipes.c:257:22: call_function: calling ‘reopen_pipe’ from ‘recv_pipe_fd’
criu-4.1.1/criu/pipes.c:257:22: return_function: returning to ‘recv_pipe_fd’ from ‘reopen_pipe’
criu-4.1.1/criu/pipes.c:260:12: branch_true: following ‘true’ branch (when ‘fd >= 0’)...
criu-4.1.1/criu/pipes.c:261:55: branch_true: ...to here
criu-4.1.1/criu/pipes.c:261:21: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def588]
criu-4.1.1/criu/pipes.c:435:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:13: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def589]
criu-4.1.1/criu/pipes.c:435:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[1]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:13: danger: ‘steal_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def590]
criu-4.1.1/criu/pipes.c:436:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pipes.c:436:17: branch_true: ...to here
criu-4.1.1/criu/pipes.c:436:17: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def591]
criu-4.1.1/criu/pipes.c:440:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:440:17: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
criu-4.1.1/criu/pipes.c:443:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_true: following ‘true’ branch (when ‘bytes < 0’)...
criu-4.1.1/criu/pipes.c:442:21: branch_true: ...to here
criu-4.1.1/criu/pipes.c:442:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pipes.c:443:25: branch_true: ...to here
criu-4.1.1/criu/pipes.c:443:25: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
criu-4.1.1/criu/pipes.c:455:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.1.1/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:455:13: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
criu-4.1.1/criu/pipes.c:455:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[bytes]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_true: following ‘true’ branch (when ‘bytes < 0’)...
criu-4.1.1/criu/pipes.c:442:21: branch_true: ...to here
criu-4.1.1/criu/pipes.c:442:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:455:13: danger: ‘steal_pipe[bytes]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def595]
criu-4.1.1/criu/pipes.c:460:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:441:12: branch_false: following ‘false’ branch (when ‘bytes >= 0’)...
criu-4.1.1/criu/pipes.c:450:23: call_function: inlined call to ‘pipe_id’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:455:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:458:16: branch_true: following ‘true’ branch (when ‘bytes > 0’)...
criu-4.1.1/criu/pipes.c:460:25: branch_true: ...to here
criu-4.1.1/criu/pipes.c:460:25: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def596]
criu-4.1.1/criu/pipes.c:472:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[(int)pde.has_size]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:472:9: danger: ‘steal_pipe[(int)pde.has_size]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def597]
criu-4.1.1/criu/pipes.c:472:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘steal_pipe[0]’
criu-4.1.1/criu/pipes.c:396:5: enter_function: entry to ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:404:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pipes.c:415:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:420:15: branch_false: ...to here
criu-4.1.1/criu/pipes.c:420:15: call_function: calling ‘img_from_set’ from ‘dump_one_pipe_data’
criu-4.1.1/criu/pipes.c:420:15: return_function: returning to ‘dump_one_pipe_data’ from ‘img_from_set’
criu-4.1.1/criu/pipes.c:424:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:429:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:429:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:435:13: branch_false: ...to here
criu-4.1.1/criu/pipes.c:435:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pipes.c:440:17: branch_false: ...to here
criu-4.1.1/criu/pipes.c:472:9: danger: ‘steal_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
criu-4.1.1/criu/plugin.c:33:19: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/plugin.c:103:12: enter_function: entry to ‘cr_lib_load’
criu-4.1.1/criu/plugin.c:112:12: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
criu-4.1.1/criu/plugin.c:123:13: branch_false: ...to here
criu-4.1.1/criu/plugin.c:124:12: branch_true: following ‘true’ branch (when ‘d’ is NULL)...
criu-4.1.1/criu/plugin.c:125:21: branch_true: ...to here
criu-4.1.1/criu/plugin.c:125:21: call_function: calling ‘cr_gen_plugin_desc’ from ‘cr_lib_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
criu-4.1.1/criu/plugin.c:37:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/plugin.c:103:12: enter_function: entry to ‘cr_lib_load’
criu-4.1.1/criu/plugin.c:112:12: branch_false: following ‘false’ branch (when ‘h’ is non-NULL)...
criu-4.1.1/criu/plugin.c:123:13: branch_false: ...to here
criu-4.1.1/criu/plugin.c:124:12: branch_true: following ‘true’ branch (when ‘d’ is NULL)...
criu-4.1.1/criu/plugin.c:125:21: branch_true: ...to here
criu-4.1.1/criu/plugin.c:125:21: call_function: calling ‘cr_gen_plugin_desc’ from ‘cr_lib_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
criu-4.1.1/criu/plugin.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
criu-4.1.1/criu/plugin.c:90:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
criu-4.1.1/criu/plugin.c:133:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
criu-4.1.1/criu/plugin.c:133:16: warning[-Wanalyzer-malloc-leak]: leak of ‘d’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
criu-4.1.1/criu/plugin.c:138:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
criu-4.1.1/criu/plugin.c:175:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
criu-4.1.1/criu/plugin.c:237:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(opts.libdir)’
criu-4.1.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1.1/criu/plugin.c:225:13: acquire_memory: allocated here
criu-4.1.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/plugin.c:237: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-401): [#def607]
criu-4.1.1/criu/proc_parse.c:803:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:803:23: danger: ‘fdopendir(do_open_proc(pid, 0, "map_files"))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
criu-4.1.1/criu/proc_parse.c:810:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/proc_parse.c:773:5: enter_function: entry to ‘parse_smaps’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:808:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:808:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:808:30: call_function: calling ‘__is_vma_range_fmt’ from ‘parse_smaps’
criu-4.1.1/criu/proc_parse.c:808:30: return_function: returning to ‘parse_smaps’ from ‘__is_vma_range_fmt’
criu-4.1.1/criu/proc_parse.c:808:21: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:809:30: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:810:33: branch_true: following ‘true’ branch (when ‘vma_area’ is NULL)...
criu-4.1.1/criu/proc_parse.c:810:33: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:810:33: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
criu-4.1.1/criu/proc_parse.c:837:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:817:20: branch_false: following ‘false’ branch (when ‘vma_area’ is NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:834:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:837:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:837:28: danger: ‘fdopendir(do_open_proc(pid, 0, "map_files"))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
criu-4.1.1/criu/proc_parse.c:844:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:817:20: branch_false: following ‘false’ branch (when ‘vma_area’ is NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:834:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:837:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:838:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:841:23: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:843:20: branch_true: following ‘true’ branch (when ‘num <= 9’)...
criu-4.1.1/criu/proc_parse.c:844:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:844:25: danger: ‘fdopendir(do_open_proc(pid, 0, "map_files"))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
criu-4.1.1/criu/proc_parse.c:868:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:817:20: branch_false: following ‘false’ branch (when ‘vma_area’ is NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:834:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:837:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:838:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:841:23: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:843:20: branch_false: following ‘false’ branch (when ‘num > 9’)...
criu-4.1.1/criu/proc_parse.c:848:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:863:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:865:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:865:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:868:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:868:25: 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-401): [#def612]
criu-4.1.1/criu/proc_parse.c:872:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:817:20: branch_false: following ‘false’ branch (when ‘vma_area’ is NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:834:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:837:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:838:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:841:23: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:843:20: branch_false: following ‘false’ branch (when ‘num > 9’)...
criu-4.1.1/criu/proc_parse.c:848:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:872:17: danger: ‘fdopendir(do_open_proc(pid, 0, "map_files"))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
criu-4.1.1/criu/proc_parse.c:887:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:887: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): [#def614]
criu-4.1.1/criu/proc_parse.c:889:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:889: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): [#def615]
criu-4.1.1/criu/proc_parse.c:891:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__d’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:890:12: branch_true: following ‘true’ branch (when ‘map_files_dir’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:891:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:891: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): [#def616]
criu-4.1.1/criu/proc_parse.c:1371:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1647:20: enter_function: entry to ‘parse_mountinfo’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1662:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1665:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1667:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
criu-4.1.1/criu/proc_parse.c:1440:27: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1647:20: enter_function: entry to ‘parse_mountinfo’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1662:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1665:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1667:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
criu-4.1.1/criu/proc_parse.c:1455:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1647:20: enter_function: entry to ‘parse_mountinfo’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1662:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1665:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1667:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
criu-4.1.1/criu/proc_parse.c:1459:13: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1647:20: enter_function: entry to ‘parse_mountinfo’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1662:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1665:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1667:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
criu-4.1.1/criu/proc_parse.c:1464:27: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1647:20: enter_function: entry to ‘parse_mountinfo’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1662:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1665:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1667:23: call_function: calling ‘parse_mountinfo_ent’ from ‘parse_mountinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
criu-4.1.1/criu/proc_parse.c:1571:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1561:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1562:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1562:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1566:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1570:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1571:25: 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): [#def622]
criu-4.1.1/criu/proc_parse.c:1585:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1561:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1561:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1562:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1562:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1566:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1570:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1570:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1574:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1585:17: 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): [#def623]
criu-4.1.1/criu/proc_parse.c:1608:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1599:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1599:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1599:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1599:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1600:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1600:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1603:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1607:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1608:25: 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): [#def624]
criu-4.1.1/criu/proc_parse.c:1661:23: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1652:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1652:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1653:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1656:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:1659:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:1661:23: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
criu-4.1.1/criu/proc_parse.c:2003:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:1879:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1887:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1890:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1890:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1895:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1897:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1897:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1900:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1967:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1979:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1991:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1996:28: branch_false: following ‘false’ branch (when ‘type == 7’)...
criu-4.1.1/criu/proc_parse.c:1999:29: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1999:29: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:1999:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2003:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2003:25: danger: ‘___p’ leaks here; was allocated at [(17)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
criu-4.1.1/criu/proc_parse.c:2070:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:1879:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1887:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1890:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1890:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1895:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1897:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1897:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1900:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1967:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1979:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1991:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1991:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2031:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2031:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2043:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2043:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2055:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2061:28: branch_false: following ‘false’ branch (when ‘type == 12’)...
criu-4.1.1/criu/proc_parse.c:2064:36: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2064:36: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2064:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2069:30: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:2070:25: danger: ‘___p’ leaks here; was allocated at [(23)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
criu-4.1.1/criu/proc_parse.c:2115:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:1879:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1887:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1890:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1890:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1895:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1897:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1897:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1900:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1967:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1979:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1991:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1991:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2031:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2031:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2043:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2043:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2055:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2055:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2101:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2107:28: branch_false: following ‘false’ branch (when ‘type == 12’)...
criu-4.1.1/criu/proc_parse.c:2110:36: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2110:36: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2110:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2114:30: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:2115:25: danger: ‘___p’ leaks here; was allocated at [(25)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
criu-4.1.1/criu/proc_parse.c:2153:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:1879:12: enter_function: entry to ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1887:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1890:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1890:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1895:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1897:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:1897:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1900:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1967:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1979:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1979:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:1991:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:1991:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2031:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2031:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2043:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2043:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2055:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2055:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2101:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2101:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2138:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2144:28: branch_false: following ‘false’ branch (when ‘type == 8’)...
criu-4.1.1/criu/proc_parse.c:2147:36: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2147:36: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2147:36: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2152:31: call_function: inlined call to ‘xptr_pull_s’ from ‘parse_fdinfo_pid_s’
criu-4.1.1/criu/proc_parse.c:2153:25: danger: ‘___p’ leaks here; was allocated at [(27)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
criu-4.1.1/criu/proc_parse.c:2278:17: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2331:5: enter_function: entry to ‘parse_file_locks’
criu-4.1.1/criu/proc_parse.c:2339:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2346:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2347:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2350:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2355:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2355:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
criu-4.1.1/criu/proc_parse.c:2307:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2331:5: enter_function: entry to ‘parse_file_locks’
criu-4.1.1/criu/proc_parse.c:2339:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2346:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2347:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2350:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2355:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2355:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
criu-4.1.1/criu/proc_parse.c:2318:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2331:5: enter_function: entry to ‘parse_file_locks’
criu-4.1.1/criu/proc_parse.c:2339:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2346:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2347:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2350:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2355:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2355:21: call_function: calling ‘parse_file_lock_buf’ from ‘parse_file_locks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
criu-4.1.1/criu/proc_parse.c:2349:22: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2339:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2346:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2347:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2349: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): [#def633]
criu-4.1.1/criu/proc_parse.c:2351:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2339:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2342:20: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2342:20: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2343:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2346:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2347:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2350:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2351:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2351: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-457): [#def634]
criu-4.1.1/criu/proc_parse.c:2467:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tidpid[0]’
criu-4.1.1/criu/proc_parse.c:2408:5: enter_function: entry to ‘parse_posix_timers’
criu-4.1.1/criu/proc_parse.c:2425:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2428:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2428:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2442:33: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2446:29: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2446:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2489:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2450:28: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2458:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2461:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2467:29: danger: use of uninitialized value ‘tidpid[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
criu-4.1.1/criu/proc_parse.c:2517:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2521:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2521:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2524:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2524:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2525:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2525:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2532:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:22: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
criu-4.1.1/criu/proc_parse.c:2517:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "task"))’
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2513:15: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:22: danger: ‘fdopendir(do_open_proc(pid, 0, "task"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
criu-4.1.1/criu/proc_parse.c:2539:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2521:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2521:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2524:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2524:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2525:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2525:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2532:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:16: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2539:9: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2539:9: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
criu-4.1.1/criu/proc_parse.c:2545:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2521:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2521:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2524:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2524:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2525:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2525:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2532:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2517:16: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2539:9: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2541:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2545:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2545:17: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2545:17: 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): [#def639]
criu-4.1.1/criu/proc_parse.c:2545:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2541:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2545:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2545:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2545:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2545:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
criu-4.1.1/criu/proc_parse.c:2556:23: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
criu-4.1.1/criu/proc_parse.c:2569:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_true: following ‘true’ branch (when ‘name’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2569:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2569:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
criu-4.1.1/criu/proc_parse.c:2569:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
criu-4.1.1/criu/proc_parse.c:2575:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2573:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2574:20: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2575:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2575:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
criu-4.1.1/criu/proc_parse.c:2575:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
criu-4.1.1/criu/proc_parse.c:2590:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2573:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2574:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2579:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2581:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2590:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2590:21: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
criu-4.1.1/criu/proc_parse.c:2590:21: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
criu-4.1.1/criu/proc_parse.c:2591:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2573:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2574:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2579:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2581:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2590:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2590:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2591:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2591:25: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
criu-4.1.1/criu/proc_parse.c:2591:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
criu-4.1.1/criu/proc_parse.c:2596:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2573:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2574:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2579:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2581:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2590:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2596:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2596:29: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2596:29: 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): [#def650]
criu-4.1.1/criu/proc_parse.c:2596:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
criu-4.1.1/criu/proc_parse.c:2597:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2552:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2556:23: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2556:23: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2556:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2567:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2568:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2573:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2574:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2579:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2581:20: branch_false: following ‘false’ branch (when ‘e’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2590:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2596:29: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2596:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2597:29: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2597:29: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2597:29: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
criu-4.1.1/criu/proc_parse.c:2597:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2630:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2634:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2634:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
criu-4.1.1/criu/proc_parse.c:2734:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_true: following ‘true’ branch (when ‘controllers’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2734:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2734:25: danger: ‘__f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
criu-4.1.1/criu/proc_parse.c:2741:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_true: following ‘true’ branch (when ‘off’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2741:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2741: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): [#def655]
criu-4.1.1/criu/proc_parse.c:2746:21: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2744:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2746:21: 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): [#def656]
criu-4.1.1/criu/proc_parse.c:2747:25: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2744:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2746:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2747:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2747:25: 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): [#def657]
criu-4.1.1/criu/proc_parse.c:2760:38: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2744:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2746:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2753:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2756:30: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2756:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2759:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2759:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2760:38: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2760:38: 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): [#def658]
criu-4.1.1/criu/proc_parse.c:2770:37: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2744:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2746:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2753:28: branch_true: following ‘true’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2754:33: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2759:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2760:38: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2761:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2763:33: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2784:28: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2786:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2753:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2756:30: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2756:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2759:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2759:28: branch_false: following ‘false’ branch (when ‘nc’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2769:33: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2770:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2770:37: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2770:37: 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): [#def659]
criu-4.1.1/criu/proc_parse.c:2776:37: warning[-Wanalyzer-malloc-leak]: leak of ‘__f’
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2724:13: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2724:13: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2725:12: branch_false: following ‘false’ branch (when ‘__f’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2728:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2732:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2733:20: branch_false: following ‘false’ branch (when ‘controllers’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2737:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2740:20: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2744:17: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2746:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2753:28: branch_true: following ‘true’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2754:33: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2759:28: branch_true: following ‘true’ branch (when ‘nc’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2760:38: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2761:36: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2763:33: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2784:28: branch_false: following ‘false’ branch (when ‘off’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2786:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2753:28: branch_false: following ‘false’ branch (when ‘off’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2756:30: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2756:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2759:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2759:28: branch_false: following ‘false’ branch (when ‘nc’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2769:33: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2770:37: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2774:33: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2776:37: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2776:37: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2776: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): [#def660]
criu-4.1.1/criu/proc_parse.c:2837:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2874:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2837:22: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
criu-4.1.1/criu/proc_parse.c:2837:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "task"))’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2833:15: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:22: danger: ‘fdopendir(do_open_proc(pid, 0, "task"))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
criu-4.1.1/criu/proc_parse.c:2843:24: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2874:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2840:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2843:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2843:24: 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): [#def663]
criu-4.1.1/criu/proc_parse.c:2847:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2874:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2840:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2843:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:21: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
criu-4.1.1/criu/proc_parse.c:2853:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2853:31: 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): [#def665]
criu-4.1.1/criu/proc_parse.c:2862:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2859:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2862:33: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2862:33: 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): [#def666]
criu-4.1.1/criu/proc_parse.c:2866:31: warning[-Wanalyzer-malloc-leak]: leak of ‘ch’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2859:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: danger: ‘ch’ leaks here; was allocated at [(15)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
criu-4.1.1/criu/proc_parse.c:2874:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2874:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2874:17: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
criu-4.1.1/criu/proc_parse.c:2883:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2859:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2859:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2883:9: 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): [#def669]
criu-4.1.1/criu/proc_parse.c:2885:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/proc_parse.c:2833:15: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2834:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2847:21: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2847:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2861:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2866:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/proc_parse.c:2871:27: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2854:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2856:28: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2856:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2874:17: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2837:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2840:21: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2840:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:2843:24: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:2844:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:2845:25: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:2885: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): [#def670]
criu-4.1.1/criu/protobuf.c:88:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/criu/protobuf.c:57:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/protobuf.c:62:9: branch_false: ...to here
criu-4.1.1/criu/protobuf.c:68:12: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/protobuf.c:75:20: branch_false: ...to here
criu-4.1.1/criu/protobuf.c:75:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/protobuf.c:81:13: branch_false: ...to here
criu-4.1.1/criu/protobuf.c:81:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/protobuf.c:83:23: branch_true: ...to here
criu-4.1.1/criu/protobuf.c:83:23: acquire_memory: allocated here
criu-4.1.1/criu/protobuf.c:83:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/protobuf.c:88:15: branch_false: ...to here
criu-4.1.1/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): [#def671]
criu-4.1.1/criu/protobuf.c:144:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/criu/protobuf.c:121:5: enter_function: entry to ‘pb_write_one’
criu-4.1.1/criu/protobuf.c:129:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/protobuf.c:134:13: call_function: inlined call to ‘lazy_image’ from ‘pb_write_one’
criu-4.1.1/criu/protobuf.c:138:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/protobuf.c:139:23: branch_true: ...to here
criu-4.1.1/criu/protobuf.c:139:23: acquire_memory: allocated here
criu-4.1.1/criu/protobuf.c:139:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/protobuf.c:144:18: branch_false: ...to here
criu-4.1.1/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-476): [#def672]
criu-4.1.1/criu/pstree.c:238:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
criu-4.1.1/criu/pstree.c:490:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
criu-4.1.1/criu/pstree.c:560:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pstree.c:643:12: enter_function: entry to ‘read_pstree_image’
criu-4.1.1/criu/pstree.c:651:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/pstree.c:655:23: call_function: calling ‘read_one_pstree_item’ from ‘read_pstree_image’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def675]
criu-4.1.1/criu/pstree.c:714:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/pstree.c:689:12: enter_function: entry to ‘prepare_pstree_ids’
criu-4.1.1/criu/pstree.c:702:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pstree.c:710:21: branch_true: ...to here
criu-4.1.1/criu/pstree.c:710:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pstree.c:710:65: call_function: inlined call to ‘vpid’ from ‘prepare_pstree_ids’
criu-4.1.1/criu/pstree.c:710:21: branch_false: following ‘false’ branch...
criu-4.1.1/criu/pstree.c:713:26: branch_false: ...to here
criu-4.1.1/criu/pstree.c:713:26: call_function: calling ‘pstree_item_by_virt’ from ‘prepare_pstree_ids’
criu-4.1.1/criu/pstree.c:713:26: return_function: returning to ‘prepare_pstree_ids’ from ‘pstree_item_by_virt’
criu-4.1.1/criu/pstree.c:714:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/pstree.c:714:17: branch_true: ...to here
criu-4.1.1/criu/pstree.c:714:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def676]
criu-4.1.1/criu/pstree.c:1104:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def677]
criu-4.1.1/criu/rst-malloc.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
criu-4.1.1/criu/rst-malloc.c:160:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/rst-malloc.c:160:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/rst-malloc.c:160:9: branch_false: ...to here
criu-4.1.1/criu/rst-malloc.c:160:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
criu-4.1.1/criu/rst-malloc.c:169:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/rst-malloc.c:169:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/rst-malloc.c:169:9: branch_false: ...to here
criu-4.1.1/criu/rst-malloc.c:169:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
criu-4.1.1/criu/rst-malloc.c:188:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
criu-4.1.1/criu/rst-malloc.c:211:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
criu-4.1.1/criu/seccomp.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/seccomp.c:140:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seccomp.c:145:20: branch_false: following ‘false’ branch (when ‘len >= 0’)...
criu-4.1.1/criu/seccomp.c:154:20: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:154:20: branch_true: following ‘true’ branch (when ‘meta’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:155:25: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:157:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:169:25: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:169:25: acquire_memory: allocated here
criu-4.1.1/criu/seccomp.c:169:25: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:173:17: branch_false: ...to here
criu-4.1.1/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): [#def683]
criu-4.1.1/criu/seccomp.c:222:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.1.1/criu/seccomp.c:222:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:222:17: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:222:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def684]
criu-4.1.1/criu/seccomp.c:234:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.1.1/criu/seccomp.c:222:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:224:20: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:227:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:234:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
criu-4.1.1/criu/seccomp.c:256:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seccomp.c:254:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:255:25: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:255:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.1.1/criu/seccomp.c:255:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.1.1/criu/seccomp.c:256:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:256:17: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:256:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
criu-4.1.1/criu/seccomp.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.1.1/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.1.1/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.1.1/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): [#def687]
criu-4.1.1/criu/seccomp.c:318:66: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.1.1/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.1.1/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:318:53: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:321:22: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:321:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:321:20: branch_true: ...to here
criu-4.1.1/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): [#def688]
criu-4.1.1/criu/seccomp.c:326:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.1.1/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.1.1/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:318:53: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:321:22: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:321:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:324:22: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:324:44: branch_true: following ‘true’ branch (when ‘chain’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:325:28: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:325:28: branch_true: following ‘true’ branch (when ‘img_filter_pos >= nr_chains’)...
criu-4.1.1/criu/seccomp.c:326:33: branch_true: ...to here
criu-4.1.1/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): [#def689]
criu-4.1.1/criu/seccomp.c:342:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/seccomp.c:297:12: enter_function: entry to ‘dump_seccomp_filters’
criu-4.1.1/criu/seccomp.c:312:12: branch_true: following ‘true’ branch (when ‘nr_chains != 0’)...
criu-4.1.1/criu/seccomp.c:313:38: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:313:38: acquire_memory: allocated here
criu-4.1.1/criu/seccomp.c:313:38: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:313:17: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:314:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seccomp.c:318:21: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:342:15: call_function: calling ‘img_from_set’ from ‘dump_seccomp_filters’
criu-4.1.1/criu/seccomp.c:342:15: return_function: returning to ‘dump_seccomp_filters’ from ‘img_from_set’
criu-4.1.1/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): [#def690]
criu-4.1.1/criu/seccomp.c:380:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seccomp.c:372:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:375:15: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:377:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seccomp.c:380:9: branch_false: ...to here
criu-4.1.1/criu/seccomp.c:380:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seccomp.c:380:9: branch_true: ...to here
criu-4.1.1/criu/seccomp.c:380:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def691]
criu-4.1.1/criu/seize.c:51:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
criu-4.1.1/criu/seize.c:51:22: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def693]
criu-4.1.1/criu/seize.c:59:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def694]
criu-4.1.1/criu/seize.c:59:33: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
criu-4.1.1/criu/seize.c:59:33: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def696]
criu-4.1.1/criu/seize.c:61:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def697]
criu-4.1.1/criu/seize.c:61:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def698]
criu-4.1.1/criu/seize.c:61:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def699]
criu-4.1.1/criu/seize.c:63:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
criu-4.1.1/criu/seize.c:63:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def701]
criu-4.1.1/criu/seize.c:180:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&path, "r")’
criu-4.1.1/criu/seize.c:511:12: enter_function: entry to ‘prepare_freezer_for_interrupt_only_mode’
criu-4.1.1/criu/seize.c:517:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:519:14: branch_true: ...to here
criu-4.1.1/criu/seize.c:519:14: call_function: calling ‘freezer_open’ from ‘prepare_freezer_for_interrupt_only_mode’
criu-4.1.1/criu/seize.c:519:14: return_function: returning to ‘prepare_freezer_for_interrupt_only_mode’ from ‘freezer_open’
criu-4.1.1/criu/seize.c:520:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:523:17: branch_false: ...to here
criu-4.1.1/criu/seize.c:523:17: call_function: calling ‘get_freezer_state’ from ‘prepare_freezer_for_interrupt_only_mode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
criu-4.1.1/criu/seize.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&path, "r")’
criu-4.1.1/criu/seize.c:511:12: enter_function: entry to ‘prepare_freezer_for_interrupt_only_mode’
criu-4.1.1/criu/seize.c:517:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:519:14: branch_true: ...to here
criu-4.1.1/criu/seize.c:519:14: call_function: calling ‘freezer_open’ from ‘prepare_freezer_for_interrupt_only_mode’
criu-4.1.1/criu/seize.c:519:14: return_function: returning to ‘prepare_freezer_for_interrupt_only_mode’ from ‘freezer_open’
criu-4.1.1/criu/seize.c:520:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:523:17: branch_false: ...to here
criu-4.1.1/criu/seize.c:523:17: call_function: calling ‘get_freezer_state’ from ‘prepare_freezer_for_interrupt_only_mode’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def703]
criu-4.1.1/criu/seize.c:214:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘freezer_open()’
criu-4.1.1/criu/seize.c:820:6: enter_function: entry to ‘pstree_switch_state’
criu-4.1.1/criu/seize.c:824:12: branch_false: following ‘false’ branch (when ‘root_item’ is non-NULL)...
criu-4.1.1/criu/seize.c:827:12: branch_false: ...to here
criu-4.1.1/criu/seize.c:827:12: branch_true: following ‘true’ branch (when ‘st != 2’)...
criu-4.1.1/criu/seize.c:828:17: branch_true: ...to here
criu-4.1.1/criu/seize.c:828:17: call_function: calling ‘freezer_restore_state’ from ‘pstree_switch_state’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def704]
criu-4.1.1/criu/seize.c:312:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was opened at [(4)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
criu-4.1.1/criu/seize.c:312:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:312:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:312:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def706]
criu-4.1.1/criu/seize.c:317:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:22: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was opened at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
criu-4.1.1/criu/seize.c:317:22: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:22: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def708]
criu-4.1.1/criu/seize.c:318:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:318:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:318:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was opened at [(4)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
criu-4.1.1/criu/seize.c:318:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:318:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:318:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def710]
criu-4.1.1/criu/seize.c:335:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:320:27: branch_false: ...to here
criu-4.1.1/criu/seize.c:320:27: branch_true: following ‘true’ branch (when ‘state == 1’)...
criu-4.1.1/criu/seize.c:321:30: branch_true: ...to here
criu-4.1.1/criu/seize.c:335:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was opened at [(4)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
criu-4.1.1/criu/seize.c:335:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:320:27: branch_false: ...to here
criu-4.1.1/criu/seize.c:320:27: branch_true: following ‘true’ branch (when ‘state == 1’)...
criu-4.1.1/criu/seize.c:321:30: branch_true: ...to here
criu-4.1.1/criu/seize.c:335:25: danger: ‘freezer_open_thread_list(root_path)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def712]
criu-4.1.1/criu/seize.c:337:32: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:320:27: branch_false: ...to here
criu-4.1.1/criu/seize.c:320:27: branch_true: following ‘true’ branch (when ‘state == 1’)...
criu-4.1.1/criu/seize.c:321:30: branch_true: ...to here
criu-4.1.1/criu/seize.c:335:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
criu-4.1.1/criu/seize.c:337:32: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:301:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:305:23: call_function: inlined call to ‘atoi’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:309:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/seize.c:311:21: branch_false: ...to here
criu-4.1.1/criu/seize.c:311:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:317:22: branch_false: ...to here
criu-4.1.1/criu/seize.c:317:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:320:27: branch_false: ...to here
criu-4.1.1/criu/seize.c:320:27: branch_true: following ‘true’ branch (when ‘state == 1’)...
criu-4.1.1/criu/seize.c:321:30: branch_true: ...to here
criu-4.1.1/criu/seize.c:335:25: call_function: inlined call to ‘__task_comm_info’ from ‘seize_cgroup_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
criu-4.1.1/criu/seize.c:348:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root_path)’
criu-4.1.1/criu/seize.c:286:12: enter_function: entry to ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: call_function: calling ‘freezer_open_thread_list’ from ‘seize_cgroup_tree’
criu-4.1.1/criu/seize.c:297:13: return_function: returning to ‘seize_cgroup_tree’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:342:15: acquire_memory: allocated here
criu-4.1.1/criu/seize.c:343:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:348:22: danger: ‘opendir(root_path)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def715]
criu-4.1.1/criu/seize.c:458:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
criu-4.1.1/criu/seize.c:458:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def717]
criu-4.1.1/criu/seize.c:460:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:458:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:460:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
criu-4.1.1/criu/seize.c:460:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:458:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:460:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def719]
criu-4.1.1/criu/seize.c:466:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:466:17: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
criu-4.1.1/criu/seize.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:466:17: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def721]
criu-4.1.1/criu/seize.c:468:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:467:20: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/seize.c:468:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:468:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
criu-4.1.1/criu/seize.c:468:25: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:467:20: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/seize.c:468:25: branch_true: ...to here
criu-4.1.1/criu/seize.c:468:25: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def723]
criu-4.1.1/criu/seize.c:474:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:467:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/seize.c:472:17: branch_false: ...to here
criu-4.1.1/criu/seize.c:474:17: danger: ‘freezer_open_thread_list(root)’ leaks here; was opened at [(4)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
criu-4.1.1/criu/seize.c:474:17: warning[-Wanalyzer-malloc-leak]: leak of ‘freezer_open_thread_list(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:451:16: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:456:23: call_function: inlined call to ‘atoi’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:458:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:465:23: branch_false: ...to here
criu-4.1.1/criu/seize.c:467:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/seize.c:472:17: branch_false: ...to here
criu-4.1.1/criu/seize.c:474:17: danger: ‘freezer_open_thread_list(root)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
criu-4.1.1/criu/seize.c:484:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root)’
criu-4.1.1/criu/seize.c:440:12: enter_function: entry to ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: call_function: calling ‘freezer_open_thread_list’ from ‘log_unfrozen_stacks’
criu-4.1.1/criu/seize.c:447:13: return_function: returning to ‘log_unfrozen_stacks’ from ‘freezer_open_thread_list’
criu-4.1.1/criu/seize.c:448:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:478:15: acquire_memory: allocated here
criu-4.1.1/criu/seize.c:479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:484:22: danger: ‘opendir(root)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def726]
criu-4.1.1/criu/seize.c:517:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seize.c:517:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:517:9: branch_false: ...to here
criu-4.1.1/criu/seize.c:517:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def727]
criu-4.1.1/criu/seize.c:807:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seize.c:795:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.1.1/criu/seize.c:796:21: branch_true: ...to here
criu-4.1.1/criu/seize.c:796:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/seize.c:799:29: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:800:31: branch_true: ...to here
criu-4.1.1/criu/seize.c:801:28: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/seize.c:805:38: branch_false: ...to here
criu-4.1.1/criu/seize.c:807:41: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def728]
criu-4.1.1/criu/seize.c:816:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seize.c:814:12: branch_true: following ‘true’ branch (when ‘pid > 0’)...
criu-4.1.1/criu/seize.c:815:17: branch_true: ...to here
criu-4.1.1/criu/seize.c:816:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def729]
criu-4.1.1/criu/seize.c:932:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/seize.c:866:12: enter_function: entry to ‘collect_threads’
criu-4.1.1/criu/seize.c:874:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:877:29: branch_false: ...to here
criu-4.1.1/criu/seize.c:878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:881:14: branch_false: ...to here
criu-4.1.1/criu/seize.c:887:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/seize.c:891:9: branch_false: ...to here
criu-4.1.1/criu/seize.c:900:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/seize.c:901:36: branch_true: ...to here
criu-4.1.1/criu/seize.c:904:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:907:17: branch_false: ...to here
criu-4.1.1/criu/seize.c:911:21: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:915:45: call_function: inlined call to ‘item_ppid’ from ‘collect_threads’
criu-4.1.1/criu/seize.c:916:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/seize.c:927:20: branch_false: ...to here
criu-4.1.1/criu/seize.c:932:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def730]
criu-4.1.1/criu/servicefd.c:106:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def731]
criu-4.1.1/criu/servicefd.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def732]
criu-4.1.1/criu/servicefd.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/servicefd.c:158:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/servicefd.c:158:9: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def733]
criu-4.1.1/criu/servicefd.c:179:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:178:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/servicefd.c:179:17: call_function: inlined call to ‘sfd_type_name’ from ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:179:17: danger: ‘tmp’ leaks here; was opened at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def734]
criu-4.1.1/criu/servicefd.c:180:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:178:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/servicefd.c:179:17: call_function: inlined call to ‘sfd_type_name’ from ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:180: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): [#def735]
criu-4.1.1/criu/servicefd.c:186:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:178:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:185:9: call_function: inlined call to ‘set_bit’ from ‘install_service_fd’
criu-4.1.1/criu/servicefd.c:186:9: 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): [#def736]
criu-4.1.1/criu/servicefd.c:234:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.1.1/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.1.1/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:233:19: branch_true: following ‘true’ branch (when ‘ret != new’)...
criu-4.1.1/criu/servicefd.c:234:17: call_function: inlined call to ‘sfd_type_name’ from ‘move_service_fd’
criu-4.1.1/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): [#def737]
criu-4.1.1/criu/servicefd.c:236:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.1.1/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.1.1/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:236:19: danger: ‘ret’ leaks here; was opened at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def738]
criu-4.1.1/criu/servicefd.c:237:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.1.1/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.1.1/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1.1/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.1.1/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.1.1/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:233:19: branch_false: following ‘false’ branch (when ‘ret == new’)...
criu-4.1.1/criu/servicefd.c:236:22: branch_false: ...to here
criu-4.1.1/criu/servicefd.c:236:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/servicefd.c:237:17: branch_true: ...to here
criu-4.1.1/criu/servicefd.c:237:17: danger: ‘ret’ leaks here; was opened at [(13)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def739]
criu-4.1.1/criu/shmem.c:201:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/shmem.c:656:5: enter_function: entry to ‘add_shmem_area’
criu-4.1.1/criu/shmem.c:664:14: call_function: calling ‘shmem_find’ from ‘add_shmem_area’
criu-4.1.1/criu/shmem.c:664:14: return_function: returning to ‘add_shmem_area’ from ‘shmem_find’
criu-4.1.1/criu/shmem.c:665:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/shmem.c:666:21: branch_true: ...to here
criu-4.1.1/criu/shmem.c:666:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/shmem.c:667:29: branch_true: ...to here
criu-4.1.1/criu/shmem.c:667:29: call_function: calling ‘expand_shmem’ from ‘add_shmem_area’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def740]
criu-4.1.1/criu/sigact.c:196:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sigact.c:196:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sigact.c:196:9: branch_true: ...to here
criu-4.1.1/criu/sigact.c:196:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def741]
criu-4.1.1/criu/sk-inet.c:139:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-inet.c:139:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:139:9: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:139:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
criu-4.1.1/criu/sk-inet.c:229:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:245:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.1.1/criu/sk-inet.c:253:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:284:15: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:293:22: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:295:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:305:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:307:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/sk-inet.c:312:21: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:312:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:317:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:319:21: call_function: calling ‘dump_tcp_uncon_shutdown’ from ‘gen_uncon_sk’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
criu-4.1.1/criu/sk-inet.c:230:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:245:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.1.1/criu/sk-inet.c:253:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:284:15: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:293:22: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:295:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:305:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:307:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/sk-inet.c:312:21: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:312:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:317:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:319:21: call_function: calling ‘dump_tcp_uncon_shutdown’ from ‘gen_uncon_sk’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
criu-4.1.1/criu/sk-inet.c:271:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:266:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:268:17: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:268:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:271:17: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:271: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): [#def745]
criu-4.1.1/criu/sk-inet.c:278:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:278:25: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:278: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): [#def746]
criu-4.1.1/criu/sk-inet.c:287:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:245:29: enter_function: entry to ‘gen_uncon_sk’
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/sk-inet.c:281:20: call_function: inlined call to ‘dump_sockaddr’ from ‘gen_uncon_sk’
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:287:25: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:287: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): [#def747]
criu-4.1.1/criu/sk-inet.c:308:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:284:15: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:293:22: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:295:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:305:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:307:20: branch_true: following ‘true’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/sk-inet.c:308:25: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:308: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): [#def748]
criu-4.1.1/criu/sk-inet.c:313:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:284:15: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:293:22: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:295:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:305:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:307:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/sk-inet.c:312:21: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:312:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:313:25: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:313: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): [#def749]
criu-4.1.1/criu/sk-inet.c:325:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:253:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:259:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:259:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:263:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:276:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:277:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:277:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:284:15: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:285:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/sk-inet.c:286:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:286:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:293:22: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:295:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:323:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:325: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): [#def750]
criu-4.1.1/criu/sk-inet.c:674:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:660:13: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:660:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:664:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:673:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:674:31: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:674: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): [#def751]
criu-4.1.1/criu/sk-inet.c:676:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:660:13: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:660:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:664:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:673:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:676:17: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:676:17: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:676:17: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:676: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): [#def752]
criu-4.1.1/criu/sk-inet.c:678:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-inet.c:660:13: acquire_memory: allocated here
criu-4.1.1/criu/sk-inet.c:660:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-inet.c:664:9: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:673:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:676:17: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:678: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): [#def753]
criu-4.1.1/criu/sk-inet.c:749:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:844:12: enter_function: entry to ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:896:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:898:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:898:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:901:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:917:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:926:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:927:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:927:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:932:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:933:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:938:31: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:938:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:938:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.1.1/criu/sk-inet.c:941:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:943:1: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:944:9: call_function: calling ‘dec_users_and_wake’ from ‘open_inet_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def754]
criu-4.1.1/criu/sk-inet.c:750:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:844:12: enter_function: entry to ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:896:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:898:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:898:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:901:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:917:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:926:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:927:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:927:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:932:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:933:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:938:31: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:938:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:938:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.1.1/criu/sk-inet.c:941:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:943:1: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:944:9: call_function: calling ‘dec_users_and_wake’ from ‘open_inet_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def755]
criu-4.1.1/criu/sk-inet.c:767:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-inet.c:754:12: enter_function: entry to ‘post_open_inet_sk’
criu-4.1.1/criu/sk-inet.c:767:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:767:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:767:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def756]
criu-4.1.1/criu/sk-inet.c:884:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def757]
criu-4.1.1/criu/sk-inet.c:888:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:887:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:888:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:888:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def758]
criu-4.1.1/criu/sk-inet.c:896:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:887:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:896:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:896:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def759]
criu-4.1.1/criu/sk-inet.c:934:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:844:12: enter_function: entry to ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:896:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:898:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:898:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:901:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:917:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:926:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:927:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:927:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:932:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:933:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:934:25: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:934:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def760]
criu-4.1.1/criu/sk-inet.c:946:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:844:12: enter_function: entry to ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:887:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:896:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:898:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:898:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:901:13: call_function: inlined call to ‘tcp_connection’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:917:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:926:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:927:21: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:927:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:932:29: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:933:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:938:31: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:938:17: call_function: calling ‘mutex_unlock’ from ‘open_inet_sk’
criu-4.1.1/criu/sk-inet.c:938:17: return_function: returning to ‘open_inet_sk’ from ‘mutex_unlock’
criu-4.1.1/criu/sk-inet.c:941:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:943:1: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:946:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def761]
criu-4.1.1/criu/sk-inet.c:976:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-inet.c:851:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:854:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:859:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:864:14: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:869:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:869:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:872:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:872:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:875:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:875:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-inet.c:878:43: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:878:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-inet.c:879:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-inet.c:884:13: branch_false: ...to here
criu-4.1.1/criu/sk-inet.c:884:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-inet.c:885:17: branch_true: ...to here
criu-4.1.1/criu/sk-inet.c:976:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def762]
criu-4.1.1/criu/sk-inet.c:1007:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
criu-4.1.1/criu/sk-netlink.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.1.1/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): [#def764]
criu-4.1.1/criu/sk-netlink.c:54:29: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.1.1/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): [#def765]
criu-4.1.1/criu/sk-netlink.c:55:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.1.1/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): [#def766]
criu-4.1.1/criu/sk-netlink.c:57:30: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:53:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:54:29: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:57:30: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-netlink.c:57:30: branch_true: ...to here
criu-4.1.1/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): [#def767]
criu-4.1.1/criu/sk-netlink.c:68:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-netlink.c:41:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-netlink.c:41:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-netlink.c:45:24: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:53:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:64:17: branch_false: ...to here
criu-4.1.1/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): [#def768]
criu-4.1.1/criu/sk-netlink.c:100:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-netlink.c:90:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:93:9: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:96:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:99:12: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:99:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:100:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:100:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def769]
criu-4.1.1/criu/sk-netlink.c:218:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:214:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:215:17: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:217:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:218:25: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:218:25: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def770]
criu-4.1.1/criu/sk-netlink.c:244:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:214:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:240:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:240:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:241:17: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:244:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def771]
criu-4.1.1/criu/sk-netlink.c:250:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:214:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:240:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:240:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:250:44: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:250:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def772]
criu-4.1.1/criu/sk-netlink.c:259:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-netlink.c:205:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-netlink.c:208:43: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:208:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-netlink.c:209:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-netlink.c:214:13: branch_false: ...to here
criu-4.1.1/criu/sk-netlink.c:214:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:215:17: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:217:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-netlink.c:218:25: branch_true: ...to here
criu-4.1.1/criu/sk-netlink.c:259:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
criu-4.1.1/criu/sk-packet.c:71:25: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/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.1.1/criu/sk-packet.c:75:17: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
criu-4.1.1/criu/sk-packet.c:77:22: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
criu-4.1.1/criu/sk-packet.c:81:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:58:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:61:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:62:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:62:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:63:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:66:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:67:49: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:70:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:75:17: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:77:22: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:77:22: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:81:17: branch_false: ...to here
criu-4.1.1/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): [#def777]
criu-4.1.1/criu/sk-packet.c:81:17: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
criu-4.1.1/criu/sk-packet.c:92:41: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def779]
criu-4.1.1/criu/sk-packet.c:102:25: warning[-Wanalyzer-malloc-leak]: leak of ‘psk.mclist’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def780]
criu-4.1.1/criu/sk-packet.c:120:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:116:16: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:116:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:120:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:120:9: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def781]
criu-4.1.1/criu/sk-packet.c:165:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1.1/criu/sk-packet.c:165:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:165:9: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:165:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
criu-4.1.1/criu/sk-packet.c:245:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/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.1.1/criu/sk-packet.c:246:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def784]
criu-4.1.1/criu/sk-packet.c:247:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
criu-4.1.1/criu/sk-packet.c:251:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def786]
criu-4.1.1/criu/sk-packet.c:251:27: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def787]
criu-4.1.1/criu/sk-packet.c:251:41: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def788]
criu-4.1.1/criu/sk-packet.c:251:41: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
criu-4.1.1/criu/sk-packet.c:284:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:284:26: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
criu-4.1.1/criu/sk-packet.c:295:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def791]
criu-4.1.1/criu/sk-packet.c:295:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def792]
criu-4.1.1/criu/sk-packet.c:302:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:301:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:302:26: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
criu-4.1.1/criu/sk-packet.c:302:26: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:295:26: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:295:17: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:296:20: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:298:32: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:301:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:302:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:302:26: danger: ‘___p’ leaks here; was allocated at [(19)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
criu-4.1.1/criu/sk-packet.c:308:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:301:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:308:16: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:308:16: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
criu-4.1.1/criu/sk-packet.c:308:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: acquire_memory: allocated here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:301:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:301:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:308:16: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:308:16: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
criu-4.1.1/criu/sk-packet.c:312:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:296:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sk-packet.c:297:25: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:312:9: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def797]
criu-4.1.1/criu/sk-packet.c:343:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/sk-packet.c:324:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:329:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:329:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-packet.c:330:21: branch_true: ...to here
criu-4.1.1/criu/sk-packet.c:337:30: acquire_resource: opened here
criu-4.1.1/criu/sk-packet.c:338:28: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1.1/criu/sk-packet.c:343:25: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:343:25: danger: ‘fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def798]
criu-4.1.1/criu/sk-packet.c:452:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/sk-packet.c:421:14: acquire_resource: socket created here
criu-4.1.1/criu/sk-packet.c:422:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/sk-packet.c:427:9: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-packet.c:452:44: branch_false: ...to here
criu-4.1.1/criu/sk-packet.c:452:13: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def799]
criu-4.1.1/criu/sk-queue.c:95:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-queue.c:81:12: enter_function: entry to ‘dump_scm_rights’
criu-4.1.1/criu/sk-queue.c:90:15: acquire_memory: allocated here
criu-4.1.1/criu/sk-queue.c:90:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-queue.c:94:16: call_function: inlined call to ‘xptr_pull_s’ from ‘dump_scm_rights’
criu-4.1.1/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): [#def800]
criu-4.1.1/criu/sk-queue.c:206:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-queue.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-queue.c:183:9: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:186:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-queue.c:192:14: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:197:16: acquire_memory: allocated here
criu-4.1.1/criu/sk-queue.c:197:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-queue.c:204:15: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:205:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-queue.c:206:17: branch_true: ...to here
criu-4.1.1/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): [#def801]
criu-4.1.1/criu/sk-queue.c:225:35: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-queue.c:176:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-queue.c:183:9: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:186:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-queue.c:192:14: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:197:16: acquire_memory: allocated here
criu-4.1.1/criu/sk-queue.c:197:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-queue.c:204:15: branch_false: ...to here
criu-4.1.1/criu/sk-queue.c:205:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-queue.c:210:9: branch_false: ...to here
criu-4.1.1/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): [#def802]
criu-4.1.1/criu/sk-tcp.c:277:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-tcp.c:273:15: acquire_memory: allocated here
criu-4.1.1/criu/sk-tcp.c:273:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-tcp.c:277:13: branch_false: ...to here
criu-4.1.1/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-775): [#def803]
criu-4.1.1/criu/sk-unix.c:1269:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def804]
criu-4.1.1/criu/sk-unix.c:1271:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1277:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.1.1/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1626:28: call_function: calling ‘prep_unix_sk_cwd’ from ‘bind_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def806]
criu-4.1.1/criu/sk-unix.c:1277:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.1.1/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.1.1/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.1.1/criu/sk-unix.c:1281:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.1.1/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.1.1/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.1.1/criu/sk-unix.c:1281:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:1602:12: enter_function: entry to ‘bind_unix_sk’
criu-4.1.1/criu/sk-unix.c:1608:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1611:14: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1626:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1626:28: branch_true: ...to here
criu-4.1.1/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.1.1/criu/sk-unix.c:1299:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
criu-4.1.1/criu/sk-unix.c:1299:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1302:40: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1302:40: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1308:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1308:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1310:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘cwd_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/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.1.1/criu/sk-unix.c:1310:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘root_fd’
criu-4.1.1/criu/sk-unix.c:2004:12: enter_function: entry to ‘unlink_sk’
criu-4.1.1/criu/sk-unix.c:2009:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2012:13: call_function: calling ‘prep_unix_sk_cwd’ from ‘unlink_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
criu-4.1.1/criu/sk-unix.c:1351:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def818]
criu-4.1.1/criu/sk-unix.c:1459:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*ui.name, 2097152)’
criu-4.1.1/criu/sk-unix.c:1454:18: acquire_resource: opened here
criu-4.1.1/criu/sk-unix.c:1455:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1459:26: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1459:26: danger: ‘open(*ui.name, 2097152)’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def819]
criu-4.1.1/criu/sk-unix.c:1674:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-unix.c:1674:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1674:9: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1674:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def820]
criu-4.1.1/criu/sk-unix.c:1713:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1713:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1713:9: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1713:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def821]
criu-4.1.1/criu/sk-unix.c:1733:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1713:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1715:23: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1718:33: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1718:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1723:13: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1723:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1728:23: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1728:23: acquire_resource: opened here
criu-4.1.1/criu/sk-unix.c:1729:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/sk-unix.c:1733:17: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1733:17: danger: ‘tmp’ leaks here; was opened at [(11)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def822]
criu-4.1.1/criu/sk-unix.c:1737:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/sk-unix.c:1708:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1711:20: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1713:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1715:23: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1718:33: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1718:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1723:13: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1723:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1728:23: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1728:23: acquire_resource: opened here
criu-4.1.1/criu/sk-unix.c:1729:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/sk-unix.c:1733:17: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1737:13: danger: ‘tmp’ leaks here; was opened at [(11)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def823]
criu-4.1.1/criu/sk-unix.c:1785:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/sk-unix.c:1775:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1780:23: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:1780:23: acquire_resource: opened here
criu-4.1.1/criu/sk-unix.c:1781:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/sk-unix.c:1785:17: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1785:17: danger: ‘ret’ leaks here; was opened at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def824]
criu-4.1.1/criu/sk-unix.c:1789:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sks[0]’
criu-4.1.1/criu/sk-unix.c:1796:12: enter_function: entry to ‘open_unixsk_standalone’
criu-4.1.1/criu/sk-unix.c:1822:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1826:15: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1829:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1837:13: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1837:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1850:21: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1850:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:1854:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:1859:23: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1860:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/sk-unix.c:1865:21: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:1865:21: call_function: calling ‘setup_second_end’ from ‘open_unixsk_standalone’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def825]
criu-4.1.1/criu/sk-unix.c:2135:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uname’
criu-4.1.1/criu/sk-unix.c:2124:12: enter_function: entry to ‘collect_one_unixsk’
criu-4.1.1/criu/sk-unix.c:2130:13: call_function: calling ‘init_unix_sk_info’ from ‘collect_one_unixsk’
criu-4.1.1/criu/sk-unix.c:2130:13: return_function: returning to ‘collect_one_unixsk’ from ‘init_unix_sk_info’
criu-4.1.1/criu/sk-unix.c:2130:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2133:9: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:2133:9: release_memory: ‘uname’ is NULL
criu-4.1.1/criu/sk-unix.c:2135:12: branch_true: following ‘true’ branch (when ‘ulen > 0’)...
criu-4.1.1/criu/sk-unix.c:2135:25: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:2135:25: danger: dereference of NULL ‘uname’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
criu-4.1.1/criu/sk-unix.c:2225:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sk-unix.c:2195:12: enter_function: entry to ‘add_fake_queuer’
criu-4.1.1/criu/sk-unix.c:2203:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2206:16: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:2206:16: acquire_memory: allocated here
criu-4.1.1/criu/sk-unix.c:2206:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sk-unix.c:2210:9: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:2222:13: call_function: calling ‘init_unix_sk_info’ from ‘add_fake_queuer’
criu-4.1.1/criu/sk-unix.c:2222:13: return_function: returning to ‘add_fake_queuer’ from ‘init_unix_sk_info’
criu-4.1.1/criu/sk-unix.c:2222:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2225:23: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:2225:23: danger: ‘___p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def827]
criu-4.1.1/criu/sk-unix.c:2306:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/sk-unix.c:2303:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sk-unix.c:2306:9: branch_false: ...to here
criu-4.1.1/criu/sk-unix.c:2306:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sk-unix.c:2306:9: branch_true: ...to here
criu-4.1.1/criu/sk-unix.c:2306:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def828]
criu-4.1.1/criu/sockets.c:177:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def829]
criu-4.1.1/criu/sockets.c:425:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def830]
criu-4.1.1/criu/sockets.c:777:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def831]
criu-4.1.1/criu/stats.c:35:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:34:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:35:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:35:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.1.1/criu/stats.c:35:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:35:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def832]
criu-4.1.1/criu/stats.c:38:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:37:20: branch_false: ...to here
criu-4.1.1/criu/stats.c:37:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:38:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:38:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.1.1/criu/stats.c:38:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:38:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def833]
criu-4.1.1/criu/stats.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:37:20: branch_false: ...to here
criu-4.1.1/criu/stats.c:37:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:41:17: branch_false: ...to here
criu-4.1.1/criu/stats.c:41:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def834]
criu-4.1.1/criu/stats.c:47:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:46:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:47:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:47:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.1.1/criu/stats.c:47:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:47:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def835]
criu-4.1.1/criu/stats.c:50:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:49:20: branch_false: ...to here
criu-4.1.1/criu/stats.c:49:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:50:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:50:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.1.1/criu/stats.c:50:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:50:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def836]
criu-4.1.1/criu/stats.c:53:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:49:20: branch_false: ...to here
criu-4.1.1/criu/stats.c:49:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:53:17: branch_false: ...to here
criu-4.1.1/criu/stats.c:53:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
criu-4.1.1/criu/stats.c:76:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:75:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:76:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:76:17: branch_true: following ‘true’ branch (when ‘t > 4’)...
criu-4.1.1/criu/stats.c:76:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:76:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def838]
criu-4.1.1/criu/stats.c:83:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:78:19: branch_true: following ‘true’ branch...
criu-4.1.1/criu/stats.c:83:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:83:17: branch_true: following ‘true’ branch (when ‘t > 1’)...
criu-4.1.1/criu/stats.c:83:17: branch_true: ...to here
criu-4.1.1/criu/stats.c:83:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def839]
criu-4.1.1/criu/stats.c:87:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/stats.c:78:19: branch_false: following ‘false’ branch...
criu-4.1.1/criu/stats.c:87:9: branch_false: ...to here
criu-4.1.1/criu/stats.c:87:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def840]
criu-4.1.1/criu/sysctl.c:147:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sysctl.c:183:12: enter_function: entry to ‘__userns_sysctl_op’
criu-4.1.1/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:228:16: acquire_memory: allocated here
criu-4.1.1/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:235:31: call_function: calling ‘sysctl_userns_arg_size’ from ‘__userns_sysctl_op’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def841]
criu-4.1.1/criu/sysctl.c:228:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.1.1/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:228:16: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/sysctl.c:228:16: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:228:16: 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): [#def842]
criu-4.1.1/criu/sysctl.c:245:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:228:16: acquire_memory: allocated here
criu-4.1.1/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:244:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sysctl.c:245:25: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:245:25: 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): [#def843]
criu-4.1.1/criu/sysctl.c:254:22: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/sysctl.c:219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysctl.c:224:15: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:224:15: acquire_memory: allocated here
criu-4.1.1/criu/sysctl.c:224:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:228:16: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:228:16: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/sysctl.c:232:9: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:234:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/sysctl.c:235:31: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:244:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysctl.c:249:20: branch_false: ...to here
criu-4.1.1/criu/sysctl.c:249:20: branch_true: following ‘true’ branch (when ‘op == 0’)...
criu-4.1.1/criu/sysctl.c:254:22: branch_true: ...to here
criu-4.1.1/criu/sysctl.c:254:22: danger: ‘___p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
criu-4.1.1/criu/sysfs_parse.c:178:27: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
criu-4.1.1/criu/sysfs_parse.c:136:5: enter_function: entry to ‘parse_aufs_branches’
criu-4.1.1/criu/sysfs_parse.c:150:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysfs_parse.c:155:13: branch_false: ...to here
criu-4.1.1/criu/sysfs_parse.c:155:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysfs_parse.c:160:12: branch_false: ...to here
criu-4.1.1/criu/sysfs_parse.c:160:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysfs_parse.c:163:9: branch_false: ...to here
criu-4.1.1/criu/sysfs_parse.c:164:13: call_function: calling ‘parse_aufs_sbinfo’ from ‘parse_aufs_branches’
criu-4.1.1/criu/sysfs_parse.c:164:13: return_function: returning to ‘parse_aufs_branches’ from ‘parse_aufs_sbinfo’
criu-4.1.1/criu/sysfs_parse.c:164:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/sysfs_parse.c:166:19: branch_false: ...to here
criu-4.1.1/criu/sysfs_parse.c:166:19: acquire_memory: allocated here
criu-4.1.1/criu/sysfs_parse.c:166:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/sysfs_parse.c:178:27: danger: ‘opendir(&path)’ leaks here; was allocated at [(22)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
criu-4.1.1/criu/tls.c:65:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tls.c:94:5: enter_function: entry to ‘tls_send_data_from_fd’
criu-4.1.1/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.1.1/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tls.c:100:12: branch_false: ...to here
criu-4.1.1/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.1.1/criu/tls.c:106:40: branch_true: ...to here
criu-4.1.1/criu/tls.c:107:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tls.c:113:54: branch_true: ...to here
criu-4.1.1/criu/tls.c:113:31: call_function: calling ‘tls_send’ from ‘tls_send_data_from_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def846]
criu-4.1.1/criu/tls.c:80:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tls.c:94:5: enter_function: entry to ‘tls_send_data_from_fd’
criu-4.1.1/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.1.1/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tls.c:100:12: branch_false: ...to here
criu-4.1.1/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.1.1/criu/tls.c:106:40: branch_true: ...to here
criu-4.1.1/criu/tls.c:107:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tls.c:113:54: branch_true: ...to here
criu-4.1.1/criu/tls.c:113:31: call_function: calling ‘tls_send’ from ‘tls_send_data_from_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def847]
criu-4.1.1/criu/tls.c:108:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.1.1/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tls.c:100:12: branch_false: ...to here
criu-4.1.1/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.1.1/criu/tls.c:106:40: branch_true: ...to here
criu-4.1.1/criu/tls.c:107:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tls.c:108:25: branch_true: ...to here
criu-4.1.1/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): [#def848]
criu-4.1.1/criu/tls.c:115:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tls.c:98:21: acquire_memory: allocated here
criu-4.1.1/criu/tls.c:98:21: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tls.c:100:12: branch_false: ...to here
criu-4.1.1/criu/tls.c:100:12: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
branch_false: ...to here
criu-4.1.1/criu/tls.c:103:16: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.1.1/criu/tls.c:106:40: branch_true: ...to here
criu-4.1.1/criu/tls.c:107:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tls.c:112:32: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tls.c:113:54: branch_true: ...to here
criu-4.1.1/criu/tls.c:114:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tls.c:115:33: branch_true: ...to here
criu-4.1.1/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: GCC_ANALYZER_WARNING (CWE-457): [#def849]
criu-4.1.1/criu/tls.c:195:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packet’
criu-4.1.1/criu/tls.c:171:16: branch_false: following ‘false’ branch (when ‘len == 0’)...
criu-4.1.1/criu/tls.c:194:1: branch_false: ...to here
criu-4.1.1/criu/tls.c:195:9: danger: use of uninitialized value ‘packet’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def850]
criu-4.1.1/criu/tty.c:457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.1.1/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1022:24: branch_false: ...to here
criu-4.1.1/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def851]
criu-4.1.1/criu/tty.c:499:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.1.1/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1022:24: branch_false: ...to here
criu-4.1.1/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def852]
criu-4.1.1/criu/tty.c:500:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.1.1/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1022:24: branch_false: ...to here
criu-4.1.1/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
criu-4.1.1/criu/tty.c:519:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.1.1/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1022:24: branch_false: ...to here
criu-4.1.1/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
criu-4.1.1/criu/tty.c:519:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/tty.c:974:12: enter_function: entry to ‘pty_open_unpaired_slave’
criu-4.1.1/criu/tty.c:984:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1022:24: branch_false: ...to here
criu-4.1.1/criu/tty.c:1022:24: call_function: calling ‘pty_alloc_fake_reg’ from ‘pty_open_unpaired_slave’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def855]
criu-4.1.1/criu/tty.c:925:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/tty.c:919:12: enter_function: entry to ‘pty_open_slaves’
criu-4.1.1/criu/tty.c:924:9: branch_true: following ‘true’ branch (when ‘slave != info’)...
criu-4.1.1/criu/tty.c:925:17: call_function: inlined call to ‘tty_is_master’ from ‘pty_open_slaves’
criu-4.1.1/criu/tty.c:925:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:925:17: branch_true: ...to here
criu-4.1.1/criu/tty.c:925:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
criu-4.1.1/criu/tty.c:1248:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1244:13: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1244:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1248:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1248: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-476): [#def857]
criu-4.1.1/criu/tty.c:1323:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.1.1/criu/tty.c:1315:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.1.1/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1322:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:1323:9: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1323:9: branch_true: ...to here
criu-4.1.1/criu/tty.c:1323:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
criu-4.1.1/criu/tty.c:1329:13: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.1.1/criu/tty.c:1315:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.1.1/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1322:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1328:19: branch_false: ...to here
criu-4.1.1/criu/tty.c:1328:19: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1329:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1329:13: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/tty.c:1329:13: branch_true: ...to here
criu-4.1.1/criu/tty.c:1329:13: danger: ‘___p’ leaks here; was allocated at [(15)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
criu-4.1.1/criu/tty.c:1340:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.1.1/criu/tty.c:1315:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.1.1/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1322:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1328:19: branch_false: ...to here
criu-4.1.1/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1329:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1329:13: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1329:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1331:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1331:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1334:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1340:9: danger: ‘___p’ leaks here; was allocated at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
criu-4.1.1/criu/tty.c:1342:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1305:12: enter_function: entry to ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1312:12: branch_false: following ‘false’ branch (when ‘ctl_tty_id != 0’)...
criu-4.1.1/criu/tty.c:1315:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1318:14: call_function: calling ‘add_fake_fle’ from ‘prepare_ctl_tty’
criu-4.1.1/criu/tty.c:1318:14: return_function: returning to ‘prepare_ctl_tty’ from ‘add_fake_fle’
criu-4.1.1/criu/tty.c:1319:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1322:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:1323:9: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1328:19: branch_false: ...to here
criu-4.1.1/criu/tty.c:1328:19: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1329:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1329:13: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1329:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1331:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1331:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1334:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1342:9: danger: ‘___p’ leaks here; was allocated at [(17)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
criu-4.1.1/criu/tty.c:1897:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1894:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1895:30: branch_true: ...to here
criu-4.1.1/criu/tty.c:1896:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1897:25: branch_true: ...to here
criu-4.1.1/criu/tty.c:1897:25: danger: ‘___p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
criu-4.1.1/criu/tty.c:1956:31: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1935:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1945:12: branch_false: ...to here
criu-4.1.1/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1953:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1956:31: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1.1/criu/tty.c:1956:31: branch_true: ...to here
criu-4.1.1/criu/tty.c:1956:31: 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): [#def863]
criu-4.1.1/criu/tty.c:1963:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1935:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1945:12: branch_false: ...to here
criu-4.1.1/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1953:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1956:31: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1956:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1962:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1963:17: branch_true: ...to here
criu-4.1.1/criu/tty.c:1963:17: danger: ‘___p’ leaks here; was allocated at [(13)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
criu-4.1.1/criu/tty.c:1970:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1935:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1945:12: branch_false: ...to here
criu-4.1.1/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1953:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1956:31: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1956:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1966:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1969:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1970:17: branch_true: ...to here
criu-4.1.1/criu/tty.c:1970:17: danger: ‘___p’ leaks here; was allocated at [(13)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def865]
criu-4.1.1/criu/tty.c:1977:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1935:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1945:12: branch_false: ...to here
criu-4.1.1/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1953:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1956:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1966:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1969:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1973:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1976:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:1977:17: branch_true: ...to here
criu-4.1.1/criu/tty.c:1977:17: 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): [#def866]
criu-4.1.1/criu/tty.c:1982:15: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:1849:12: enter_function: entry to ‘dump_tty_info’
criu-4.1.1/criu/tty.c:1864:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1877:51: branch_false: ...to here
criu-4.1.1/criu/tty.c:1878:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1881:17: branch_false: ...to here
criu-4.1.1/criu/tty.c:1881:17: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1885:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1925:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1935:13: branch_false: ...to here
criu-4.1.1/criu/tty.c:1935:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1945:12: branch_false: ...to here
criu-4.1.1/criu/tty.c:1953:24: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:1953:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1953:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1956:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:1956:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1958:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1962:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1966:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1969:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1973:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1976:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:1980:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:1982:15: call_function: calling ‘img_from_set’ from ‘dump_tty_info’
criu-4.1.1/criu/tty.c:1982:15: return_function: returning to ‘dump_tty_info’ from ‘img_from_set’
criu-4.1.1/criu/tty.c:1982:15: danger: ‘___p’ leaks here; was allocated at [(12)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
criu-4.1.1/criu/tty.c:2092:21: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2102:12: enter_function: entry to ‘tty_do_dump_queued_data’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2113:15: call_function: calling ‘tty_unblock’ from ‘tty_do_dump_queued_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
criu-4.1.1/criu/tty.c:2094:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2102:12: enter_function: entry to ‘tty_do_dump_queued_data’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2113:15: call_function: calling ‘tty_unblock’ from ‘tty_do_dump_queued_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
criu-4.1.1/criu/tty.c:2122:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tty.c:2121:20: branch_true: following ‘true’ branch (when ‘ret == 0’)...
criu-4.1.1/criu/tty.c:2122:25: branch_true: ...to here
criu-4.1.1/criu/tty.c:2122:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
criu-4.1.1/criu/tty.c:2126:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/tty.c:2124:27: branch_false: ...to here
criu-4.1.1/criu/tty.c:2124:27: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/tty.c:2125:29: branch_true: ...to here
criu-4.1.1/criu/tty.c:2125:28: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tty.c:2126:33: branch_true: ...to here
criu-4.1.1/criu/tty.c:2126:33: 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): [#def871]
criu-4.1.1/criu/tty.c:2130:33: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/tty.c:2124:27: branch_false: ...to here
criu-4.1.1/criu/tty.c:2125:28: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:2129:33: branch_false: ...to here
criu-4.1.1/criu/tty.c:2130: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): [#def872]
criu-4.1.1/criu/tty.c:2137:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/tty.c:2124:27: branch_false: ...to here
criu-4.1.1/criu/tty.c:2124:27: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/tty.c:2136:21: branch_false: ...to here
criu-4.1.1/criu/tty.c:2137:17: 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): [#def873]
criu-4.1.1/criu/tty.c:2140:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tty.c:2109:15: acquire_memory: allocated here
criu-4.1.1/criu/tty.c:2109:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tty.c:2113:15: branch_false: ...to here
criu-4.1.1/criu/tty.c:2114:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/tty.c:2121:20: branch_false: following ‘false’ branch (when ‘ret != 0’)...
criu-4.1.1/criu/tty.c:2124:27: branch_false: ...to here
criu-4.1.1/criu/tty.c:2124:27: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/tty.c:2136:21: branch_false: ...to here
criu-4.1.1/criu/tty.c:2140:25: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def874]
criu-4.1.1/criu/tty.c:2450:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(service_mountpoint(pm), 0)’
criu-4.1.1/criu/tty.c:2427:15: acquire_resource: opened here
criu-4.1.1/criu/tty.c:2428:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tty.c:2433:9: branch_false: ...to here
criu-4.1.1/criu/tty.c:2450:9: danger: ‘open(service_mountpoint(pm), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def875]
criu-4.1.1/criu/tun.c:88:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 0)’
criu-4.1.1/criu/tun.c:83:15: acquire_resource: opened here
criu-4.1.1/criu/tun.c:84:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tun.c:88:9: branch_false: ...to here
criu-4.1.1/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): [#def876]
criu-4.1.1/criu/tun.c:124:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tun.c:120:14: acquire_memory: allocated here
criu-4.1.1/criu/tun.c:120:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tun.c:124:29: branch_false: ...to here
criu-4.1.1/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): [#def877]
criu-4.1.1/criu/tun.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/tun.c:153:14: acquire_memory: allocated here
criu-4.1.1/criu/tun.c:153:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/tun.c:156:19: branch_false: ...to here
criu-4.1.1/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): [#def878]
criu-4.1.1/criu/tun.c:236:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 2)’
criu-4.1.1/criu/tun.c:229:14: acquire_resource: opened here
criu-4.1.1/criu/tun.c:230:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tun.c:235:13: branch_false: ...to here
criu-4.1.1/criu/tun.c:235:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/tun.c:236:17: branch_true: ...to here
criu-4.1.1/criu/tun.c:236:17: 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-775): [#def879]
criu-4.1.1/criu/tun.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 2)’
criu-4.1.1/criu/tun.c:229:14: acquire_resource: opened here
criu-4.1.1/criu/tun.c:230:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tun.c:235:13: branch_false: ...to here
criu-4.1.1/criu/tun.c:235:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/tun.c:243:9: branch_false: ...to here
criu-4.1.1/criu/tun.c:244:9: danger: ‘open("/dev/net/tun", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def880]
criu-4.1.1/criu/uffd.c:388:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/uffd.c:1314:12: enter_function: entry to ‘prepare_lazy_socket’
criu-4.1.1/criu/uffd.c:1319:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1322:9: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1323:23: call_function: calling ‘server_listen’ from ‘prepare_lazy_socket’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def881]
criu-4.1.1/criu/uffd.c:745:15: warning[-Wanalyzer-malloc-leak]: leak of ‘lpi_init()’
criu-4.1.1/criu/uffd.c:1369:12: enter_function: entry to ‘prepare_uffds’
criu-4.1.1/criu/uffd.c:1378:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/uffd.c:1384:21: branch_true: following ‘true’ branch...
criu-4.1.1/criu/uffd.c:1385:41: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1386:21: call_function: calling ‘ud_open’ from ‘prepare_uffds’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def882]
criu-4.1.1/criu/uffd.c:1427:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘prepare_lazy_socket()’
criu-4.1.1/criu/uffd.c:1409:5: enter_function: entry to ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1416:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/uffd.c:1419:13: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1419:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1422:19: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1422:19: call_function: calling ‘prepare_lazy_socket’ from ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1422:19: return_function: returning to ‘cr_lazy_pages’ from ‘prepare_lazy_socket’
criu-4.1.1/criu/uffd.c:1423:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1426:12: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1426:12: branch_true: following ‘true’ branch (when ‘daemon != 0’)...
criu-4.1.1/criu/uffd.c:1427:23: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1427:23: danger: ‘prepare_lazy_socket()’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def883]
criu-4.1.1/criu/uffd.c:1446:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘prepare_lazy_socket()’
criu-4.1.1/criu/uffd.c:1409:5: enter_function: entry to ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1416:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/uffd.c:1419:13: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1419:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1422:19: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1422:19: call_function: calling ‘prepare_lazy_socket’ from ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1422:19: return_function: returning to ‘cr_lazy_pages’ from ‘prepare_lazy_socket’
criu-4.1.1/criu/uffd.c:1423:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1426:12: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1446:13: danger: ‘prepare_lazy_socket()’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def884]
criu-4.1.1/criu/uffd.c:1455:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘prepare_lazy_socket()’
criu-4.1.1/criu/uffd.c:1409:5: enter_function: entry to ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1416:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/uffd.c:1419:13: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1419:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1422:19: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1422:19: call_function: calling ‘prepare_lazy_socket’ from ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1422:19: return_function: returning to ‘cr_lazy_pages’ from ‘prepare_lazy_socket’
criu-4.1.1/criu/uffd.c:1423:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1426:12: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1446:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1454:30: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1455:19: danger: ‘prepare_lazy_socket()’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def885]
criu-4.1.1/criu/uffd.c:1459:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘prepare_lazy_socket()’
criu-4.1.1/criu/uffd.c:1409:5: enter_function: entry to ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1416:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/uffd.c:1419:13: branch_true: ...to here
criu-4.1.1/criu/uffd.c:1419:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1422:19: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1422:19: call_function: calling ‘prepare_lazy_socket’ from ‘cr_lazy_pages’
criu-4.1.1/criu/uffd.c:1422:19: return_function: returning to ‘cr_lazy_pages’ from ‘prepare_lazy_socket’
criu-4.1.1/criu/uffd.c:1423:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1426:12: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1446:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1454:30: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1456:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/uffd.c:1459:13: branch_false: ...to here
criu-4.1.1/criu/uffd.c:1459:13: call_function: calling ‘prepare_uffds’ from ‘cr_lazy_pages’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def886]
criu-4.1.1/criu/util.c:123:23: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/criu/util.c:163:7: enter_function: entry to ‘xsprintf’
criu-4.1.1/criu/util.c:168:9: acquire_resource: ‘va_start’ called here
criu-4.1.1/criu/util.c:169:15: call_function: calling ‘xvstrcat’ from ‘xsprintf’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def887]
criu-4.1.1/criu/util.c:127:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
criu-4.1.1/criu/util.c:163:7: enter_function: entry to ‘xsprintf’
criu-4.1.1/criu/util.c:168:9: acquire_resource: ‘va_start’ called here
criu-4.1.1/criu/util.c:169:15: call_function: calling ‘xvstrcat’ from ‘xsprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def888]
criu-4.1.1/criu/util.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/util.c:123:23: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/util.c:131:17: branch_false: ...to here
criu-4.1.1/criu/util.c:134:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:143:12: branch_true: ...to here
criu-4.1.1/criu/util.c:143:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/util.c:145:17: branch_true: ...to here
criu-4.1.1/criu/util.c:145:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def889]
criu-4.1.1/criu/util.c:223:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/util.c:233:5: enter_function: entry to ‘reopen_fd_as_safe’
criu-4.1.1/criu/util.c:237:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:238:20: branch_true: ...to here
criu-4.1.1/criu/util.c:238:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.1.1/criu/util.c:241:31: branch_true: ...to here
criu-4.1.1/criu/util.c:241:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:242:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/util.c:245:27: branch_false: ...to here
criu-4.1.1/criu/util.c:245:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.1.1/criu/util.c:252:17: branch_false: ...to here
criu-4.1.1/criu/util.c:252:17: call_function: calling ‘close_safe’ from ‘reopen_fd_as_safe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def890]
criu-4.1.1/criu/util.c:227:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/util.c:233:5: enter_function: entry to ‘reopen_fd_as_safe’
criu-4.1.1/criu/util.c:237:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:238:20: branch_true: ...to here
criu-4.1.1/criu/util.c:238:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.1.1/criu/util.c:241:31: branch_true: ...to here
criu-4.1.1/criu/util.c:241:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:242:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/util.c:245:27: branch_false: ...to here
criu-4.1.1/criu/util.c:245:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.1.1/criu/util.c:252:17: branch_false: ...to here
criu-4.1.1/criu/util.c:252:17: call_function: calling ‘close_safe’ from ‘reopen_fd_as_safe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def891]
criu-4.1.1/criu/util.c:230:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/util.c:237:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:238:20: branch_true: ...to here
criu-4.1.1/criu/util.c:238:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.1.1/criu/util.c:241:31: branch_true: ...to here
criu-4.1.1/criu/util.c:241:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:242:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/util.c:245:27: branch_false: ...to here
criu-4.1.1/criu/util.c:245:27: branch_false: following ‘false’ branch (when ‘tmp == new_fd’)...
criu-4.1.1/criu/util.c:252:17: branch_false: ...to here
criu-4.1.1/criu/util.c:230:16: danger: ‘tmp’ leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def892]
criu-4.1.1/criu/util.c:246:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/util.c:237:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:238:20: branch_true: ...to here
criu-4.1.1/criu/util.c:238:20: branch_true: following ‘true’ branch (when ‘allow_reuse_fd != 0’)...
criu-4.1.1/criu/util.c:241:31: branch_true: ...to here
criu-4.1.1/criu/util.c:241:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:242:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/util.c:245:27: branch_false: ...to here
criu-4.1.1/criu/util.c:245:27: branch_true: following ‘true’ branch (when ‘tmp != new_fd’)...
criu-4.1.1/criu/util.c:246:25: branch_true: ...to here
criu-4.1.1/criu/util.c:246:25: danger: ‘tmp’ leaks here; was opened at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def893]
criu-4.1.1/criu/util.c:265:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.1.1/criu/util.c:569:5: enter_function: entry to ‘cr_system_userns’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:604:21: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:612:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:612:25: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:617:21: branch_false: ...to here
criu-4.1.1/criu/util.c:617:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def894]
criu-4.1.1/criu/util.c:265:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.1.1/criu/util.c:569:5: enter_function: entry to ‘cr_system_userns’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:603:31: branch_true: ...to here
criu-4.1.1/criu/util.c:603:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:603:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:603:25: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:614:20: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:617:21: branch_false: ...to here
criu-4.1.1/criu/util.c:617:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def895]
criu-4.1.1/criu/util.c:265:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret__’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def896]
criu-4.1.1/criu/util.c:269:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.1.1/criu/util.c:569:5: enter_function: entry to ‘cr_system_userns’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:604:21: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:612:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:612:25: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:617:21: branch_false: ...to here
criu-4.1.1/criu/util.c:617:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def897]
criu-4.1.1/criu/util.c:269:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.1.1/criu/util.c:569:5: enter_function: entry to ‘cr_system_userns’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:603:31: branch_true: ...to here
criu-4.1.1/criu/util.c:603:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:603:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:603:25: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:614:20: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:617:21: branch_false: ...to here
criu-4.1.1/criu/util.c:617:21: call_function: calling ‘move_fd_from’ from ‘cr_system_userns’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def898]
criu-4.1.1/criu/util.c:269:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret__’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def899]
criu-4.1.1/criu/util.c:269:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1.1/criu/util.c:260:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:263:23: branch_true: ...to here
criu-4.1.1/criu/util.c:263:23: acquire_resource: opened here
criu-4.1.1/criu/util.c:264:20: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1.1/criu/util.c:269:17: branch_false: ...to here
criu-4.1.1/criu/util.c:269:17: danger: ‘tmp’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def900]
criu-4.1.1/criu/util.c:356:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘_fd’
criu-4.1.1/criu/util.c:351:15: acquire_resource: opened here
criu-4.1.1/criu/util.c:352:12: branch_false: following ‘false’ branch (when ‘_fd >= 0’)...
criu-4.1.1/criu/util.c:356:13: branch_false: ...to here
criu-4.1.1/criu/util.c:356:13: danger: ‘_fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def901]
criu-4.1.1/criu/util.c:373:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 2162688)’
criu-4.1.1/criu/util.c:366:14: acquire_resource: opened here
criu-4.1.1/criu/util.c:367:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:372:15: branch_false: ...to here
criu-4.1.1/criu/util.c:373:12: danger: ‘open(path, 2162688)’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def902]
criu-4.1.1/criu/util.c:578:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def903]
criu-4.1.1/criu/util.c:578:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def904]
criu-4.1.1/criu/util.c:584:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def905]
criu-4.1.1/criu/util.c:584:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def906]
criu-4.1.1/criu/util.c:589:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def907]
criu-4.1.1/criu/util.c:589:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def908]
criu-4.1.1/criu/util.c:603:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def909]
criu-4.1.1/criu/util.c:603:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def910]
criu-4.1.1/criu/util.c:605:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:603:31: branch_true: ...to here
criu-4.1.1/criu/util.c:603:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:603:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:603:25: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:605:31: branch_true: ...to here
criu-4.1.1/criu/util.c:605:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def911]
criu-4.1.1/criu/util.c:605:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def912]
criu-4.1.1/criu/util.c:605:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def913]
criu-4.1.1/criu/util.c:612:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:604:21: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:605:31: branch_true: ...to here
criu-4.1.1/criu/util.c:605:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:605:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:605:25: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: danger: ‘err’ leaks here; was opened at [(13)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def914]
criu-4.1.1/criu/util.c:612:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:603:31: branch_true: ...to here
criu-4.1.1/criu/util.c:603:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:603:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:603:25: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def915]
criu-4.1.1/criu/util.c:615:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:604:21: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:612:31: branch_true: ...to here
criu-4.1.1/criu/util.c:612:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:612:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:612:25: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:615:31: branch_true: ...to here
criu-4.1.1/criu/util.c:615:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.1.1/criu/util.c:615:31: branch_true: ...to here
criu-4.1.1/criu/util.c:615:31: danger: ‘err’ leaks here; was opened at [(15)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def916]
criu-4.1.1/criu/util.c:615:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:583:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
criu-4.1.1/criu/util.c:586:19: branch_false: ...to here
criu-4.1.1/criu/util.c:586:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:587:17: branch_true: ...to here
criu-4.1.1/criu/util.c:588:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:593:20: branch_false: ...to here
criu-4.1.1/criu/util.c:602:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:603:31: branch_true: ...to here
criu-4.1.1/criu/util.c:603:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:603:31: branch_false: following ‘false’ branch (when ‘ret__ != -1’)...
criu-4.1.1/criu/util.c:603:25: branch_false: ...to here
criu-4.1.1/criu/util.c:604:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:611:21: branch_false: ...to here
criu-4.1.1/criu/util.c:611:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:614:20: branch_false: ...to here
criu-4.1.1/criu/util.c:614:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:615:31: branch_true: ...to here
criu-4.1.1/criu/util.c:615:31: branch_true: following ‘true’ branch (when ‘ret__ == -1’)...
criu-4.1.1/criu/util.c:615:31: branch_true: ...to here
criu-4.1.1/criu/util.c:615:31: danger: ‘out’ leaks here; was opened at [(11)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
criu-4.1.1/criu/util.c:672:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/util.c:577:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:582:15: branch_false: ...to here
criu-4.1.1/criu/util.c:670:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:671:17: branch_true: ...to here
criu-4.1.1/criu/util.c:672:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def918]
criu-4.1.1/criu/util.c:800:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
criu-4.1.1/criu/util.c:774:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
criu-4.1.1/criu/util.c:779:12: branch_false: ...to here
criu-4.1.1/criu/util.c:779:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/util.c:782:9: branch_false: ...to here
criu-4.1.1/criu/util.c:786:12: branch_true: following ‘true’ branch (when ‘noclose == 0’)...
criu-4.1.1/criu/util.c:789:20: branch_true: ...to here
criu-4.1.1/criu/util.c:789:20: branch_false: following ‘false’ branch (when ‘close_fd == -1’)...
criu-4.1.1/criu/util.c:792:22: branch_false: ...to here
criu-4.1.1/criu/util.c:792:22: acquire_resource: opened here
criu-4.1.1/criu/util.c:793:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:797:17: branch_false: ...to here
criu-4.1.1/criu/util.c:800:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(9)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def919]
criu-4.1.1/criu/util.c:839:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(dirfd)’
criu-4.1.1/criu/util.c:832:16: acquire_memory: allocated here
criu-4.1.1/criu/util.c:833:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/util.c:839:22: danger: ‘fdopendir(dirfd)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def920]
criu-4.1.1/criu/util.c:897:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1.1/criu/util.c:894:13: acquire_memory: allocated here
criu-4.1.1/criu/util.c:894:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1.1/criu/util.c:896:36: branch_false: ...to here
criu-4.1.1/criu/util.c:897:17: danger: ‘___p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def921]
criu-4.1.1/criu/util.c:1243:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/util.c:1212:5: enter_function: entry to ‘setup_tcp_server’
criu-4.1.1/criu/util.c:1219:13: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_server’
criu-4.1.1/criu/util.c:1219:13: return_function: returning to ‘setup_tcp_server’ from ‘get_sockaddr_in’
criu-4.1.1/criu/util.c:1219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1223:9: branch_false: ...to here
criu-4.1.1/criu/util.c:1225:14: acquire_resource: stream socket created here
criu-4.1.1/criu/util.c:1227:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/util.c:1232:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1232:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1237:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1237:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1242:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1242:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1243:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1243:17: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def922]
criu-4.1.1/criu/util.c:1265:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/util.c:1212:5: enter_function: entry to ‘setup_tcp_server’
criu-4.1.1/criu/util.c:1219:13: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_server’
criu-4.1.1/criu/util.c:1219:13: return_function: returning to ‘setup_tcp_server’ from ‘get_sockaddr_in’
criu-4.1.1/criu/util.c:1219:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1223:9: branch_false: ...to here
criu-4.1.1/criu/util.c:1225:14: acquire_resource: stream socket created here
criu-4.1.1/criu/util.c:1227:12: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/util.c:1232:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1232:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1237:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1237:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1242:13: branch_false: ...to here
criu-4.1.1/criu/util.c:1242:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1243:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1265:9: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def923]
criu-4.1.1/criu/util.c:1370:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sk’
criu-4.1.1/criu/util.c:1323:5: enter_function: entry to ‘setup_tcp_client’
criu-4.1.1/criu/util.c:1340:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1349:14: branch_false: ...to here
criu-4.1.1/criu/util.c:1349:29: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
criu-4.1.1/criu/util.c:1350:21: branch_true: ...to here
criu-4.1.1/criu/util.c:1361:21: call_function: calling ‘get_sockaddr_in’ from ‘setup_tcp_client’
criu-4.1.1/criu/util.c:1361:21: return_function: returning to ‘setup_tcp_client’ from ‘get_sockaddr_in’
criu-4.1.1/criu/util.c:1361:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1364:29: branch_false: ...to here
criu-4.1.1/criu/util.c:1364:22: acquire_resource: stream socket created here
criu-4.1.1/criu/util.c:1365:20: branch_false: following ‘false’ branch (when ‘sk >= 0’)...
criu-4.1.1/criu/util.c:1370:21: branch_false: ...to here
criu-4.1.1/criu/util.c:1370:21: danger: ‘sk’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def924]
criu-4.1.1/criu/util.c:1954:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:2014:9: branch_false: ...to here
criu-4.1.1/criu/util.c:2022:16: call_function: calling ‘wait_for_pid’ from ‘run_command’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def925]
criu-4.1.1/criu/util.c:1986:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1986:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1986:17: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def926]
criu-4.1.1/criu/util.c:1986:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1986:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1986:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def927]
criu-4.1.1/criu/util.c:1987:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1986:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1987:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def928]
criu-4.1.1/criu/util.c:1993:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1993:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1993:17: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def929]
criu-4.1.1/criu/util.c:1993:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1993:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1993:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def930]
criu-4.1.1/criu/util.c:2003:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1993:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1999:20: branch_false: following ‘false’ branch (when ‘ret < 0’)...
criu-4.1.1/criu/util.c:2003:17: branch_false: ...to here
criu-4.1.1/criu/util.c:2003:17: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def931]
criu-4.1.1/criu/util.c:2003:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1993:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1999:20: branch_true: following ‘true’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/util.c:2000:31: branch_true: ...to here
criu-4.1.1/criu/util.c:2000:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:2003:17: danger: ‘ret’ leaks here; was opened at [(18)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def932]
criu-4.1.1/criu/util.c:2009:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/util.c:1993:17: branch_true: ...to here
criu-4.1.1/criu/util.c:1999:20: branch_true: following ‘true’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/util.c:2000:31: branch_true: ...to here
criu-4.1.1/criu/util.c:2000:31: acquire_resource: opened here
criu-4.1.1/criu/util.c:2005:20: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/criu/util.c:2009:17: branch_false: ...to here
criu-4.1.1/criu/util.c:2009:17: danger: ‘ret’ leaks here; was opened at [(18)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def933]
criu-4.1.1/criu/util.c:2014:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:2014:9: branch_false: ...to here
criu-4.1.1/criu/util.c:2014:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def934]
criu-4.1.1/criu/util.c:2014:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:2014:9: branch_false: ...to here
criu-4.1.1/criu/util.c:2014:9: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def935]
criu-4.1.1/criu/util.c:2025:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
criu-4.1.1/criu/util.c:1971:5: enter_function: entry to ‘run_command’
criu-4.1.1/criu/util.c:1981:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1984:17: branch_false: ...to here
criu-4.1.1/criu/util.c:1984:17: call_function: calling ‘raw_clone’ from ‘run_command’
criu-4.1.1/criu/util.c:1984:17: return_function: returning to ‘run_command’ from ‘raw_clone’
criu-4.1.1/criu/util.c:1985:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:1991:12: branch_false: ...to here
criu-4.1.1/criu/util.c:1991:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/util.c:2014:9: branch_false: ...to here
criu-4.1.1/criu/util.c:2025:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def936]
criu-4.1.1/criu/vdso.c:155:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/vdso.c:132:12: branch_false: following ‘false’ branch (when ‘rt_vdso_marked’ is non-NULL)...
criu-4.1.1/criu/vdso.c:139:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.1.1/criu/vdso.c:148:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:155:25: branch_false: following ‘false’ branch (when ‘rt_vvar_marked’ is NULL)...
criu-4.1.1/criu/vdso.c:156:29: branch_false: ...to here
criu-4.1.1/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.1.1/criu/vdso.c:148:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:155:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def937]
criu-4.1.1/criu/vdso.c:272:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/vdso.c:267:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:270:18: branch_false: ...to here
criu-4.1.1/criu/vdso.c:271:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:272:17: branch_true: ...to here
criu-4.1.1/criu/vdso.c:272:17: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:272:17: branch_true: ...to here
criu-4.1.1/criu/vdso.c:272:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def938]
criu-4.1.1/criu/vdso.c:304:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def939]
criu-4.1.1/criu/vdso.c:308:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def940]
criu-4.1.1/criu/vdso.c:315:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def941]
criu-4.1.1/criu/vdso.c:337:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def942]
criu-4.1.1/criu/vdso.c:343:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def943]
criu-4.1.1/criu/vdso.c:350:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:425:12: enter_function: entry to ‘vdso_mmap_compat’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:464:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:464:13: call_function: calling ‘vdso_parse_maps’ from ‘vdso_mmap_compat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def944]
criu-4.1.1/criu/vdso.c:438:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:438:21: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def945]
criu-4.1.1/criu/vdso.c:438:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:438:21: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def946]
criu-4.1.1/criu/vdso.c:439:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:438:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:439:25: branch_true: ...to here
criu-4.1.1/criu/vdso.c:439:25: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def947]
criu-4.1.1/criu/vdso.c:443:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:443:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def948]
criu-4.1.1/criu/vdso.c:445:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1.1/criu/vdso.c:445:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def949]
criu-4.1.1/criu/vdso.c:448:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:13: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def950]
criu-4.1.1/criu/vdso.c:448:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def951]
criu-4.1.1/criu/vdso.c:449:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:449:17: branch_true: ...to here
criu-4.1.1/criu/vdso.c:449:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def952]
criu-4.1.1/criu/vdso.c:452:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:452:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def953]
criu-4.1.1/criu/vdso.c:455:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:455:17: branch_true: ...to here
criu-4.1.1/criu/vdso.c:455:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def954]
criu-4.1.1/criu/vdso.c:460:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:448:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:452:9: branch_false: ...to here
criu-4.1.1/criu/vdso.c:454:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:459:14: branch_false: ...to here
criu-4.1.1/criu/vdso.c:459:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/vdso.c:460:17: branch_true: ...to here
criu-4.1.1/criu/vdso.c:460:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def955]
criu-4.1.1/criu/vdso.c:491:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1.1/criu/vdso.c:437:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
criu-4.1.1/criu/vdso.c:448:13: branch_false: ...to here
criu-4.1.1/criu/vdso.c:491:13: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def956]
criu-4.1.1/include/common/err.h:31:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(do_open_proc(pid, 0, "map_files"))’
criu-4.1.1/criu/proc_parse.c:773:5: enter_function: entry to ‘parse_smaps’
criu-4.1.1/criu/proc_parse.c:788:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:791:13: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:791:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:794:25: acquire_memory: allocated here
criu-4.1.1/criu/proc_parse.c:794:25: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:795:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:808:20: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:808:20: branch_true: following ‘true’ branch...
criu-4.1.1/criu/proc_parse.c:808:30: branch_true: ...to here
criu-4.1.1/criu/proc_parse.c:808:30: call_function: calling ‘__is_vma_range_fmt’ from ‘parse_smaps’
criu-4.1.1/criu/proc_parse.c:808:30: return_function: returning to ‘parse_smaps’ from ‘__is_vma_range_fmt’
criu-4.1.1/criu/proc_parse.c:808:21: branch_false: following ‘false’ branch...
criu-4.1.1/criu/proc_parse.c:809:30: branch_false: ...to here
criu-4.1.1/criu/proc_parse.c:804:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_smaps’
Error: CPPCHECK_WARNING (CWE-476): [#def957]
criu-4.1.1/include/common/lock.h:82: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def958]
criu-4.1.1/include/common/lock.h:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/compel/plugins/std/infect.c:151:38: enter_function: entry to ‘parasite_init_daemon’
criu-4.1.1/compel/plugins/std/infect.c:187:9: call_function: calling ‘futex_set_and_wake’ from ‘parasite_init_daemon’
Error: CPPCHECK_WARNING (CWE-476): [#def959]
criu-4.1.1/include/common/lock.h:88: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def960]
criu-4.1.1/include/common/lock.h:88:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:88:9: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/lock.h:88:9: branch_true: ...to here
criu-4.1.1/include/common/lock.h:88:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def961]
criu-4.1.1/include/common/lock.h:102: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def962]
criu-4.1.1/include/common/lock.h:102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:102:9: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/lock.h:102:9: branch_true: ...to here
criu-4.1.1/include/common/lock.h:102:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def963]
criu-4.1.1/include/common/lock.h:109: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def964]
criu-4.1.1/include/common/lock.h:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:109:9: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/lock.h:109:9: branch_true: ...to here
criu-4.1.1/include/common/lock.h:109:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def965]
criu-4.1.1/include/common/lock.h:141: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def966]
criu-4.1.1/include/common/lock.h:141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:139:16: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/lock.h:140:49: branch_true: ...to here
criu-4.1.1/include/common/lock.h:141:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def967]
criu-4.1.1/include/common/lock.h:162: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def968]
criu-4.1.1/include/common/lock.h:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:160:16: branch_true: following ‘true’ branch (when ‘c != 1’)...
criu-4.1.1/include/common/lock.h:161:45: branch_true: ...to here
criu-4.1.1/include/common/lock.h:162:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def969]
criu-4.1.1/include/common/lock.h:175: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def970]
criu-4.1.1/include/common/lock.h:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/lock.h:175:9: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/lock.h:175:9: branch_true: ...to here
criu-4.1.1/include/common/lock.h:175:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def971]
criu-4.1.1/include/common/scm-code.c:13:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
criu-4.1.1/include/common/scm-code.c:48:5: enter_function: entry to ‘send_fds’
criu-4.1.1/include/common/scm-code.c:56:21: branch_true: following ‘true’ branch (when ‘i < nr_fds’)...
criu-4.1.1/include/common/scm-code.c:57:26: branch_true: ...to here
criu-4.1.1/include/common/scm-code.c:58:17: call_function: inlined call to ‘scm_fdset_init_chunk’ from ‘send_fds’
Error: CPPCHECK_WARNING (CWE-476): [#def972]
criu-4.1.1/include/common/scm-code.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def973]
criu-4.1.1/include/common/scm-code.c:106:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1.1/include/common/scm-code.c:82:21: branch_true: following ‘true’ branch (when ‘i < nr_fds’)...
criu-4.1.1/include/common/scm-code.c:83:26: branch_true: ...to here
criu-4.1.1/include/common/scm-code.c:87:20: branch_false: following ‘false’ branch (when ‘ret > 0’)...
criu-4.1.1/include/common/scm-code.c:90:24: branch_false: ...to here
criu-4.1.1/include/common/scm-code.c:90:24: branch_true: following ‘true’ branch...
criu-4.1.1/include/common/scm-code.c:90:17: branch_true: ...to here
criu-4.1.1/include/common/scm-code.c:91:20: branch_false: following ‘false’ branch...
criu-4.1.1/include/common/scm-code.c:93:20: branch_false: following ‘false’ branch...
criu-4.1.1/include/common/scm-code.c:96:27: branch_false: ...to here
criu-4.1.1/include/common/scm-code.c:106:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def974]
criu-4.1.1/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1.1/criu/img-streamer.c:169:12: enter_function: entry to ‘establish_streamer_file_pipe’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:13: call_function: inlined call to ‘send_fd’ from ‘establish_streamer_file_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def975]
criu-4.1.1/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1.1/criu/img-streamer.c:169:12: enter_function: entry to ‘establish_streamer_file_pipe’
criu-4.1.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:186:13: call_function: inlined call to ‘send_fd’ from ‘establish_streamer_file_pipe’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def976]
criu-4.1.1/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[criu_pipe_direction]’
criu-4.1.1/criu/img-streamer.c:196:12: enter_function: entry to ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:198:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:201:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:201:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:204:21: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:204:21: call_function: calling ‘recv_file_reply’ from ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:204:21: return_function: returning to ‘_img_streamer_open’ from ‘recv_file_reply’
criu-4.1.1/criu/img-streamer.c:204:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:207:21: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:207:20: branch_true: following ‘true’ branch...
branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:219:16: call_function: calling ‘establish_streamer_file_pipe’ from ‘_img_streamer_open’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def977]
criu-4.1.1/include/common/scm.h:39:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/criu/img-streamer.c:196:12: enter_function: entry to ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:198:12: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:201:13: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:201:12: branch_true: following ‘true’ branch...
criu-4.1.1/criu/img-streamer.c:204:21: branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:204:21: call_function: calling ‘recv_file_reply’ from ‘_img_streamer_open’
criu-4.1.1/criu/img-streamer.c:204:21: return_function: returning to ‘_img_streamer_open’ from ‘recv_file_reply’
criu-4.1.1/criu/img-streamer.c:204:20: branch_false: following ‘false’ branch...
criu-4.1.1/criu/img-streamer.c:207:21: branch_false: ...to here
criu-4.1.1/criu/img-streamer.c:207:20: branch_true: following ‘true’ branch...
branch_true: ...to here
criu-4.1.1/criu/img-streamer.c:219:16: call_function: calling ‘establish_streamer_file_pipe’ from ‘_img_streamer_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
criu-4.1.1/lib/c/criu.c:263:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc’
criu-4.1.1/lib/c/criu.c:290:5: enter_function: entry to ‘criu_init_opts’
criu-4.1.1/lib/c/criu.c:292:16: call_function: calling ‘criu_local_init_opts’ from ‘criu_init_opts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def979]
criu-4.1.1/lib/c/criu.c:280:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
criu-4.1.1/lib/c/criu.c:290:5: enter_function: entry to ‘criu_init_opts’
criu-4.1.1/lib/c/criu.c:292:16: call_function: calling ‘criu_local_init_opts’ from ‘criu_init_opts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def980]
criu-4.1.1/lib/c/criu.c:467:9: warning[-Wanalyzer-malloc-leak]: leak of ‘u’
criu-4.1.1/lib/c/criu.c:456:13: branch_false: following ‘false’ branch...
criu-4.1.1/lib/c/criu.c:464:13: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:464:13: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:465:12: branch_false: following ‘false’ branch (when ‘u’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:467:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:467:9: danger: ‘u’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
criu-4.1.1/lib/c/criu.c:772:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1.1/lib/c/criu.c:785:5: enter_function: entry to ‘criu_set_exec_cmd’
criu-4.1.1/lib/c/criu.c:787:16: call_function: calling ‘criu_local_set_exec_cmd’ from ‘criu_set_exec_cmd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def982]
criu-4.1.1/lib/c/criu.c:798:9: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
criu-4.1.1/lib/c/criu.c:795:13: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:796:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:798:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:798:9: danger: ‘m’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def983]
criu-4.1.1/lib/c/criu.c:840:9: warning[-Wanalyzer-malloc-leak]: leak of ‘root’
criu-4.1.1/lib/c/criu.c:837:16: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:838:12: branch_false: following ‘false’ branch (when ‘root’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:840:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:840:9: danger: ‘root’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def984]
criu-4.1.1/lib/c/criu.c:886:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
criu-4.1.1/lib/c/criu.c:883:13: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:884:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:886:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:886: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): [#def985]
criu-4.1.1/lib/c/criu.c:1111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
criu-4.1.1/lib/c/criu.c:1105:12: branch_false: following ‘false’ branch...
criu-4.1.1/lib/c/criu.c:1108:13: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1108:13: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1109:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1111:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1111:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def986]
criu-4.1.1/lib/c/criu.c:1176:20: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(address)’
criu-4.1.1/lib/c/criu.c:1190:5: enter_function: entry to ‘criu_set_page_server_address_port’
criu-4.1.1/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): [#def987]
criu-4.1.1/lib/c/criu.c:1242:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/lib/c/criu.c:1218:12: branch_false: following ‘false’ branch (when ‘len != -1’)...
criu-4.1.1/lib/c/criu.c:1229:22: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1229:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1230:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1236:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1242:15: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def988]
criu-4.1.1/lib/c/criu.c:1302:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/lib/c/criu.c:1295:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1296:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1302:13: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1302:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def989]
criu-4.1.1/lib/c/criu.c:1447:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/lib/c/criu.c:1434:14: acquire_resource: socket created here
criu-4.1.1/lib/c/criu.c:1435:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1.1/lib/c/criu.c:1441:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1445:12: branch_true: following ‘true’ branch (when ‘addr_len > 107’)...
criu-4.1.1/lib/c/criu.c:1446:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1447:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def990]
criu-4.1.1/lib/c/criu.c:1454:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1.1/lib/c/criu.c:1434:14: acquire_resource: socket created here
criu-4.1.1/lib/c/criu.c:1435:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1.1/lib/c/criu.c:1441:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1445:12: branch_false: following ‘false’ branch (when ‘addr_len <= 107’)...
criu-4.1.1/lib/c/criu.c:1450:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1454:15: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def991]
criu-4.1.1/lib/c/criu.c:1907:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_true: following ‘true’ branch (when ‘_ns_file’ is NULL)...
criu-4.1.1/lib/c/criu.c:1907:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1907: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): [#def992]
criu-4.1.1/lib/c/criu.c:1914:25: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1913:20: branch_true: following ‘true’ branch (when ‘_extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1914:25: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1914:25: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
criu-4.1.1/lib/c/criu.c:1914:25: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1913:20: branch_true: following ‘true’ branch (when ‘_extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1914:25: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1914:25: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
criu-4.1.1/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.1.1/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1921:17: danger: ‘_extra_opt’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
criu-4.1.1/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.1.1/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1921: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): [#def996]
criu-4.1.1/lib/c/criu.c:1921:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_true: following ‘true’ branch (when ‘join_ns’ is NULL)...
criu-4.1.1/lib/c/criu.c:1921:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1921: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): [#def997]
criu-4.1.1/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.1.1/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.1.1/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): [#def998]
criu-4.1.1/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.1.1/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1928:17: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
criu-4.1.1/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.1.1/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1928:17: 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): [#def1000]
criu-4.1.1/lib/c/criu.c:1928:17: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1919:19: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_true: following ‘true’ branch (when ‘join_ns_arr’ is NULL)...
criu-4.1.1/lib/c/criu.c:1928:17: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1928:17: danger: ‘join_ns’ leaks here; was allocated at [(11)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
criu-4.1.1/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_extra_opt’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_true: following ‘true’ branch (when ‘extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1912:30: branch_true: ...to here
criu-4.1.1/lib/c/criu.c:1912:30: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1913:20: branch_false: following ‘false’ branch (when ‘_extra_opt’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.1.1/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): [#def1002]
criu-4.1.1/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns_file’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1905:20: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1932:9: danger: ‘_ns_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
criu-4.1.1/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1894:15: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1932:9: danger: ‘_ns’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
criu-4.1.1/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns_arr’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1932:9: danger: ‘join_ns_arr’ leaks here; was allocated at [(13)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
criu-4.1.1/lib/c/criu.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘join_ns’
criu-4.1.1/lib/c/criu.c:1889:12: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1894:15: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1895:12: branch_false: following ‘false’ branch (when ‘_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1900:12: branch_false: following ‘false’ branch (when ‘ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1905:20: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1906:12: branch_false: following ‘false’ branch (when ‘_ns_file’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1911:12: branch_false: following ‘false’ branch (when ‘extra_opt’ is NULL)...
criu-4.1.1/lib/c/criu.c:1919:19: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1919:19: acquire_memory: allocated here
criu-4.1.1/lib/c/criu.c:1920:12: branch_false: following ‘false’ branch (when ‘join_ns’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1925:21: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1927:12: branch_false: following ‘false’ branch (when ‘join_ns_arr’ is non-NULL)...
criu-4.1.1/lib/c/criu.c:1932:9: branch_false: ...to here
criu-4.1.1/lib/c/criu.c:1932:9: danger: ‘join_ns’ leaks here; was allocated at [(11)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING: [#def1006] [important]
criu-4.1.1/plugins/cuda/cuda_plugin.c:1:10: error[fatal error]: criu-log.h: No such file or directory
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
criu-4.1.1/soccr/soccr.c:94:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
criu-4.1.1/soccr/soccr.c:124:21: enter_function: entry to ‘libsoccr_pause’
criu-4.1.1/soccr/soccr.c:128:15: acquire_memory: allocated here
criu-4.1.1/soccr/soccr.c:129:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
criu-4.1.1/soccr/soccr.c:134:13: branch_false: ...to here
criu-4.1.1/soccr/soccr.c:134:13: call_function: calling ‘tcp_repair_on’ from ‘libsoccr_pause’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
criu-4.1.1/soccr/soccr.c:356:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
criu-4.1.1/soccr/soccr.c:337:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/soccr/soccr.c:340:9: branch_false: ...to here
criu-4.1.1/soccr/soccr.c:342:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
criu-4.1.1/soccr/soccr.c:345:12: branch_false: ...to here
criu-4.1.1/soccr/soccr.c:345:12: branch_true: following ‘true’ branch (when ‘len != 0’)...
criu-4.1.1/soccr/soccr.c:350:30: branch_true: ...to here
criu-4.1.1/soccr/soccr.c:350:23: acquire_memory: allocated here
criu-4.1.1/soccr/soccr.c:351:20: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
criu-4.1.1/soccr/soccr.c:356:23: branch_false: ...to here
criu-4.1.1/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.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| 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-251.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-gcc-latest-x86_64 |
| project-name | criu-4.1.1-4.fc44 |
| store-results-to | /tmp/tmpi4lfaxvm/criu-4.1.1-4.fc44.tar.xz |
| time-created | 2025-10-28 17:38:12 |
| time-finished | 2025-10-28 17:42:43 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpi4lfaxvm/criu-4.1.1-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpi4lfaxvm/criu-4.1.1-4.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |