criu-4.1-2.fc43
List of Findings
Error: CPPCHECK_WARNING (CWE-476): [#def1]
criu-4.1/compel/plugins/std/infect.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def2]
criu-4.1/compel/src/lib/infect.c:430: error[nullPointer]: Null pointer dereference: (struct sockaddr_un*)0
Error: CPPCHECK_WARNING (CWE-476): [#def3]
criu-4.1/compel/src/lib/infect.c:710: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
criu-4.1/compel/src/lib/infect.c:710:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/compel/src/lib/infect.c:680:12: enter_function: entry to ‘parasite_init_daemon’
criu-4.1/compel/src/lib/infect.c:699:13: call_function: calling ‘prepare_tsock’ from ‘parasite_init_daemon’
criu-4.1/compel/src/lib/infect.c:699:13: return_function: returning to ‘parasite_init_daemon’ from ‘prepare_tsock’
criu-4.1/compel/src/lib/infect.c:699:12: branch_false: following ‘false’ branch...
criu-4.1/compel/src/lib/infect.c:703:13: branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:703:12: branch_false: following ‘false’ branch...
criu-4.1/compel/src/lib/infect.c:706:9: branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:707:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:710:9: branch_false: following ‘false’ branch...
criu-4.1/compel/src/lib/infect.c:710:9: branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:710:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def5]
criu-4.1/compel/src/lib/infect.c:931: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
criu-4.1/compel/src/lib/infect.c:931:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/compel/src/lib/infect.c:911:28: branch_true: following ‘true’ branch (when ‘i < nr_relocs’)...
criu-4.1/compel/src/lib/infect.c:912:31: branch_true: ...to here
criu-4.1/compel/src/lib/infect.c:912:20: branch_false: following ‘false’ branch...
criu-4.1/compel/src/lib/infect.c:927:28: branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:927:27: branch_false: following ‘false’ branch...
criu-4.1/compel/src/lib/infect.c:931:25: branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:931:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
criu-4.1/compel/src/lib/infect.c:1202:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&aux, "r")’
criu-4.1/compel/src/lib/infect.c:1190:13: acquire_resource: opened here
criu-4.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.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): [#def8]
criu-4.1/compel/src/lib/infect.c:1202:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&aux, "r")’
criu-4.1/compel/src/lib/infect.c:1190:13: acquire_memory: allocated here
criu-4.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.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): [#def9]
criu-4.1/compel/src/lib/infect.c:1203: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
criu-4.1/compel/src/lib/infect.c:1203:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/compel/src/lib/infect.c:1191:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/compel/src/lib/infect.c:1194:16: branch_true: following ‘true’ branch...
criu-4.1/compel/src/lib/infect.c:1198:25: branch_true: ...to here
criu-4.1/compel/src/lib/infect.c:1203:25: branch_true: following ‘true’ branch...
criu-4.1/compel/src/lib/infect.c:1203:25: branch_true: ...to here
criu-4.1/compel/src/lib/infect.c:1203:25: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def11]
criu-4.1/compel/src/lib/infect.c:1529: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
criu-4.1/compel/src/lib/infect.c:1529:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/compel/src/lib/infect.c:1529:9: branch_true: following ‘true’ branch...
criu-4.1/compel/src/lib/infect.c:1529:9: branch_true: ...to here
criu-4.1/compel/src/lib/infect.c:1529:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
criu-4.1/compel/src/main-host.c:280:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
criu-4.1/compel/src/main-host.c:253:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.1/compel/src/main-host.c:258:18: branch_false: ...to here
criu-4.1/compel/src/main-host.c:267:12: branch_true: following ‘true’ branch (when ‘p1’ is NULL)...
branch_true: ...to here
criu-4.1/compel/src/main-host.c:269:12: branch_true: following ‘true’ branch (when ‘p2’ is NULL)...
criu-4.1/compel/src/main-host.c:270:17: branch_true: ...to here
criu-4.1/compel/src/main-host.c:273:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
criu-4.1/compel/src/main-host.c:276:15: branch_false: ...to here
criu-4.1/compel/src/main-host.c:276:15: acquire_memory: this call could return NULL
criu-4.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): [#def14]
criu-4.1/criu/action-scripts.c:152:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
criu-4.1/criu/arch/x86/crtools.c:107:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.1/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:107:9: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:107:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:107:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
criu-4.1/criu/arch/x86/crtools.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:94:12: branch_false: following ‘false’ branch (when ‘fpregs’ is non-NULL)...
criu-4.1/criu/arch/x86/crtools.c:97:9: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:107:9: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:108:9: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:108:9: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:108:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
criu-4.1/criu/arch/x86/crtools.c:512:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
criu-4.1/criu/arch/x86/crtools.c:513:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:513:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:513:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
criu-4.1/criu/arch/x86/crtools.c:514:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:514:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:514:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
criu-4.1/criu/arch/x86/crtools.c:515:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:515:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:515:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
criu-4.1/criu/arch/x86/crtools.c:516:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:516:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:516:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
criu-4.1/criu/arch/x86/crtools.c:517:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:517:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:517:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
criu-4.1/criu/arch/x86/crtools.c:518:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/crtools.c:436:12: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/crtools.c:441:14: branch_false: ...to here
criu-4.1/criu/arch/x86/crtools.c:441:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:444:9: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:491:12: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:503:21: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:503:20: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:512:25: branch_true: ...to here
criu-4.1/criu/arch/x86/crtools.c:518:25: branch_true: following ‘true’ branch...
criu-4.1/criu/arch/x86/crtools.c:518:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
criu-4.1/criu/arch/x86/shstk.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/shstk.c:108:9: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/shstk.c:108:9: branch_false: ...to here
criu-4.1/criu/arch/x86/shstk.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
criu-4.1/criu/arch/x86/shstk.c:151:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/arch/x86/shstk.c:145:13: enter_function: entry to ‘shstk_sync_unlock’
criu-4.1/criu/arch/x86/shstk.c:148:9: call_function: calling ‘futex_set_and_wake’ from ‘shstk_sync_unlock’
criu-4.1/criu/arch/x86/shstk.c:148:9: return_function: returning to ‘shstk_sync_unlock’ from ‘futex_set_and_wake’
criu-4.1/criu/arch/x86/shstk.c:151:9: branch_false: following ‘false’ branch...
criu-4.1/criu/arch/x86/shstk.c:151:9: branch_false: ...to here
criu-4.1/criu/arch/x86/shstk.c:151:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
criu-4.1/criu/autofs.c:949:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/autofs.c:949:9: branch_true: following ‘true’ branch (when ‘master’ is NULL)...
criu-4.1/criu/autofs.c:949:9: branch_true: ...to here
criu-4.1/criu/autofs.c:949:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
criu-4.1/criu/bfd.c:330:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/bfd.c:310:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/bfd.c:313:16: branch_true: following ‘true’ branch (when ‘more == 1’)...
criu-4.1/criu/bfd.c:316:17: branch_true: ...to here
criu-4.1/criu/bfd.c:320:20: branch_false: following ‘false’ branch (when ‘chunk == 0’)...
criu-4.1/criu/bfd.c:327:20: branch_false: ...to here
criu-4.1/criu/bfd.c:330:25: branch_true: following ‘true’ branch (when ‘filled > size’)...
criu-4.1/criu/bfd.c:330:25: branch_true: ...to here
criu-4.1/criu/bfd.c:330:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
criu-4.1/criu/clone-noasan.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/clone-noasan.c:41:9: branch_true: following ‘true’ branch...
criu-4.1/criu/clone-noasan.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
criu-4.1/criu/clone-noasan.c:53:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/clone-noasan.c:53:9: branch_true: following ‘true’ branch...
criu-4.1/criu/clone-noasan.c:53:9: branch_true: ...to here
criu-4.1/criu/clone-noasan.c:53:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
criu-4.1/criu/clone-noasan.c:59:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/clone-noasan.c:53:9: branch_false: following ‘false’ branch...
criu-4.1/criu/clone-noasan.c:59:9: branch_false: ...to here
criu-4.1/criu/clone-noasan.c:59:9: branch_true: following ‘true’ branch...
criu-4.1/criu/clone-noasan.c:59:9: branch_true: ...to here
criu-4.1/criu/clone-noasan.c:59:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
criu-4.1/criu/cr-check.c:1413:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
criu-4.1/criu/cr-check.c:1413:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
criu-4.1/criu/cr-check.c:1418:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1/criu/cr-check.c:1418:20: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
criu-4.1/criu/cr-check.c:1418:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1/criu/cr-check.c:1418:20: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
criu-4.1/criu/cr-check.c:1423:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_resource: opened here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1/criu/cr-check.c:1418:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-check.c:1423:21: branch_false: ...to here
criu-4.1/criu/cr-check.c:1423:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
criu-4.1/criu/cr-check.c:1423:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/self/maps", "r")’
criu-4.1/criu/cr-check.c:1407:16: acquire_memory: allocated here
criu-4.1/criu/cr-check.c:1408:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-check.c:1413:16: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-check.c:1418:21: branch_true: ...to here
criu-4.1/criu/cr-check.c:1418:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-check.c:1423:21: branch_false: ...to here
criu-4.1/criu/cr-check.c:1423:21: danger: ‘fopen("/proc/self/maps", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def37]
criu-4.1/criu/cr-dump.c:113:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1/criu/cr-dump.c:2119:5: enter_function: entry to ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2139:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2141:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2144:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2148:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2148:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2151:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2151:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2154:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2154:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2157:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2157:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2160:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2160:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2163:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2163:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2166:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2166:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2169:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2169:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2172:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2172:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2175:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2180:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2183:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2183:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2192:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2192:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2195:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2195:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2198:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2198:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2201:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2201:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2204:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2204:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2207:13: call_function: inlined call to ‘collect_file_locks’ from ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2207:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2210:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2210:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2213:23: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2214:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2217:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2217:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2221:21: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2226:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2226:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.1/criu/cr-dump.c:2227:21: branch_true: ...to here
criu-4.1/criu/cr-dump.c:2227:21: call_function: calling ‘dump_one_task’ from ‘cr_dump_tasks’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def38]
criu-4.1/criu/cr-dump.c:114:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1/criu/cr-dump.c:2119:5: enter_function: entry to ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2139:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2141:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2144:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2148:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2148:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2151:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2151:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2154:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2154:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2157:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2157:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2160:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2160:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2163:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2163:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2166:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2166:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2169:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2169:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2172:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2172:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2175:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2180:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2183:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2183:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2192:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2192:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2195:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2195:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2198:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2198:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2201:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2201:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2204:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2204:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2207:13: call_function: inlined call to ‘collect_file_locks’ from ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2207:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2210:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2210:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2213:23: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2214:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2217:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2217:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2221:21: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2226:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2226:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.1/criu/cr-dump.c:2227:21: branch_true: ...to here
criu-4.1/criu/cr-dump.c:2227:21: call_function: calling ‘dump_one_task’ from ‘cr_dump_tasks’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def39]
criu-4.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/criu/cr-dump.c:2119:5: enter_function: entry to ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2139:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2141:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2144:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2148:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2148:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2151:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2151:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2154:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2154:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2157:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2157:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2160:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2160:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2163:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2163:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2166:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2166:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2169:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2169:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2172:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2172:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2175:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2180:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2183:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2183:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2192:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2192:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2195:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2195:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2198:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2198:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2201:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2201:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2204:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2204:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2207:13: call_function: inlined call to ‘collect_file_locks’ from ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2207:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2210:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2210:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2213:23: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2214:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2217:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2217:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2221:21: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2226:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2226:9: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
criu-4.1/criu/cr-dump.c:2227:21: branch_true: ...to here
criu-4.1/criu/cr-dump.c:2227:21: call_function: calling ‘dump_one_task’ from ‘cr_dump_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
criu-4.1/criu/cr-dump.c:1399:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-dump.c:2119:5: enter_function: entry to ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2139:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2141:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2144:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2148:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2148:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2151:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2151:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2154:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2154:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2157:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2157:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2160:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2160:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2163:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2163:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2166:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2166:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2169:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2169:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2172:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2172:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2175:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2180:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2183:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2183:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2192:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2192:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2195:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2195:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2198:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2198:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2201:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2201:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2204:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2204:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2207:13: call_function: inlined call to ‘collect_file_locks’ from ‘cr_dump_tasks’
criu-4.1/criu/cr-dump.c:2207:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2210:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2210:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2213:23: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2214:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2217:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2217:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2221:21: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2226:9: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2242:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2246:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2246:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2249:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2249:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2252:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2252:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-dump.c:2255:13: branch_false: ...to here
criu-4.1/criu/cr-dump.c:2255:13: call_function: calling ‘dump_zombies’ from ‘cr_dump_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
criu-4.1/criu/cr-dump.c:1798:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
criu-4.1/criu/cr-restore.c:153:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
criu-4.1/criu/cr-restore.c:173:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:3116:12: enter_function: entry to ‘sigreturn_restore’
criu-4.1/criu/cr-restore.c:3153:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3156:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3156:12: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-restore.c:3158:21: branch_true: ...to here
criu-4.1/criu/cr-restore.c:3158:21: call_function: calling ‘restore_wait_other_tasks’ from ‘sigreturn_restore’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
criu-4.1/criu/cr-restore.c:182:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:3116:12: enter_function: entry to ‘sigreturn_restore’
criu-4.1/criu/cr-restore.c:3153:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3156:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3156:12: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-restore.c:3158:21: branch_true: ...to here
criu-4.1/criu/cr-restore.c:3158:21: call_function: calling ‘restore_wait_other_tasks’ from ‘sigreturn_restore’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
criu-4.1/criu/cr-restore.c:1174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:1997:12: enter_function: entry to ‘restore_root_task’
criu-4.1/criu/cr-restore.c:2004:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2009:14: branch_false: ...to here
criu-4.1/criu/cr-restore.c:2010:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2015:15: branch_false: ...to here
criu-4.1/criu/cr-restore.c:2016:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2026:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:2026:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2029:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:2029:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2032:13: call_function: inlined call to ‘vpid’ from ‘restore_root_task’
criu-4.1/criu/cr-restore.c:2033:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:2054:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:2054:9: call_function: calling ‘__restore_switch_stage_nw’ from ‘restore_root_task’
criu-4.1/criu/cr-restore.c:2054:9: return_function: returning to ‘restore_root_task’ from ‘__restore_switch_stage_nw’
criu-4.1/criu/cr-restore.c:2056:15: call_function: calling ‘fork_with_pid’ from ‘restore_root_task’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
criu-4.1/criu/cr-restore.c:1486:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:1509:12: enter_function: entry to ‘__restore_task_with_children’
criu-4.1/criu/cr-restore.c:1538:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1544:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1544:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1547:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1596:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1600:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1635:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1638:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1638:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1641:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1641:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1644:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1644:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1647:13: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1652:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:1655:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:1657:13: call_function: calling ‘create_children_and_session’ from ‘__restore_task_with_children’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
criu-4.1/criu/cr-restore.c:3177:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:3153:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3156:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3171:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3174:24: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3177:9: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-restore.c:3177:9: branch_true: ...to here
criu-4.1/criu/cr-restore.c:3177:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
criu-4.1/criu/cr-restore.c:3314:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-restore.c:3153:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3156:20: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3171:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3174:24: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3177:9: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3178:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3207:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3212:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3215:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3222:39: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3230:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3235:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3241:12: branch_false: following ‘false’ branch (when ‘mem == task_args’)...
criu-4.1/criu/cr-restore.c:3246:9: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3255:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3270:30: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3271:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3276:34: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3282:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-restore.c:3287:35: branch_false: ...to here
criu-4.1/criu/cr-restore.c:3314:9: branch_true: following ‘true’ branch...
criu-4.1/criu/cr-restore.c:3314:9: branch_true: ...to here
criu-4.1/criu/cr-restore.c:3314:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
criu-4.1/criu/cr-service.c:312:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/cr-service.c:1445:5: enter_function: entry to ‘cr_service’
criu-4.1/criu/cr-service.c:1458:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1463:17: branch_false: ...to here
criu-4.1/criu/cr-service.c:1479:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1484:17: branch_false: ...to here
criu-4.1/criu/cr-service.c:1487:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1492:21: branch_false: ...to here
criu-4.1/criu/cr-service.c:1492:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1498:12: branch_false: ...to here
criu-4.1/criu/cr-service.c:1512:13: call_function: calling ‘setup_sigchld_handler’ from ‘cr_service’
criu-4.1/criu/cr-service.c:1512:13: return_function: returning to ‘cr_service’ from ‘setup_sigchld_handler’
criu-4.1/criu/cr-service.c:1512:12: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1515:13: branch_false: ...to here
criu-4.1/criu/cr-service.c:1515:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/cr-service.c:1524:20: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1529:17: branch_false: ...to here
criu-4.1/criu/cr-service.c:1534:29: call_function: calling ‘restore_sigchld_handler’ from ‘cr_service’
criu-4.1/criu/cr-service.c:1534:29: return_function: returning to ‘cr_service’ from ‘restore_sigchld_handler’
criu-4.1/criu/cr-service.c:1534:28: branch_false: following ‘false’ branch...
criu-4.1/criu/cr-service.c:1537:25: branch_false: ...to here
criu-4.1/criu/cr-service.c:1539:31: call_function: calling ‘cr_service_work’ from ‘cr_service’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
criu-4.1/criu/crtools.c:122:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/crtools.c:122:9: branch_true: following ‘true’ branch...
criu-4.1/criu/crtools.c:122:9: branch_true: ...to here
criu-4.1/criu/crtools.c:122:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def51]
criu-4.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/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def52]
criu-4.1/criu/eventpoll.c:112:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘dinfo’
criu-4.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def53]
criu-4.1/criu/eventpoll.c:115:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).fe’
criu-4.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def54]
criu-4.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/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def55]
criu-4.1/criu/eventpoll.c:118:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct eventpoll_dinfo)*((struct list_head *)dinfo)).toff’
criu-4.1/criu/eventpoll.c:125:5: enter_function: entry to ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:166:21: call_function: calling ‘img_from_set’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:166:21: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘img_from_set’
criu-4.1/criu/eventpoll.c:166:20: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/eventpoll.c:172:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
criu-4.1/criu/eventpoll.c:172:17: return_function: returning to ‘flush_eventpoll_dinfo_queue’ from ‘dequeue_dinfo’
criu-4.1/criu/eventpoll.c:130:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:131:37: branch_true: ...to here
criu-4.1/criu/eventpoll.c:178:9: branch_true: following ‘true’ branch...
criu-4.1/criu/eventpoll.c:179:17: branch_true: ...to here
criu-4.1/criu/eventpoll.c:179:17: call_function: calling ‘dequeue_dinfo’ from ‘flush_eventpoll_dinfo_queue’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
criu-4.1/criu/file-lock.c:174:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/file-lock.c:162:12: branch_false: following ‘false’ branch...
criu-4.1/criu/file-lock.c:169:13: branch_false: ...to here
criu-4.1/criu/file-lock.c:169:12: branch_true: following ‘true’ branch...
criu-4.1/criu/file-lock.c:170:21: branch_true: ...to here
criu-4.1/criu/file-lock.c:170:20: branch_true: following ‘true’ branch...
criu-4.1/criu/file-lock.c:173:29: branch_true: ...to here
criu-4.1/criu/file-lock.c:174:25: branch_true: following ‘true’ branch...
criu-4.1/criu/file-lock.c:174:25: branch_true: ...to here
criu-4.1/criu/file-lock.c:174:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
criu-4.1/criu/files-reg.c:1858:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files-reg.c:2051:12: enter_function: entry to ‘rfi_remap’
criu-4.1/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.1/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.1/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.1/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/files-reg.c:2090:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2091:9: branch_false: ...to here
criu-4.1/criu/files-reg.c:2091:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2094:9: branch_false: ...to here
criu-4.1/criu/files-reg.c:2094:9: call_function: calling ‘convert_path_from_another_mp’ from ‘rfi_remap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
criu-4.1/criu/files-reg.c:1967:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files-reg.c:2051:12: enter_function: entry to ‘rfi_remap’
criu-4.1/criu/files-reg.c:2058:12: branch_true: following ‘true’ branch...
criu-4.1/criu/files-reg.c:2060:30: branch_true: ...to here
criu-4.1/criu/files-reg.c:2106:18: call_function: calling ‘make_parent_dirs_if_need’ from ‘rfi_remap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
criu-4.1/criu/files-reg.c:2090:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.1/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.1/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.1/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/files-reg.c:2090:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files-reg.c:2090:9: branch_true: ...to here
criu-4.1/criu/files-reg.c:2090:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
criu-4.1/criu/files-reg.c:2091:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files-reg.c:2058:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2066:14: branch_false: ...to here
criu-4.1/criu/files-reg.c:2067:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2070:13: branch_false: ...to here
criu-4.1/criu/files-reg.c:2070:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2078:15: branch_false: ...to here
criu-4.1/criu/files-reg.c:2079:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/files-reg.c:2090:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2091:9: branch_false: ...to here
criu-4.1/criu/files-reg.c:2091:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files-reg.c:2091:9: branch_true: ...to here
criu-4.1/criu/files-reg.c:2091:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
criu-4.1/criu/files-reg.c:2135:24: warning[-Wanalyzer-malloc-leak]: leak of ‘build_id’
criu-4.1/criu/files-reg.c:2191:5: enter_function: entry to ‘open_path’
criu-4.1/criu/files-reg.c:2200:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2205:13: branch_false: ...to here
criu-4.1/criu/files-reg.c:2266:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2271:9: branch_false: ...to here
criu-4.1/criu/files-reg.c:2273:13: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2276:21: branch_false: ...to here
criu-4.1/criu/files-reg.c:2276:20: branch_false: following ‘false’ branch...
criu-4.1/criu/files-reg.c:2281:22: branch_false: ...to here
criu-4.1/criu/files-reg.c:2281:22: call_function: calling ‘validate_file’ from ‘open_path’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
criu-4.1/criu/files-reg.c:2478:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
criu-4.1/criu/files.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
criu-4.1/criu/files.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:225:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:225:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
criu-4.1/criu/files.c:244:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
criu-4.1/criu/files.c:998:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:998:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:998:9: branch_true: ...to here
criu-4.1/criu/files.c:998:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
criu-4.1/criu/files.c:1072:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.1/criu/files.c:1072:9: branch_false: ...to here
criu-4.1/criu/files.c:1072:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1072:9: branch_true: ...to here
criu-4.1/criu/files.c:1072:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
criu-4.1/criu/files.c:1075:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fd, dfd)’
criu-4.1/criu/files.c:1069:12: branch_false: following ‘false’ branch (when ‘dfd != fd’)...
criu-4.1/criu/files.c:1072:9: branch_false: ...to here
criu-4.1/criu/files.c:1072:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:1074:9: branch_false: ...to here
criu-4.1/criu/files.c:1075:13: acquire_resource: opened here
criu-4.1/criu/files.c:1075:12: danger: ‘dup2(fd, dfd)’ leaks here; was opened at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
criu-4.1/criu/files.c:1127:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1119:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:1122:41: branch_false: ...to here
criu-4.1/criu/files.c:1122:12: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:1127:9: branch_false: ...to here
criu-4.1/criu/files.c:1127:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1127:9: branch_true: ...to here
criu-4.1/criu/files.c:1127:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
criu-4.1/criu/files.c:1143:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1135:12: enter_function: entry to ‘open_fd’
criu-4.1/criu/files.c:1141:17: call_function: calling ‘file_master’ from ‘open_fd’
criu-4.1/criu/files.c:1141:17: return_function: returning to ‘open_fd’ from ‘file_master’
criu-4.1/criu/files.c:1142:12: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1143:17: branch_true: ...to here
criu-4.1/criu/files.c:1143:17: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1143:17: branch_true: ...to here
criu-4.1/criu/files.c:1143:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
criu-4.1/criu/files.c:1218:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1216:17: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1217:30: branch_true: ...to here
criu-4.1/criu/files.c:1218:25: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1218:25: branch_true: ...to here
criu-4.1/criu/files.c:1218:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
criu-4.1/criu/files.c:1323:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.1/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1322:17: branch_true: ...to here
criu-4.1/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.1/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.1/criu/files.c:1323:17: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:1323:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
criu-4.1/criu/files.c:1327:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.1/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1322:17: branch_true: ...to here
criu-4.1/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
criu-4.1/criu/files.c:1322:17: return_function: returning to ‘prepare_fds’ from ‘futex_inc_and_wake’
criu-4.1/criu/files.c:1325:20: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1326:25: branch_true: ...to here
criu-4.1/criu/files.c:1327:25: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:1327:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
criu-4.1/criu/files.c:1332:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1332:9: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1332:9: branch_true: ...to here
criu-4.1/criu/files.c:1332:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
criu-4.1/criu/fsnotify.c:94:24: warning[-Wanalyzer-malloc-leak]: leak of ‘alloc_openable(s_dev, i_ino, f_handle)’
criu-4.1/criu/fsnotify.c:381:12: enter_function: entry to ‘check_one_mark’
criu-4.1/criu/fsnotify.c:383:12: branch_true: following ‘true’ branch...
criu-4.1/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.1/criu/fsnotify.c:384:17: branch_false: following ‘false’ branch...
criu-4.1/criu/fsnotify.c:386:17: branch_false: ...to here
criu-4.1/criu/fsnotify.c:392:21: call_function: calling ‘check_open_handle’ from ‘check_one_mark’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
criu-4.1/criu/fsnotify.c:130:21: warning[-Wanalyzer-malloc-leak]: leak of ‘alloc_openable(s_dev, i_ino, f_handle)’
criu-4.1/criu/fsnotify.c:416:12: enter_function: entry to ‘dump_one_fanotify’
criu-4.1/criu/fsnotify.c:423:12: branch_false: following ‘false’ branch...
criu-4.1/criu/fsnotify.c:425:17: branch_false: ...to here
criu-4.1/criu/fsnotify.c:433:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/fsnotify.c:436:21: branch_true: following ‘true’ branch...
criu-4.1/criu/fsnotify.c:437:36: branch_true: ...to here
criu-4.1/criu/fsnotify.c:437:21: call_function: calling ‘check_one_mark’ from ‘dump_one_fanotify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
criu-4.1/criu/fsnotify.c:384:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/fsnotify.c:383:12: branch_true: following ‘true’ branch...
criu-4.1/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.1/criu/fsnotify.c:384:17: branch_true: following ‘true’ branch...
criu-4.1/criu/fsnotify.c:384:17: branch_true: ...to here
criu-4.1/criu/fsnotify.c:384:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
criu-4.1/criu/fsnotify.c:399:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/fsnotify.c:416:12: enter_function: entry to ‘dump_one_fanotify’
criu-4.1/criu/fsnotify.c:423:12: branch_false: following ‘false’ branch...
criu-4.1/criu/fsnotify.c:425:17: branch_false: ...to here
criu-4.1/criu/fsnotify.c:433:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/fsnotify.c:436:21: branch_true: following ‘true’ branch...
criu-4.1/criu/fsnotify.c:437:36: branch_true: ...to here
criu-4.1/criu/fsnotify.c:437:21: call_function: calling ‘check_one_mark’ from ‘dump_one_fanotify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
criu-4.1/criu/image.c:798:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/image.c:798:9: branch_true: following ‘true’ branch...
criu-4.1/criu/image.c:798:9: branch_true: ...to here
criu-4.1/criu/image.c:798:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
criu-4.1/criu/img-streamer.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
criu-4.1/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
criu-4.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1/criu/img-streamer.c:183:24: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
criu-4.1/criu/img-streamer.c:183:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
criu-4.1/criu/img-streamer.c:181:12: branch_false: following ‘false’ branch...
criu-4.1/criu/img-streamer.c:186:13: branch_false: ...to here
criu-4.1/criu/img-streamer.c:183:24: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
criu-4.1/criu/img-streamer.c:234:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/img-streamer.c:234:9: branch_true: following ‘true’ branch...
criu-4.1/criu/img-streamer.c:234:9: branch_true: ...to here
criu-4.1/criu/img-streamer.c:234:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def84]
criu-4.1/criu/include/image.h:146: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
criu-4.1/criu/include/image.h:146:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
criu-4.1/criu/include/imgset.h:20:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/apparmor.c:643:5: enter_function: entry to ‘dump_aa_namespaces’
criu-4.1/criu/apparmor.c:648:12: branch_false: following ‘false’ branch...
criu-4.1/criu/apparmor.c:651:14: branch_false: ...to here
criu-4.1/criu/apparmor.c:651:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/apparmor.c:654:9: branch_false: ...to here
criu-4.1/criu/apparmor.c:659:15: call_function: calling ‘img_from_set’ from ‘dump_aa_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
criu-4.1/criu/kcmp-ids.c:76:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/kcmp-ids.c:68:13: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/kcmp-ids.c:72:20: branch_false: ...to here
criu-4.1/criu/kcmp-ids.c:76:9: branch_true: following ‘true’ branch...
criu-4.1/criu/kcmp-ids.c:76:9: branch_true: ...to here
criu-4.1/criu/kcmp-ids.c:76:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
criu-4.1/criu/kcmp-ids.c:94:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/kcmp-ids.c:94:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.1/criu/kcmp-ids.c:94:9: branch_true: ...to here
criu-4.1/criu/kcmp-ids.c:94:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
criu-4.1/criu/kcmp-ids.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/kcmp-ids.c:158:9: branch_true: following ‘true’ branch (when ‘node’ is NULL)...
criu-4.1/criu/kcmp-ids.c:158:9: branch_true: ...to here
criu-4.1/criu/kcmp-ids.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
criu-4.1/criu/kerndat.c:395:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/kerndat.c:365:12: branch_false: following ‘false’ branch (when ‘which <= 2’)...
criu-4.1/criu/kerndat.c:370:13: branch_false: ...to here
criu-4.1/criu/kerndat.c:370:12: branch_true: following ‘true’ branch...
criu-4.1/criu/kerndat.c:374:21: branch_true: ...to here
criu-4.1/criu/kerndat.c:374:20: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:385:21: branch_false: ...to here
criu-4.1/criu/kerndat.c:385:20: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:390:26: branch_false: ...to here
criu-4.1/criu/kerndat.c:390:20: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:395:17: branch_false: ...to here
criu-4.1/criu/kerndat.c:395:17: branch_true: following ‘true’ branch...
criu-4.1/criu/kerndat.c:395:17: branch_true: ...to here
criu-4.1/criu/kerndat.c:395:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
criu-4.1/criu/kerndat.c:489:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/kerndat.c:477:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:482:16: branch_false: ...to here
criu-4.1/criu/kerndat.c:483:12: branch_false: following ‘false’ branch (when ‘addr != 18446744073709551615’)...
criu-4.1/criu/kerndat.c:488:13: branch_false: ...to here
criu-4.1/criu/kerndat.c:488:12: branch_true: following ‘true’ branch...
criu-4.1/criu/kerndat.c:489:17: branch_true: ...to here
criu-4.1/criu/kerndat.c:489:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
criu-4.1/criu/kerndat.c:1226:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1/criu/kerndat.c:1226:14: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
criu-4.1/criu/kerndat.c:1235:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1/criu/kerndat.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:1235:15: branch_false: ...to here
criu-4.1/criu/kerndat.c:1235:15: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
criu-4.1/criu/kerndat.c:1237:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(kdat_file, 0)’
criu-4.1/criu/kerndat.c:1223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:1226:14: branch_false: ...to here
criu-4.1/criu/kerndat.c:1226:14: acquire_resource: opened here
criu-4.1/criu/kerndat.c:1227:12: branch_false: following ‘false’ branch...
criu-4.1/criu/kerndat.c:1235:15: branch_false: ...to here
criu-4.1/criu/kerndat.c:1236:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
criu-4.1/criu/kerndat.c:1237:17: branch_true: ...to here
criu-4.1/criu/kerndat.c:1237:17: danger: ‘open(kdat_file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
criu-4.1/criu/lsm.c:282:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
criu-4.1/criu/mem.c:927:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/mem.c:1302:5: enter_function: entry to ‘prepare_mappings’
criu-4.1/criu/mem.c:1313:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1317:27: branch_false: ...to here
criu-4.1/criu/mem.c:1318:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1324:9: branch_false: ...to here
criu-4.1/criu/mem.c:1330:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1333:13: branch_false: ...to here
criu-4.1/criu/mem.c:1333:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1336:9: branch_false: ...to here
criu-4.1/criu/mem.c:1338:15: call_function: calling ‘premap_priv_vmas’ from ‘prepare_mappings’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
criu-4.1/criu/mem.c:946:25: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/mem.c:1019:12: enter_function: entry to ‘premap_priv_vmas’
criu-4.1/criu/mem.c:1028:9: branch_true: following ‘true’ branch (when ‘vma != vmas’)...
criu-4.1/criu/mem.c:1033:30: branch_true: ...to here
criu-4.1/criu/mem.c:1033:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1040:22: branch_false: ...to here
criu-4.1/criu/mem.c:1040:20: branch_true: following ‘true’ branch...
criu-4.1/criu/mem.c:1043:21: branch_true: ...to here
criu-4.1/criu/mem.c:1043:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1047:21: branch_false: ...to here
criu-4.1/criu/mem.c:1047:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1050:21: branch_false: ...to here
criu-4.1/criu/mem.c:1068:23: call_function: calling ‘premap_private_vma’ from ‘premap_priv_vmas’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
criu-4.1/criu/mem.c:1154:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mem.c:1104:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1107:52: branch_false: ...to here
criu-4.1/criu/mem.c:1141:28: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1143:34: branch_false: ...to here
criu-4.1/criu/mem.c:1143:33: branch_false: following ‘false’ branch...
criu-4.1/criu/mem.c:1148:30: branch_false: ...to here
criu-4.1/criu/mem.c:1148:28: branch_true: following ‘true’ branch...
criu-4.1/criu/mem.c:1149:53: branch_true: ...to here
criu-4.1/criu/mem.c:1151:36: branch_true: following ‘true’ branch...
criu-4.1/criu/mem.c:1152:41: branch_true: ...to here
criu-4.1/criu/mem.c:1154:41: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
criu-4.1/criu/mount-v2.c:491:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:491:9: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:491:9: branch_true: ...to here
criu-4.1/criu/mount-v2.c:491:9: branch_false: following ‘false’ branch...
criu-4.1/criu/mount-v2.c:491:9: branch_false: ...to here
criu-4.1/criu/mount-v2.c:491:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
criu-4.1/criu/mount-v2.c:643:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:643:9: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:643:9: branch_true: ...to here
criu-4.1/criu/mount-v2.c:643:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
criu-4.1/criu/mount-v2.c:861:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:859:12: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:860:26: branch_true: ...to here
criu-4.1/criu/mount-v2.c:861:17: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:861:17: branch_true: ...to here
criu-4.1/criu/mount-v2.c:861:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
criu-4.1/criu/mount-v2.c:865:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:859:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount-v2.c:865:17: branch_false: ...to here
criu-4.1/criu/mount-v2.c:865:17: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:865:17: branch_true: ...to here
criu-4.1/criu/mount-v2.c:865:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
criu-4.1/criu/mount-v2.c:886:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:859:12: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:860:26: branch_true: ...to here
criu-4.1/criu/mount-v2.c:861:17: branch_false: following ‘false’ branch...
criu-4.1/criu/mount-v2.c:885:18: branch_false: ...to here
criu-4.1/criu/mount-v2.c:886:9: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:886:9: branch_true: ...to here
criu-4.1/criu/mount-v2.c:886:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
criu-4.1/criu/mount-v2.c:934:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount-v2.c:934:9: branch_true: following ‘true’ branch...
criu-4.1/criu/mount-v2.c:934:9: branch_true: ...to here
criu-4.1/criu/mount-v2.c:934:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
criu-4.1/criu/mount-v2.c:1073:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
criu-4.1/criu/mount.c:48:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
criu-4.1/criu/mount.c:520:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:3970:5: enter_function: entry to ‘collect_mnt_namespaces’
criu-4.1/criu/mount.c:3979:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3982:9: branch_false: ...to here
criu-4.1/criu/mount.c:4007:15: call_function: calling ‘resolve_external_mounts’ from ‘collect_mnt_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
criu-4.1/criu/mount.c:925:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:3692:5: enter_function: entry to ‘prepare_mnt_ns’
criu-4.1/criu/mount.c:3698:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3701:9: branch_false: ...to here
criu-4.1/criu/mount.c:3728:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3731:15: branch_false: ...to here
criu-4.1/criu/mount.c:3731:15: call_function: calling ‘populate_mnt_ns’ from ‘prepare_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
criu-4.1/criu/mount.c:933:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:3692:5: enter_function: entry to ‘prepare_mnt_ns’
criu-4.1/criu/mount.c:3698:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3701:9: branch_false: ...to here
criu-4.1/criu/mount.c:3728:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3731:15: branch_false: ...to here
criu-4.1/criu/mount.c:3731:15: call_function: calling ‘populate_mnt_ns’ from ‘prepare_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
criu-4.1/criu/mount.c:1028:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:4025:5: enter_function: entry to ‘dump_mnt_namespaces’
criu-4.1/criu/mount.c:4029:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:4032:14: branch_false: ...to here
criu-4.1/criu/mount.c:4032:29: branch_true: following ‘true’ branch (when ‘nsid’ is non-NULL)...
criu-4.1/criu/mount.c:4033:21: branch_true: ...to here
criu-4.1/criu/mount.c:4033:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:4042:21: call_function: calling ‘dump_mnt_ns’ from ‘dump_mnt_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
criu-4.1/criu/mount.c:2330:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:2715:12: enter_function: entry to ‘do_mount_one’
criu-4.1/criu/mount.c:2772:19: branch_true: following ‘true’ branch...
criu-4.1/criu/mount.c:2772:34: branch_true: ...to here
criu-4.1/criu/mount.c:2772:20: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:2773:23: call_function: calling ‘do_new_mount’ from ‘do_mount_one’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
criu-4.1/criu/mount.c:2853:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:3692:5: enter_function: entry to ‘prepare_mnt_ns’
criu-4.1/criu/mount.c:3698:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3701:9: branch_false: ...to here
criu-4.1/criu/mount.c:3728:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:3731:15: branch_false: ...to here
criu-4.1/criu/mount.c:3731:15: call_function: calling ‘populate_mnt_ns’ from ‘prepare_mnt_ns’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
criu-4.1/criu/mount.c:3942:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:3940:12: branch_true: following ‘true’ branch...
criu-4.1/criu/mount.c:3941:25: branch_true: ...to here
criu-4.1/criu/mount.c:3942:17: branch_true: following ‘true’ branch...
criu-4.1/criu/mount.c:3942:17: branch_true: ...to here
criu-4.1/criu/mount.c:3942:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
criu-4.1/criu/mount.c:4141:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/mount.c:4134:12: branch_false: following ‘false’ branch...
criu-4.1/criu/mount.c:4137:12: branch_false: ...to here
criu-4.1/criu/mount.c:4141:9: branch_true: following ‘true’ branch...
criu-4.1/criu/mount.c:4141:9: branch_true: ...to here
criu-4.1/criu/mount.c:4141:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
criu-4.1/criu/namespaces.c:1262:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
criu-4.1/criu/namespaces.c:1276:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
criu-4.1/criu/namespaces.c:1277:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
criu-4.1/criu/namespaces.c:1278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
criu-4.1/criu/namespaces.c:1279:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
criu-4.1/criu/namespaces.c:1289:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
criu-4.1/criu/namespaces.c:1290:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/namespaces.c:1838:5: enter_function: entry to ‘prepare_namespace_before_tasks’
criu-4.1/criu/namespaces.c:1840:13: call_function: calling ‘start_usernsd’ from ‘prepare_namespace_before_tasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
criu-4.1/criu/net.c:1512:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/net.c:3003:12: enter_function: entry to ‘__prepare_net_namespaces’
criu-4.1/criu/net.c:3008:12: branch_false: following ‘false’ branch...
criu-4.1/criu/net.c:3011:19: branch_false: ...to here
criu-4.1/criu/net.c:3011:19: branch_false: following ‘false’ branch...
criu-4.1/criu/net.c:3016:14: branch_false: ...to here
criu-4.1/criu/net.c:3045:13: call_function: calling ‘restore_links’ from ‘__prepare_net_namespaces’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
criu-4.1/criu/net.c:2706:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/net.c:2706:9: branch_true: following ‘true’ branch...
criu-4.1/criu/net.c:2706:9: branch_true: ...to here
criu-4.1/criu/net.c:2706:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
criu-4.1/criu/net.c:3109:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/net.c:3099:12: branch_true: following ‘true’ branch...
criu-4.1/criu/net.c:3104:20: branch_false: following ‘false’ branch...
criu-4.1/criu/net.c:3109:17: branch_false: ...to here
criu-4.1/criu/net.c:3109:17: branch_true: following ‘true’ branch...
criu-4.1/criu/net.c:3109:17: branch_true: ...to here
criu-4.1/criu/net.c:3109:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def125]
criu-4.1/criu/net.c:3552:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1/criu/net.c:3498:12: branch_true: following ‘true’ branch (when ‘for_dump != 0’)...
criu-4.1/criu/net.c:3499:38: branch_true: ...to here
criu-4.1/criu/net.c:3499:38: acquire_resource: socket created here
criu-4.1/criu/net.c:3500:20: branch_false: following ‘false’ branch...
criu-4.1/criu/net.c:3536:13: branch_false: ...to here
criu-4.1/criu/net.c:3536:12: branch_false: following ‘false’ branch...
criu-4.1/criu/net.c:3552:31: branch_false: ...to here
criu-4.1/criu/net.c:3552:15: danger: leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def126]
criu-4.1/criu/page-pipe.c:41: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
criu-4.1/criu/page-pipe.c:41:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/page-pipe.c:37:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:40:13: branch_false: ...to here
criu-4.1/criu/page-pipe.c:41:9: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:41:9: branch_true: ...to here
criu-4.1/criu/page-pipe.c:41:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def128]
criu-4.1/criu/page-pipe.c:126:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor
criu-4.1/criu/page-pipe.c:104:15: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/page-pipe.c:107:9: branch_false: ...to here
criu-4.1/criu/page-pipe.c:109:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:116:26: branch_false: ...to here
criu-4.1/criu/page-pipe.c:116:20: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:121:17: branch_false: ...to here
criu-4.1/criu/page-pipe.c:125:20: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:126:25: branch_true: ...to here
criu-4.1/criu/page-pipe.c:126:25: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
criu-4.1/criu/page-pipe.c:219:9: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/page-pipe.c:187:19: enter_function: entry to ‘create_page_pipe’
criu-4.1/criu/page-pipe.c:193:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/page-pipe.c:197:9: branch_false: ...to here
criu-4.1/criu/page-pipe.c:202:12: branch_true: following ‘true’ branch (when ‘iovs’ is NULL)...
criu-4.1/criu/page-pipe.c:203:24: branch_true: ...to here
criu-4.1/criu/page-pipe.c:203:24: acquire_memory: allocated here
criu-4.1/criu/page-pipe.c:203:24: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/page-pipe.c:206:27: branch_false: ...to here
criu-4.1/criu/page-pipe.c:210:13: call_function: calling ‘page_pipe_grow’ from ‘create_page_pipe’
criu-4.1/criu/page-pipe.c:210:13: return_function: returning to ‘create_page_pipe’ from ‘page_pipe_grow’
criu-4.1/criu/page-pipe.c:210:12: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:211:17: branch_true: ...to here
criu-4.1/criu/page-pipe.c:216:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:218:1: branch_false: ...to here
criu-4.1/criu/page-pipe.c:219:9: danger: ‘___p’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: CPPCHECK_WARNING (CWE-476): [#def130]
criu-4.1/criu/page-pipe.c:242: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
criu-4.1/criu/page-pipe.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/page-pipe.c:242:9: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:242:9: branch_true: ...to here
criu-4.1/criu/page-pipe.c:242:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def132]
criu-4.1/criu/page-pipe.c:252: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: CPPCHECK_WARNING (CWE-476): [#def133]
criu-4.1/criu/page-pipe.c:270: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
criu-4.1/criu/page-pipe.c:270:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/page-pipe.c:258:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:261:13: branch_false: ...to here
criu-4.1/criu/page-pipe.c:261:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:264:13: branch_false: ...to here
criu-4.1/criu/page-pipe.c:270:9: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:270:9: branch_true: ...to here
criu-4.1/criu/page-pipe.c:270:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def135]
criu-4.1/criu/page-pipe.c:278: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
criu-4.1/criu/page-pipe.c:278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def137]
criu-4.1/criu/page-pipe.c:295: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
criu-4.1/criu/page-pipe.c:295:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/page-pipe.c:282:5: enter_function: entry to ‘page_pipe_add_page’
criu-4.1/criu/page-pipe.c:286:15: call_function: calling ‘try_add_page’ from ‘page_pipe_add_page’
criu-4.1/criu/page-pipe.c:286:15: return_function: returning to ‘page_pipe_add_page’ from ‘try_add_page’
criu-4.1/criu/page-pipe.c:287:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:290:15: branch_false: ...to here
criu-4.1/criu/page-pipe.c:291:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-pipe.c:294:15: branch_false: ...to here
criu-4.1/criu/page-pipe.c:294:15: call_function: calling ‘try_add_page’ from ‘page_pipe_add_page’
criu-4.1/criu/page-pipe.c:294:15: return_function: returning to ‘page_pipe_add_page’ from ‘try_add_page’
criu-4.1/criu/page-pipe.c:295:9: branch_true: following ‘true’ branch...
criu-4.1/criu/page-pipe.c:295:9: branch_true: ...to here
criu-4.1/criu/page-pipe.c:295:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
criu-4.1/criu/page-xfer.c:77:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
criu-4.1/criu/page-xfer.c:1626:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/page-xfer.c:1620:12: branch_false: following ‘false’ branch...
criu-4.1/criu/page-xfer.c:1626:9: branch_false: ...to here
criu-4.1/criu/page-xfer.c:1626:9: branch_true: following ‘true’ branch...
criu-4.1/criu/page-xfer.c:1626:9: branch_true: ...to here
criu-4.1/criu/page-xfer.c:1626:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
criu-4.1/criu/page-xfer.c:1635:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
criu-4.1/criu/pagemap-cache.c:52:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap-cache.c:52:9: branch_true: following ‘true’ branch (when ‘vma_head’ is NULL)...
criu-4.1/criu/pagemap-cache.c:52:9: branch_true: ...to here
criu-4.1/criu/pagemap-cache.c:52:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
criu-4.1/criu/pagemap-cache.c:143:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap-cache.c:132:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pagemap-cache.c:132:13: branch_false: ...to here
criu-4.1/criu/pagemap-cache.c:132:13: branch_true: following ‘true’ branch...
criu-4.1/criu/pagemap-cache.c:139:17: branch_true: following ‘true’ branch...
criu-4.1/criu/pagemap-cache.c:140:29: branch_true: ...to here
criu-4.1/criu/pagemap-cache.c:140:28: branch_false: following ‘false’ branch...
criu-4.1/criu/pagemap-cache.c:143:25: branch_true: following ‘true’ branch...
criu-4.1/criu/pagemap-cache.c:143:25: branch_true: ...to here
criu-4.1/criu/pagemap-cache.c:143:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
criu-4.1/criu/pagemap-cache.c:174:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap-cache.c:174:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pagemap-cache.c:174:9: branch_true: ...to here
criu-4.1/criu/pagemap-cache.c:174:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
criu-4.1/criu/pagemap-cache.c:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap-cache.c:174:9: branch_false: following ‘false’ branch...
criu-4.1/criu/pagemap-cache.c:175:9: branch_false: ...to here
criu-4.1/criu/pagemap-cache.c:175:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pagemap-cache.c:175:9: branch_true: ...to here
criu-4.1/criu/pagemap-cache.c:175:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
criu-4.1/criu/pagemap.c:596:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap.c:849:5: enter_function: entry to ‘open_page_read’
criu-4.1/criu/pagemap.c:851:16: call_function: calling ‘open_page_read_at’ from ‘open_page_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
criu-4.1/criu/pagemap.c:782:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pagemap.c:849:5: enter_function: entry to ‘open_page_read’
criu-4.1/criu/pagemap.c:851:16: call_function: calling ‘open_page_read_at’ from ‘open_page_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
criu-4.1/criu/parasite-syscall.c:108:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:108:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:108:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:108:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
criu-4.1/criu/parasite-syscall.c:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:109:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:109:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:109:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
criu-4.1/criu/parasite-syscall.c:110:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:110:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:110:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:110:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
criu-4.1/criu/parasite-syscall.c:111:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:111:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:111:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:111:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
criu-4.1/criu/parasite-syscall.c:112:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:108:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:109:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:110:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:110:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:111:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:111:9: branch_false: following ‘false’ branch...
criu-4.1/criu/parasite-syscall.c:112:9: branch_false: ...to here
criu-4.1/criu/parasite-syscall.c:112:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:112:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:112:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
criu-4.1/criu/parasite-syscall.c:187:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:187:9: branch_true: following ‘true’ branch (when ‘id == 0’)...
criu-4.1/criu/parasite-syscall.c:187:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:187:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
criu-4.1/criu/parasite-syscall.c:388:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/parasite-syscall.c:388:9: branch_true: following ‘true’ branch...
criu-4.1/criu/parasite-syscall.c:388:9: branch_true: ...to here
criu-4.1/criu/parasite-syscall.c:388:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
criu-4.1/criu/pidfd.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pidfd.c:187:12: enter_function: entry to ‘open_one_pidfd’
criu-4.1/criu/pidfd.c:195:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pidfd.c:204:34: branch_false: ...to here
criu-4.1/criu/pidfd.c:204:16: call_function: calling ‘lookup_dead_pidfd’ from ‘open_one_pidfd’
criu-4.1/criu/pidfd.c:204:16: return_function: returning to ‘open_one_pidfd’ from ‘lookup_dead_pidfd’
criu-4.1/criu/pidfd.c:205:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pidfd.c:205:9: branch_true: ...to here
criu-4.1/criu/pidfd.c:205:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def156]
criu-4.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/criu/pie-util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.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): [#def157]
criu-4.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/criu/pie-util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.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): [#def158]
criu-4.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/criu/pie-util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1/criu/pie-util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def159]
criu-4.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/criu/pie-util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1/criu/pie-util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
criu-4.1/criu/pie/parasite-vdso.c:132:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pie/parasite-vdso.c:131:12: branch_true: following ‘true’ branch...
criu-4.1/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.1/criu/pie/parasite-vdso.c:132:17: branch_true: following ‘true’ branch (when ‘vdso_size < space’)...
criu-4.1/criu/pie/parasite-vdso.c:132:17: branch_true: ...to here
criu-4.1/criu/pie/parasite-vdso.c:132:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
criu-4.1/criu/pie/parasite-vdso.c:136:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pie/parasite-vdso.c:131:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pie/parasite-vdso.c:136:9: branch_false: ...to here
criu-4.1/criu/pie/parasite-vdso.c:136:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pie/parasite-vdso.c:136:9: branch_true: ...to here
criu-4.1/criu/pie/parasite-vdso.c:136:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def162]
criu-4.1/criu/pie/restorer.c:1217:59: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts.tv_sec’
criu-4.1/criu/pie/restorer.c:1197:21: branch_true: following ‘true’ branch...
criu-4.1/criu/pie/restorer.c:1198:46: branch_true: ...to here
criu-4.1/criu/pie/restorer.c:1203:20: branch_true: following ‘true’ branch...
criu-4.1/criu/pie/restorer.c:1212:47: branch_true: ...to here
criu-4.1/criu/pie/restorer.c:1212:28: branch_false: following ‘false’ branch...
criu-4.1/criu/pie/restorer.c:1217:25: branch_false: ...to here
criu-4.1/criu/pie/restorer.c:1217:59: danger: use of uninitialized value ‘ts.tv_sec’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
criu-4.1/criu/pie/restorer.c:1406:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pie/restorer.c:1395:21: branch_true: following ‘true’ branch...
criu-4.1/criu/pie/restorer.c:1398:63: branch_true: ...to here
criu-4.1/criu/pie/restorer.c:1401:20: branch_true: following ‘true’ branch (when ‘ret == -10’)...
branch_true: ...to here
criu-4.1/criu/pie/restorer.c:1406:25: branch_false: following ‘false’ branch...
criu-4.1/criu/pie/restorer.c:1406:25: branch_false: ...to here
criu-4.1/criu/pie/restorer.c:1406:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
criu-4.1/criu/pie/restorer.c:2266:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def165]
criu-4.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/criu/pie/util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.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): [#def166]
criu-4.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/criu/pie/util-vdso-elf32.c:430:5: enter_function: entry to ‘vdso_fill_symtable_compat’
criu-4.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): [#def167]
criu-4.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/criu/pie/util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1/criu/pie/util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def168]
criu-4.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/criu/pie/util-vdso.c:430:5: enter_function: entry to ‘vdso_fill_symtable’
criu-4.1/criu/pie/util-vdso.c:449:15: call_function: calling ‘parse_elf_phdr’ from ‘vdso_fill_symtable’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
criu-4.1/criu/pipes.c:294:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
criu-4.1/criu/pipes.c:308:15: return_function: returning to ‘open_pipe’ from ‘restore_pipe_data’
criu-4.1/criu/pipes.c:312:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pipes.c:313:30: branch_true: ...to here
criu-4.1/criu/pipes.c:294:32: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
criu-4.1/criu/pipes.c:294:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1/criu/pipes.c:284:5: enter_function: entry to ‘open_pipe’
criu-4.1/criu/pipes.c:292:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:300:13: branch_false: ...to here
criu-4.1/criu/pipes.c:300:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:303:13: branch_false: ...to here
criu-4.1/criu/pipes.c:303:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pipes.c:308:59: branch_false: ...to here
criu-4.1/criu/pipes.c:308:15: call_function: calling ‘restore_pipe_data’ from ‘open_pipe’
criu-4.1/criu/pipes.c:308:15: return_function: returning to ‘open_pipe’ from ‘restore_pipe_data’
criu-4.1/criu/pipes.c:312:9: branch_true: following ‘true’ branch...
criu-4.1/criu/pipes.c:313:30: branch_true: ...to here
criu-4.1/criu/pipes.c:294:32: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
criu-4.1/criu/plugin.c:175:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1/criu/plugin.c:202:5: enter_function: entry to ‘cr_plugin_init’
criu-4.1/criu/plugin.c:210:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
criu-4.1/criu/plugin.c:211:17: branch_true: ...to here
criu-4.1/criu/plugin.c:226:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/plugin.c:238:20: branch_false: following ‘false’ branch...
criu-4.1/criu/plugin.c:245:30: branch_false: ...to here
criu-4.1/criu/plugin.c:250:20: branch_false: following ‘false’ branch...
criu-4.1/criu/plugin.c:255:21: branch_false: ...to here
criu-4.1/criu/plugin.c:255:21: call_function: calling ‘cr_lib_load’ from ‘cr_plugin_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def172]
criu-4.1/criu/proc_parse.c:2467:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tidpid[0]’
criu-4.1/criu/proc_parse.c:2408:5: enter_function: entry to ‘parse_posix_timers’
criu-4.1/criu/proc_parse.c:2425:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2428:13: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2428:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2442:33: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2446:29: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2446:28: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2489:17: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2450:28: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/proc_parse.c:2435:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2437:21: call_function: inlined call to ‘IS_ERR’ from ‘parse_posix_timers’
criu-4.1/criu/proc_parse.c:2437:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2440:25: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2458:28: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2461:25: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2467:29: danger: use of uninitialized value ‘tidpid[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
criu-4.1/criu/proc_parse.c:2545:17: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/proc_parse.c:2517:16: branch_true: following ‘true’ branch...
criu-4.1/criu/proc_parse.c:2521:21: branch_true: ...to here
criu-4.1/criu/proc_parse.c:2521:20: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2524:21: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2524:20: branch_true: following ‘true’ branch...
criu-4.1/criu/proc_parse.c:2525:31: branch_true: ...to here
criu-4.1/criu/proc_parse.c:2525:31: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2532:26: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2517:16: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2539:9: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2541:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2545:17: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2545:17: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/proc_parse.c:2545:17: danger: ‘___p’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
criu-4.1/criu/proc_parse.c:2545:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/proc_parse.c:2513:15: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2514:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/proc_parse.c:2541:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2545:17: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2545:17: branch_true: following ‘true’ branch...
criu-4.1/criu/proc_parse.c:2545:17: branch_true: ...to here
criu-4.1/criu/proc_parse.c:2545:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
criu-4.1/criu/proc_parse.c:2552:16: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
criu-4.1/criu/proc_parse.c:2556:23: warning[-Wanalyzer-malloc-leak]: leak of ‘___p’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def177]
criu-4.1/criu/proc_parse.c:2607:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def178]
criu-4.1/criu/proc_parse.c:2708:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*n.l.next’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def179]
criu-4.1/criu/proc_parse.c:2709:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*c.name’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def180]
criu-4.1/criu/proc_parse.c:2709:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def181]
criu-4.1/criu/proc_parse.c:2709:17: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘c’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def182]
criu-4.1/criu/proc_parse.c:2710:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*c.path’
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def183]
criu-4.1/criu/proc_parse.c:2710:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def184]
criu-4.1/criu/proc_parse.c:2711:17: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘c’ which points to memory on the stack
criu-4.1/criu/proc_parse.c:2621:5: enter_function: entry to ‘parse_thread_cgroup’
criu-4.1/criu/proc_parse.c:2630:13: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2636:12: branch_false: following ‘false’ branch...
criu-4.1/criu/proc_parse.c:2643:12: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2643:12: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2646:45: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2647:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
criu-4.1/criu/proc_parse.c:2652:15: branch_false: ...to here
criu-4.1/criu/proc_parse.c:2652:15: call_function: calling ‘parse_cgroup_file’ from ‘parse_thread_cgroup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
criu-4.1/criu/pstree.c:238:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
criu-4.1/criu/pstree.c:490:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
criu-4.1/criu/pstree.c:560:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/pstree.c:1071:5: enter_function: entry to ‘prepare_dummy_pstree’
criu-4.1/criu/pstree.c:1075:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pstree.c:1078:13: branch_false: ...to here
criu-4.1/criu/pstree.c:1078:12: branch_false: following ‘false’ branch...
criu-4.1/criu/pstree.c:1081:13: branch_false: ...to here
criu-4.1/criu/pstree.c:1081:13: call_function: calling ‘read_pstree_image’ from ‘prepare_dummy_pstree’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
criu-4.1/criu/pstree.c:1104:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
criu-4.1/criu/rst-malloc.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
criu-4.1/criu/rst-malloc.c:160:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/rst-malloc.c:160:9: branch_false: following ‘false’ branch...
criu-4.1/criu/rst-malloc.c:160:9: branch_false: ...to here
criu-4.1/criu/rst-malloc.c:160:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
criu-4.1/criu/rst-malloc.c:169:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/rst-malloc.c:169:9: branch_false: following ‘false’ branch...
criu-4.1/criu/rst-malloc.c:169:9: branch_false: ...to here
criu-4.1/criu/rst-malloc.c:169:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
criu-4.1/criu/rst-malloc.c:188:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
criu-4.1/criu/rst-malloc.c:211:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
criu-4.1/criu/seccomp.c:222:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.1/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.1/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.1/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.1/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.1/criu/seccomp.c:222:17: branch_true: following ‘true’ branch...
criu-4.1/criu/seccomp.c:222:17: branch_true: ...to here
criu-4.1/criu/seccomp.c:222:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def195]
criu-4.1/criu/seccomp.c:234:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/seccomp.c:211:13: enter_function: entry to ‘try_use_tsync’
criu-4.1/criu/seccomp.c:217:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/seccomp.c:220:21: branch_true: following ‘true’ branch...
criu-4.1/criu/seccomp.c:221:25: branch_true: ...to here
criu-4.1/criu/seccomp.c:221:25: call_function: calling ‘seccomp_lookup’ from ‘try_use_tsync’
criu-4.1/criu/seccomp.c:221:25: return_function: returning to ‘try_use_tsync’ from ‘seccomp_lookup’
criu-4.1/criu/seccomp.c:222:17: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:224:20: branch_false: ...to here
criu-4.1/criu/seccomp.c:224:20: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:227:21: branch_false: ...to here
criu-4.1/criu/seccomp.c:227:20: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:233:29: branch_true: following ‘true’ branch...
criu-4.1/criu/seccomp.c:234:25: branch_true: ...to here
criu-4.1/criu/seccomp.c:234:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def196]
criu-4.1/criu/seccomp.c:256:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/seccomp.c:268:12: enter_function: entry to ‘collect_filters’
criu-4.1/criu/seccomp.c:273:12: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:276:18: branch_false: ...to here
criu-4.1/criu/seccomp.c:276:18: call_function: calling ‘seccomp_lookup’ from ‘collect_filters’
criu-4.1/criu/seccomp.c:276:18: return_function: returning to ‘collect_filters’ from ‘seccomp_lookup’
criu-4.1/criu/seccomp.c:277:12: branch_false: following ‘false’ branch...
branch_false: ...to here
criu-4.1/criu/seccomp.c:293:9: call_function: calling ‘try_use_tsync’ from ‘collect_filters’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
criu-4.1/criu/seccomp.c:380:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/seccomp.c:372:12: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:375:15: branch_false: ...to here
criu-4.1/criu/seccomp.c:377:12: branch_false: following ‘false’ branch...
criu-4.1/criu/seccomp.c:380:9: branch_false: ...to here
criu-4.1/criu/seccomp.c:380:9: branch_true: following ‘true’ branch...
criu-4.1/criu/seccomp.c:380:9: branch_true: ...to here
criu-4.1/criu/seccomp.c:380:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
criu-4.1/criu/servicefd.c:106:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
criu-4.1/criu/servicefd.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
criu-4.1/criu/servicefd.c:158:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/servicefd.c:158:9: branch_true: following ‘true’ branch...
criu-4.1/criu/servicefd.c:158:9: branch_true: ...to here
criu-4.1/criu/servicefd.c:158:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
criu-4.1/criu/servicefd.c:186:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1/criu/servicefd.c:153:5: enter_function: entry to ‘install_service_fd’
criu-4.1/criu/servicefd.c:158:9: branch_false: following ‘false’ branch...
criu-4.1/criu/servicefd.c:159:13: branch_false: ...to here
criu-4.1/criu/servicefd.c:162:12: branch_false: following ‘false’ branch...
criu-4.1/criu/servicefd.c:170:14: branch_false: ...to here
criu-4.1/criu/servicefd.c:170:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1/criu/servicefd.c:173:23: branch_true: ...to here
criu-4.1/criu/servicefd.c:173:23: acquire_resource: opened here
criu-4.1/criu/servicefd.c:174:12: branch_false: following ‘false’ branch (when ‘tmp >= 0’)...
criu-4.1/criu/servicefd.c:178:19: branch_false: ...to here
criu-4.1/criu/servicefd.c:178:19: branch_false: following ‘false’ branch...
criu-4.1/criu/servicefd.c:185:9: call_function: inlined call to ‘set_bit’ from ‘install_service_fd’
criu-4.1/criu/servicefd.c:186:9: 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): [#def202]
criu-4.1/criu/servicefd.c:236:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.1/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.1/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.1/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.1/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.1/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.1/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.1/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.1/criu/servicefd.c:236:19: danger: ‘ret’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
criu-4.1/criu/servicefd.c:237:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
criu-4.1/criu/servicefd.c:217:12: enter_function: entry to ‘move_service_fd’
criu-4.1/criu/servicefd.c:219:19: call_function: calling ‘get_service_fd’ from ‘move_service_fd’
criu-4.1/criu/servicefd.c:219:19: return_function: returning to ‘move_service_fd’ from ‘get_service_fd’
criu-4.1/criu/servicefd.c:223:12: branch_false: following ‘false’ branch...
criu-4.1/criu/servicefd.c:226:14: branch_false: ...to here
criu-4.1/criu/servicefd.c:226:12: branch_true: following ‘true’ branch (when ‘oldbit != 0’)...
criu-4.1/criu/servicefd.c:229:23: branch_true: ...to here
criu-4.1/criu/servicefd.c:229:23: acquire_resource: opened here
criu-4.1/criu/servicefd.c:230:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
criu-4.1/criu/servicefd.c:233:19: branch_false: ...to here
criu-4.1/criu/servicefd.c:233:19: branch_false: following ‘false’ branch (when ‘ret == new’)...
criu-4.1/criu/servicefd.c:236:22: branch_false: ...to here
criu-4.1/criu/servicefd.c:236:19: branch_true: following ‘true’ branch...
criu-4.1/criu/servicefd.c:237:17: branch_true: ...to here
criu-4.1/criu/servicefd.c:237:17: danger: ‘ret’ leaks here; was opened at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
criu-4.1/criu/shmem.c:201:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/shmem.c:656:5: enter_function: entry to ‘add_shmem_area’
criu-4.1/criu/shmem.c:664:14: call_function: calling ‘shmem_find’ from ‘add_shmem_area’
criu-4.1/criu/shmem.c:664:14: return_function: returning to ‘add_shmem_area’ from ‘shmem_find’
criu-4.1/criu/shmem.c:665:12: branch_true: following ‘true’ branch...
criu-4.1/criu/shmem.c:666:21: branch_true: ...to here
criu-4.1/criu/shmem.c:666:20: branch_true: following ‘true’ branch...
criu-4.1/criu/shmem.c:667:29: branch_true: ...to here
criu-4.1/criu/shmem.c:667:29: call_function: calling ‘expand_shmem’ from ‘add_shmem_area’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
criu-4.1/criu/sigact.c:196:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sigact.c:251:5: enter_function: entry to ‘prepare_sigactions’
criu-4.1/criu/sigact.c:255:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sigact.c:258:13: branch_true: ...to here
criu-4.1/criu/sigact.c:258:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sigact.c:261:23: branch_false: ...to here
criu-4.1/criu/sigact.c:261:23: call_function: calling ‘prepare_sigactions_from_image’ from ‘prepare_sigactions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
criu-4.1/criu/sk-inet.c:139:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-inet.c:641:12: enter_function: entry to ‘dump_one_inet6_fd’
criu-4.1/criu/sk-inet.c:643:16: call_function: calling ‘do_dump_one_inet_fd’ from ‘dump_one_inet6_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
criu-4.1/criu/sk-inet.c:505:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-inet.c:641:12: enter_function: entry to ‘dump_one_inet6_fd’
criu-4.1/criu/sk-inet.c:643:16: call_function: calling ‘do_dump_one_inet_fd’ from ‘dump_one_inet6_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
criu-4.1/criu/sk-inet.c:767:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-inet.c:754:12: enter_function: entry to ‘post_open_inet_sk’
criu-4.1/criu/sk-inet.c:767:17: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-inet.c:767:17: branch_true: ...to here
criu-4.1/criu/sk-inet.c:767:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
criu-4.1/criu/sk-inet.c:1007:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
criu-4.1/criu/sk-netlink.c:100:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-netlink.c:90:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-netlink.c:93:9: branch_false: ...to here
criu-4.1/criu/sk-netlink.c:96:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-netlink.c:99:12: branch_true: ...to here
criu-4.1/criu/sk-netlink.c:99:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.1/criu/sk-netlink.c:100:17: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-netlink.c:100:17: branch_true: ...to here
criu-4.1/criu/sk-netlink.c:100:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
criu-4.1/criu/sk-packet.c:165:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1/criu/sk-packet.c:165:9: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-packet.c:165:9: branch_true: ...to here
criu-4.1/criu/sk-packet.c:165:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def212]
criu-4.1/criu/sk-packet.c:213:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
criu-4.1/criu/sk-packet.c:150:12: enter_function: entry to ‘dump_one_packet_fd’
criu-4.1/criu/sk-packet.c:165:9: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:166:9: branch_false: ...to here
criu-4.1/criu/sk-packet.c:176:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:179:24: branch_false: ...to here
criu-4.1/criu/sk-packet.c:190:15: call_function: calling ‘dump_mreqs’ from ‘dump_one_packet_fd’
criu-4.1/criu/sk-packet.c:190:15: return_function: returning to ‘dump_one_packet_fd’ from ‘dump_mreqs’
criu-4.1/criu/sk-packet.c:191:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-packet.c:192:17: branch_true: ...to here
criu-4.1/criu/sk-packet.c:212:21: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-packet.c:213:17: branch_true: ...to here
criu-4.1/criu/sk-packet.c:213:17: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
criu-4.1/criu/sk-packet.c:312:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
criu-4.1/criu/sk-packet.c:255:5: enter_function: entry to ‘packet_receive_one’
criu-4.1/criu/sk-packet.c:265:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:270:14: branch_false: ...to here
criu-4.1/criu/sk-packet.c:270:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:275:14: branch_false: ...to here
criu-4.1/criu/sk-packet.c:275:14: branch_false: following ‘false’ branch (when ‘___p’ is non-NULL)...
criu-4.1/criu/sk-packet.c:279:9: branch_false: ...to here
criu-4.1/criu/sk-packet.c:286:13: call_function: calling ‘packet_save_mreqs’ from ‘packet_receive_one’
criu-4.1/criu/sk-packet.c:286:13: return_function: returning to ‘packet_receive_one’ from ‘packet_save_mreqs’
criu-4.1/criu/sk-packet.c:286:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:289:13: branch_false: ...to here
criu-4.1/criu/sk-packet.c:294:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1/criu/sk-packet.c:295:26: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1/criu/sk-packet.c:295:26: branch_true: ...to here
criu-4.1/criu/sk-packet.c:296:20: branch_true: following ‘true’ branch (when ‘___p’ is NULL)...
criu-4.1/criu/sk-packet.c:297:25: branch_true: ...to here
criu-4.1/criu/sk-packet.c:312:9: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def214]
criu-4.1/criu/sk-packet.c:343:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
criu-4.1/criu/sk-packet.c:324:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-packet.c:329:9: branch_false: ...to here
criu-4.1/criu/sk-packet.c:329:9: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-packet.c:330:21: branch_true: ...to here
criu-4.1/criu/sk-packet.c:337:30: acquire_resource: opened here
criu-4.1/criu/sk-packet.c:338:28: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
criu-4.1/criu/sk-packet.c:343:25: branch_false: ...to here
criu-4.1/criu/sk-packet.c:343:25: danger: ‘fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
criu-4.1/criu/sk-unix.c:1351:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-unix.c:1796:12: enter_function: entry to ‘open_unixsk_standalone’
criu-4.1/criu/sk-unix.c:1822:12: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-unix.c:1823:53: branch_true: ...to here
criu-4.1/criu/sk-unix.c:1823:24: call_function: calling ‘post_open_standalone’ from ‘open_unixsk_standalone’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
criu-4.1/criu/sk-unix.c:1674:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-unix.c:1960:12: enter_function: entry to ‘open_unix_sk’
criu-4.1/criu/sk-unix.c:1967:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:1970:20: branch_false: ...to here
criu-4.1/criu/sk-unix.c:1970:19: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-unix.c:1971:23: branch_true: ...to here
criu-4.1/criu/sk-unix.c:1971:23: call_function: calling ‘open_unixsk_pair_master’ from ‘open_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
criu-4.1/criu/sk-unix.c:1713:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-unix.c:1960:12: enter_function: entry to ‘open_unix_sk’
criu-4.1/criu/sk-unix.c:1967:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:1970:20: branch_false: ...to here
criu-4.1/criu/sk-unix.c:1970:19: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-unix.c:1971:23: branch_true: ...to here
criu-4.1/criu/sk-unix.c:1971:23: call_function: calling ‘open_unixsk_pair_master’ from ‘open_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-666): [#def218]
criu-4.1/criu/sk-unix.c:1931:21: warning[-Wanalyzer-fd-phase-mismatch]: ‘listen’ on file descriptor ‘sk’ in wrong phase
criu-4.1/criu/sk-unix.c:1960:12: enter_function: entry to ‘open_unix_sk’
criu-4.1/criu/sk-unix.c:1967:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:1970:20: branch_false: ...to here
criu-4.1/criu/sk-unix.c:1970:19: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:1972:18: branch_false: ...to here
criu-4.1/criu/sk-unix.c:1972:17: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:1975:23: branch_false: ...to here
criu-4.1/criu/sk-unix.c:1975:23: call_function: calling ‘open_unixsk_standalone’ from ‘open_unix_sk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
criu-4.1/criu/sk-unix.c:2135:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uname’
criu-4.1/criu/sk-unix.c:2124:12: enter_function: entry to ‘collect_one_unixsk’
criu-4.1/criu/sk-unix.c:2130:13: call_function: calling ‘init_unix_sk_info’ from ‘collect_one_unixsk’
criu-4.1/criu/sk-unix.c:2130:13: return_function: returning to ‘collect_one_unixsk’ from ‘init_unix_sk_info’
criu-4.1/criu/sk-unix.c:2130:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:2133:9: branch_false: ...to here
criu-4.1/criu/sk-unix.c:2133:9: release_memory: ‘uname’ is NULL
criu-4.1/criu/sk-unix.c:2135:12: branch_true: following ‘true’ branch (when ‘ulen > 0’)...
criu-4.1/criu/sk-unix.c:2135:25: branch_true: ...to here
criu-4.1/criu/sk-unix.c:2135:25: danger: dereference of NULL ‘uname’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
criu-4.1/criu/sk-unix.c:2306:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/sk-unix.c:2303:12: branch_false: following ‘false’ branch...
criu-4.1/criu/sk-unix.c:2306:9: branch_false: ...to here
criu-4.1/criu/sk-unix.c:2306:9: branch_true: following ‘true’ branch...
criu-4.1/criu/sk-unix.c:2306:9: branch_true: ...to here
criu-4.1/criu/sk-unix.c:2306:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
criu-4.1/criu/sockets.c:177:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
criu-4.1/criu/sockets.c:425:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
criu-4.1/criu/sockets.c:777:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
criu-4.1/criu/stats.c:35:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:34:12: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:35:17: branch_true: ...to here
criu-4.1/criu/stats.c:35:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.1/criu/stats.c:35:17: branch_true: ...to here
criu-4.1/criu/stats.c:35:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def225]
criu-4.1/criu/stats.c:38:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:37:20: branch_false: ...to here
criu-4.1/criu/stats.c:37:19: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:38:17: branch_true: ...to here
criu-4.1/criu/stats.c:38:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.1/criu/stats.c:38:17: branch_true: ...to here
criu-4.1/criu/stats.c:38:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
criu-4.1/criu/stats.c:41:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:34:12: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:37:20: branch_false: ...to here
criu-4.1/criu/stats.c:37:19: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:41:17: branch_false: ...to here
criu-4.1/criu/stats.c:41:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
criu-4.1/criu/stats.c:47:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:46:12: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:47:17: branch_true: ...to here
criu-4.1/criu/stats.c:47:17: branch_true: following ‘true’ branch (when ‘c > 8’)...
criu-4.1/criu/stats.c:47:17: branch_true: ...to here
criu-4.1/criu/stats.c:47:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
criu-4.1/criu/stats.c:50:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:49:20: branch_false: ...to here
criu-4.1/criu/stats.c:49:19: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:50:17: branch_true: ...to here
criu-4.1/criu/stats.c:50:17: branch_true: following ‘true’ branch (when ‘c > 2’)...
criu-4.1/criu/stats.c:50:17: branch_true: ...to here
criu-4.1/criu/stats.c:50:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
criu-4.1/criu/stats.c:53:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:46:12: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:49:20: branch_false: ...to here
criu-4.1/criu/stats.c:49:19: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:53:17: branch_false: ...to here
criu-4.1/criu/stats.c:53:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
criu-4.1/criu/stats.c:76:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:75:12: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:76:17: branch_true: ...to here
criu-4.1/criu/stats.c:76:17: branch_true: following ‘true’ branch (when ‘t > 4’)...
criu-4.1/criu/stats.c:76:17: branch_true: ...to here
criu-4.1/criu/stats.c:76:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
criu-4.1/criu/stats.c:83:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:78:19: branch_true: following ‘true’ branch...
criu-4.1/criu/stats.c:83:17: branch_true: ...to here
criu-4.1/criu/stats.c:83:17: branch_true: following ‘true’ branch (when ‘t > 1’)...
criu-4.1/criu/stats.c:83:17: branch_true: ...to here
criu-4.1/criu/stats.c:83:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def232]
criu-4.1/criu/stats.c:87:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/stats.c:78:19: branch_false: following ‘false’ branch...
criu-4.1/criu/stats.c:87:9: branch_false: ...to here
criu-4.1/criu/stats.c:87:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def233]
criu-4.1/criu/tls.c:195:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packet’
criu-4.1/criu/tls.c:171:16: branch_false: following ‘false’ branch (when ‘len == 0’)...
criu-4.1/criu/tls.c:194:1: branch_false: ...to here
criu-4.1/criu/tls.c:195:9: danger: use of uninitialized value ‘packet’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
criu-4.1/criu/util.c:230:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING: [#def235]
criu-4.1/criu/util.c:241:31: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘new_fd’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def236]
criu-4.1/criu/util.c:621:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘0’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
criu-4.1/criu/util.c:672:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1720:15: call_function: inlined call to ‘cr_system’ from ‘is_iptables_nft’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
criu-4.1/criu/util.c:1745:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[0]’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1743:9: call_function: calling ‘close_safe’ from ‘is_iptables_nft’
criu-4.1/criu/util.c:1743:9: return_function: returning to ‘is_iptables_nft’ from ‘close_safe’
criu-4.1/criu/util.c:1744:9: call_function: calling ‘close_safe’ from ‘is_iptables_nft’
criu-4.1/criu/util.c:1744:9: return_function: returning to ‘is_iptables_nft’ from ‘close_safe’
criu-4.1/criu/util.c:1745:16: danger: ‘pfd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
criu-4.1/criu/util.c:1745:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pfd[1]’
criu-4.1/criu/util.c:1709:12: enter_function: entry to ‘is_iptables_nft’
criu-4.1/criu/util.c:1715:12: branch_false: following ‘false’ branch...
criu-4.1/criu/util.c:1720:15: branch_false: ...to here
criu-4.1/criu/util.c:1743:9: call_function: calling ‘close_safe’ from ‘is_iptables_nft’
criu-4.1/criu/util.c:1743:9: return_function: returning to ‘is_iptables_nft’ from ‘close_safe’
criu-4.1/criu/util.c:1744:9: call_function: calling ‘close_safe’ from ‘is_iptables_nft’
criu-4.1/criu/util.c:1744:9: return_function: returning to ‘is_iptables_nft’ from ‘close_safe’
criu-4.1/criu/util.c:1745:16: danger: ‘pfd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
criu-4.1/criu/vdso.c:155:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/vdso.c:132:12: branch_false: following ‘false’ branch (when ‘rt_vdso_marked’ is non-NULL)...
criu-4.1/criu/vdso.c:139:9: branch_false: ...to here
criu-4.1/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.1/criu/vdso.c:148:21: branch_true: ...to here
criu-4.1/criu/vdso.c:155:25: branch_false: following ‘false’ branch (when ‘rt_vvar_marked’ is NULL)...
criu-4.1/criu/vdso.c:156:29: branch_false: ...to here
criu-4.1/criu/vdso.c:147:9: branch_true: following ‘true’ branch (when ‘vma != vma_area_list’)...
criu-4.1/criu/vdso.c:148:21: branch_true: ...to here
criu-4.1/criu/vdso.c:155:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
criu-4.1/criu/vdso.c:272:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/vdso.c:267:12: branch_false: following ‘false’ branch...
criu-4.1/criu/vdso.c:270:18: branch_false: ...to here
criu-4.1/criu/vdso.c:271:12: branch_true: following ‘true’ branch...
criu-4.1/criu/vdso.c:272:17: branch_true: ...to here
criu-4.1/criu/vdso.c:272:17: branch_true: following ‘true’ branch...
criu-4.1/criu/vdso.c:272:17: branch_true: ...to here
criu-4.1/criu/vdso.c:272:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
criu-4.1/criu/vdso.c:445:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/vdso.c:431:12: branch_false: following ‘false’ branch...
criu-4.1/criu/vdso.c:436:15: branch_false: ...to here
criu-4.1/criu/vdso.c:437:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
criu-4.1/criu/vdso.c:438:21: branch_true: ...to here
criu-4.1/criu/vdso.c:445:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def243]
criu-4.1/include/common/lock.h:82: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
criu-4.1/include/common/lock.h:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/lock.h:82:9: branch_true: following ‘true’ branch...
criu-4.1/include/common/lock.h:82:9: branch_true: ...to here
criu-4.1/include/common/lock.h:82:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def245]
criu-4.1/include/common/lock.h:88: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
criu-4.1/include/common/lock.h:88:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:199:5: enter_function: entry to ‘set_fds_event’
criu-4.1/criu/files.c:205:9: branch_false: following ‘false’ branch...
criu-4.1/criu/files.c:207:55: branch_false: ...to here
criu-4.1/criu/files.c:209:12: branch_false: following ‘false’ branch (when ‘oldbit == 0’)...
criu-4.1/criu/files.c:210:17: branch_false: ...to here
criu-4.1/criu/files.c:210:17: call_function: calling ‘futex_wake’ from ‘set_fds_event’
Error: CPPCHECK_WARNING (CWE-476): [#def247]
criu-4.1/include/common/lock.h:102: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
criu-4.1/include/common/lock.h:102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/lock.h:102:9: branch_true: following ‘true’ branch...
criu-4.1/include/common/lock.h:102:9: branch_true: ...to here
criu-4.1/include/common/lock.h:102:9: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def249]
criu-4.1/include/common/lock.h:109: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
criu-4.1/include/common/lock.h:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/criu/files.c:1298:5: enter_function: entry to ‘prepare_fds’
criu-4.1/criu/files.c:1314:12: branch_true: following ‘true’ branch...
criu-4.1/criu/files.c:1322:17: branch_true: ...to here
criu-4.1/criu/files.c:1322:17: call_function: calling ‘futex_inc_and_wake’ from ‘prepare_fds’
Error: CPPCHECK_WARNING (CWE-476): [#def251]
criu-4.1/include/common/lock.h:141: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
criu-4.1/include/common/lock.h:141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/lock.h:139:16: branch_true: following ‘true’ branch...
criu-4.1/include/common/lock.h:140:49: branch_true: ...to here
criu-4.1/include/common/lock.h:141:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def253]
criu-4.1/include/common/lock.h:162: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
criu-4.1/include/common/lock.h:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/lock.h:160:16: branch_true: following ‘true’ branch (when ‘c != 1’)...
criu-4.1/include/common/lock.h:161:45: branch_true: ...to here
criu-4.1/include/common/lock.h:162:17: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def255]
criu-4.1/include/common/lock.h:175: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
criu-4.1/include/common/lock.h:175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/lock.h:175:9: branch_true: following ‘true’ branch...
criu-4.1/include/common/lock.h:175:9: branch_true: ...to here
criu-4.1/include/common/lock.h:175:9: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
criu-4.1/include/common/scm-code.c:13:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
criu-4.1/include/common/scm-code.c:48:5: enter_function: entry to ‘send_fds’
criu-4.1/include/common/scm-code.c:56:21: branch_true: following ‘true’ branch (when ‘i < nr_fds’)...
criu-4.1/include/common/scm-code.c:57:26: branch_true: ...to here
criu-4.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): [#def258]
criu-4.1/include/common/scm-code.c:106: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)NULL
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
criu-4.1/include/common/scm-code.c:106:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
criu-4.1/include/common/scm-code.c:82:21: branch_true: following ‘true’ branch (when ‘i < nr_fds’)...
criu-4.1/include/common/scm-code.c:83:26: branch_true: ...to here
criu-4.1/include/common/scm-code.c:87:20: branch_false: following ‘false’ branch (when ‘ret > 0’)...
criu-4.1/include/common/scm-code.c:90:24: branch_false: ...to here
criu-4.1/include/common/scm-code.c:90:24: branch_true: following ‘true’ branch...
criu-4.1/include/common/scm-code.c:90:17: branch_true: ...to here
criu-4.1/include/common/scm-code.c:91:20: branch_false: following ‘false’ branch...
criu-4.1/include/common/scm-code.c:93:20: branch_false: following ‘false’ branch...
criu-4.1/include/common/scm-code.c:96:27: branch_false: ...to here
criu-4.1/include/common/scm-code.c:106:17: danger: dereference of NULL ‘0’
Error: COMPILER_WARNING: [#def260]
criu-4.1/plugins/cuda/cuda_plugin.c:1:10: warning[fatal error]: criu-log.h: No such file or directory
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-130.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.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | criu-4.1-2.fc43 |
store-results-to | /tmp/tmppp40n6fu/criu-4.1-2.fc43.tar.xz |
time-created | 2025-04-25 12:16:40 |
time-finished | 2025-04-25 12:20:33 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmppp40n6fu/criu-4.1-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmppp40n6fu/criu-4.1-2.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |