plymouth-24.004.60-21.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/plymouth-set-default-theme:47:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-477): [#def2]
/usr/bin/plymouth-set-default-theme:62:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/usr/bin/plymouth-set-default-theme:66:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def4]
/usr/bin/plymouth-set-default-theme:67:14: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def5]
/usr/bin/plymouth-set-default-theme:70:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-156): [#def6]
/usr/bin/plymouth-set-default-theme:88:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/usr/bin/plymouth-set-default-theme:94:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def8]
/usr/bin/plymouth-set-default-theme:108:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def9]
/usr/bin/plymouth-set-default-theme:114:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def10]
/usr/bin/plymouth-set-default-theme:127:22: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def11]
/usr/bin/plymouth-set-default-theme:135:23: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def12]
/usr/bin/plymouth-set-default-theme:135:43: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-156): [#def13]
/usr/bin/plymouth-set-default-theme:142:22: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def14]
/usr/bin/plymouth-set-default-theme:149:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def15]
/usr/bin/plymouth-set-default-theme:155:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def16]
/usr/bin/plymouth-set-default-theme:161:30: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def17]
/usr/bin/plymouth-set-default-theme:186:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-477): [#def18]
/usr/bin/plymouth-set-default-theme:199:31: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/usr/libexec/plymouth/plymouth-generate-initrd:17:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-140): [#def20]
/usr/libexec/plymouth/plymouth-populate-initrd:71:24: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def21]
/usr/libexec/plymouth/plymouth-populate-initrd:72:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-153): [#def22]
/usr/libexec/plymouth/plymouth-populate-initrd:77:40: warning[SC2053]: Quote the right-hand side of == in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-277): [#def23]
/usr/libexec/plymouth/plymouth-populate-initrd:127:19: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
Error: SHELLCHECK_WARNING (CWE-571): [#def24]
/usr/libexec/plymouth/plymouth-populate-initrd:169:19: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-153): [#def25]
/usr/libexec/plymouth/plymouth-populate-initrd:175:84: warning[SC2053]: Quote the right-hand side of == in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-156): [#def26]
/usr/libexec/plymouth/plymouth-populate-initrd:201:17: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def27]
/usr/libexec/plymouth/plymouth-populate-initrd:302:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-153): [#def28]
/usr/libexec/plymouth/plymouth-populate-initrd:313:27: warning[SC2053]: Quote the right-hand side of = in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-457): [#def29]
/usr/libexec/plymouth/plymouth-populate-initrd:333:20: warning[SC2154]: hookdirs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def30]
/usr/libexec/plymouth/plymouth-populate-initrd:386:10: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-569): [#def31]
/usr/libexec/plymouth/plymouth-populate-initrd:556:40: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def32]
/usr/libexec/plymouth/plymouth-populate-initrd:556:45: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def33]
/usr/libexec/plymouth/plymouth-populate-initrd:565:46: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def34]
/usr/libexec/plymouth/plymouth-populate-initrd:565:51: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def35]
/usr/libexec/plymouth/plymouth-populate-initrd:574:50: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def36]
/usr/libexec/plymouth/plymouth-populate-initrd:574:55: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-477): [#def37]
/usr/libexec/plymouth/plymouth-populate-initrd:595:57: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-569): [#def38]
/usr/libexec/plymouth/plymouth-populate-initrd:599:29: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def39]
/usr/libexec/plymouth/plymouth-populate-initrd:599:34: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def40]
/usr/libexec/plymouth/plymouth-populate-initrd:601:39: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def41]
/usr/libexec/plymouth/plymouth-populate-initrd:601:44: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-477): [#def42]
/usr/libexec/plymouth/plymouth-populate-initrd:616:29: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: CPPCHECK_WARNING (CWE-476): [#def43]
plymouth-24.004.60/src/client/ply-boot-client.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def44]
plymouth-24.004.60/src/client/ply-boot-client.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def45]
plymouth-24.004.60/src/client/ply-boot-client.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def46]
plymouth-24.004.60/src/client/ply-boot-client.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def47]
plymouth-24.004.60/src/client/ply-boot-client.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def48]
plymouth-24.004.60/src/client/ply-boot-client.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def49]
plymouth-24.004.60/src/client/ply-boot-client.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def50]
plymouth-24.004.60/src/client/ply-boot-client.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client
Error: CPPCHECK_WARNING (CWE-476): [#def51]
plymouth-24.004.60/src/client/ply-boot-client.c:215: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
plymouth-24.004.60/src/client/ply-boot-client.c:215:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘request’
plymouth-24.004.60/src/client/ply-boot-client.c:211:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:212:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:212:9: branch_true: following ‘true’ branch (when ‘request_command’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:214:19: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:214:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/ply-boot-client.c:215:9: danger: ‘request’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def53]
plymouth-24.004.60/src/client/ply-boot-client.c:216: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request
Error: CPPCHECK_WARNING (CWE-476): [#def54]
plymouth-24.004.60/src/client/ply-boot-client.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request
Error: CPPCHECK_WARNING (CWE-476): [#def55]
plymouth-24.004.60/src/client/ply-boot-client.c:220: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request
Error: CPPCHECK_WARNING (CWE-476): [#def56]
plymouth-24.004.60/src/client/ply-boot-client.c:221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
plymouth-24.004.60/src/client/ply-boot-client.c:284:30: warning[-Wanalyzer-malloc-leak]: leak of ‘answer’
plymouth-24.004.60/src/client/ply-boot-client.c:256:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:259:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:259:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:264:24: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:265:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:267:49: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:268:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:270:14: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:270:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:273:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:273:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:279:22: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:279:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:282:34: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:282:26: acquire_memory: allocated here
plymouth-24.004.60/src/client/ply-boot-client.c:283:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:284:30: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:284:30: danger: ‘answer’ leaks here; was allocated at [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
plymouth-24.004.60/src/client/ply-boot-client.c:292:25: warning[-Wanalyzer-malloc-leak]: leak of ‘answer’
plymouth-24.004.60/src/client/ply-boot-client.c:256:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:259:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:259:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:264:24: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:265:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:267:49: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:268:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:270:14: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:270:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:273:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:273:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:279:22: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:279:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:282:34: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:282:26: acquire_memory: allocated here
plymouth-24.004.60/src/client/ply-boot-client.c:283:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:290:23: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:291:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:292:25: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:292:25: danger: ‘answer’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
plymouth-24.004.60/src/client/ply-boot-client.c:312:22: warning[-Wanalyzer-malloc-leak]: leak of ‘answer’
plymouth-24.004.60/src/client/ply-boot-client.c:256:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:259:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:259:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:264:24: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:265:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:267:49: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:268:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:270:14: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:270:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:273:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:273:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:294:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:294:19: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:305:22: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:305:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:308:17: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:308:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:310:26: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:310:26: acquire_memory: allocated here
plymouth-24.004.60/src/client/ply-boot-client.c:312:22: danger: ‘answer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
plymouth-24.004.60/src/client/ply-boot-client.c:324:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(p)’
plymouth-24.004.60/src/client/ply-boot-client.c:256:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:259:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:259:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:264:24: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:265:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:267:49: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:268:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:270:14: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:270:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:273:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:273:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:276:19: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:294:19: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:294:19: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:305:22: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:305:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:308:17: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:308:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:310:26: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:312:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:317:25: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:321:29: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:322:29: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:322:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:323:71: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:323:71: acquire_memory: allocated here
plymouth-24.004.60/src/client/ply-boot-client.c:324:33: danger: ‘strdup(p)’ leaks here; was allocated at [(27)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/26)
Error: CPPCHECK_WARNING (CWE-476): [#def61]
plymouth-24.004.60/src/client/ply-boot-client.c:377: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: request_string
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
plymouth-24.004.60/src/client/ply-boot-client.c:377:33: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘strdup(*request.command)’ where non-null expected
plymouth-24.004.60/src/client/ply-boot-client.c:369:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:370:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:370:9: branch_true: following ‘true’ branch (when ‘request’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:371:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:371:9: branch_true: following ‘true’ branch (when ‘request_size’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:373:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:373:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:375:13: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:375:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:376:34: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:376:34: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/ply-boot-client.c:377:33: danger: argument 1 (‘strdup(*request.command)’) from [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-252): [#def63]
plymouth-24.004.60/src/client/ply-boot-client.c: scope_hint: In function ‘ply_boot_client_get_request_string’
plymouth-24.004.60/src/client/ply-boot-client.c:384:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
plymouth-24.004.60/src/client/ply-boot-client.c:403:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_boot_client_get_request_string(client, request, & request_size)’
plymouth-24.004.60/src/client/ply-boot-client.c:392:1: enter_function: entry to ‘ply_boot_client_send_request’
plymouth-24.004.60/src/client/ply-boot-client.c:398:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:399:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:399:9: branch_true: following ‘true’ branch (when ‘request’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:401:26: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:401:26: call_function: calling ‘ply_boot_client_get_request_string’ from ‘ply_boot_client_send_request’
plymouth-24.004.60/src/client/ply-boot-client.c:401:26: return_function: returning to ‘ply_boot_client_send_request’ from ‘ply_boot_client_get_request_string’
plymouth-24.004.60/src/client/ply-boot-client.c:403:14: danger: ‘ply_boot_client_get_request_string(client, request, & request_size)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
plymouth-24.004.60/src/client/ply-boot-client.c:486:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/client/ply-boot-client.c:454:1: enter_function: entry to ‘ply_boot_client_queue_request’
plymouth-24.004.60/src/client/ply-boot-client.c:461:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:462:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:462:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:463:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:463:9: branch_true: following ‘true’ branch (when ‘request_command’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:464:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:477:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: call_function: calling ‘ply_boot_client_request_new’ from ‘ply_boot_client_queue_request’
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: return_function: returning to ‘ply_boot_client_queue_request’ from ‘ply_boot_client_request_new’
plymouth-24.004.60/src/client/ply-boot-client.c:486:17: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
plymouth-24.004.60/src/client/ply-boot-client.c:486:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_boot_client_request_new(client, request_command, request_argument, handler, failed_handler, user_data)’
plymouth-24.004.60/src/client/ply-boot-client.c:454:1: enter_function: entry to ‘ply_boot_client_queue_request’
plymouth-24.004.60/src/client/ply-boot-client.c:461:9: branch_true: following ‘true’ branch (when ‘client’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:462:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:462:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:463:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:463:9: branch_true: following ‘true’ branch (when ‘request_command’ is non-NULL)...
plymouth-24.004.60/src/client/ply-boot-client.c:464:9: branch_true: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:477:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: branch_false: ...to here
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: call_function: calling ‘ply_boot_client_request_new’ from ‘ply_boot_client_queue_request’
plymouth-24.004.60/src/client/ply-boot-client.c:483:27: return_function: returning to ‘ply_boot_client_queue_request’ from ‘ply_boot_client_request_new’
plymouth-24.004.60/src/client/ply-boot-client.c:486:17: danger: ‘ply_boot_client_request_new(client, request_command, request_argument, handler, failed_handler, user_data)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
plymouth-24.004.60/src/client/plymouth.c:113:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
plymouth-24.004.60/src/client/plymouth.c:108:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/plymouth.c:111:27: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:112:20: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:112:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:113:49: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:113:25: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
plymouth-24.004.60/src/client/plymouth.c:126:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
plymouth-24.004.60/src/client/plymouth.c:108:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/plymouth.c:126:9: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
plymouth-24.004.60/src/client/plymouth.c:163:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/client/plymouth.c:132:1: enter_function: entry to ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:149:13: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:154:15: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:156:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/client/plymouth.c:161:24: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:161:24: call_function: calling ‘split_string’ from ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:161:24: return_function: returning to ‘answer_via_command’ from ‘split_string’
plymouth-24.004.60/src/client/plymouth.c:162:20: branch_true: following ‘true’ branch (when ‘answer’ is non-NULL)...
plymouth-24.004.60/src/client/plymouth.c:163:25: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:163:25: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
plymouth-24.004.60/src/client/plymouth.c:163:25: warning[-Wanalyzer-malloc-leak]: leak of ‘split_string(command, 32)’
plymouth-24.004.60/src/client/plymouth.c:132:1: enter_function: entry to ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:149:13: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:154:15: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:156:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/client/plymouth.c:161:24: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:161:24: call_function: calling ‘split_string’ from ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:161:24: return_function: returning to ‘answer_via_command’ from ‘split_string’
plymouth-24.004.60/src/client/plymouth.c:162:20: branch_true: following ‘true’ branch (when ‘answer’ is non-NULL)...
plymouth-24.004.60/src/client/plymouth.c:163:25: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:163:25: danger: ‘split_string(command, 32)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def71]
plymouth-24.004.60/src/client/plymouth.c:167:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*<unknown>’ where non-null expected
plymouth-24.004.60/src/client/plymouth.c:132:1: enter_function: entry to ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:156:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/client/plymouth.c:161:24: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:161:24: call_function: calling ‘split_string’ from ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:161:24: return_function: returning to ‘answer_via_command’ from ‘split_string’
plymouth-24.004.60/src/client/plymouth.c:162:20: branch_false: following ‘false’ branch (when ‘answer’ is NULL)...
plymouth-24.004.60/src/client/plymouth.c:167:17: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:167:17: danger: argument 1 (‘*<unknown>’) from [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
plymouth-24.004.60/src/client/plymouth.c:168:17: warning[-Wanalyzer-malloc-leak]: leak of ‘split_string(command, 32)’
plymouth-24.004.60/src/client/plymouth.c:132:1: enter_function: entry to ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:156:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:159:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/client/plymouth.c:161:24: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:161:24: call_function: calling ‘split_string’ from ‘answer_via_command’
plymouth-24.004.60/src/client/plymouth.c:161:24: return_function: returning to ‘answer_via_command’ from ‘split_string’
plymouth-24.004.60/src/client/plymouth.c:162:20: branch_false: following ‘false’ branch (when ‘answer’ is NULL)...
plymouth-24.004.60/src/client/plymouth.c:167:17: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:168:17: danger: ‘split_string(command, 32)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
Error: COMPILER_WARNING (CWE-252): [#def73]
plymouth-24.004.60/src/client/plymouth.c: scope_hint: In function ‘on_password_answer’
plymouth-24.004.60/src/client/plymouth.c:275:25: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def74]
plymouth-24.004.60/src/client/plymouth.c: scope_hint: In function ‘on_question_answer’
plymouth-24.004.60/src/client/plymouth.c:313:25: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def75]
plymouth-24.004.60/src/client/plymouth.c: scope_hint: In function ‘on_key_answer’
plymouth-24.004.60/src/client/plymouth.c:358:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
plymouth-24.004.60/src/client/plymouth.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘password_answer_state’
plymouth-24.004.60/src/client/plymouth.c:452:1: enter_function: entry to ‘on_password_request’
plymouth-24.004.60/src/client/plymouth.c:478:33: acquire_memory: allocated here
plymouth-24.004.60/src/client/plymouth.c:484:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/plymouth.c:492:17: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:492:17: call_function: calling ‘on_password_request_execute’ from ‘on_password_request’
Error: CPPCHECK_WARNING (CWE-476): [#def77]
plymouth-24.004.60/src/client/plymouth.c:479: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
plymouth-24.004.60/src/client/plymouth.c:479:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘password_answer_state’
plymouth-24.004.60/src/client/plymouth.c:478:33: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/plymouth.c:479:9: danger: ‘password_answer_state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def79]
plymouth-24.004.60/src/client/plymouth.c:480: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def80]
plymouth-24.004.60/src/client/plymouth.c:481: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def81]
plymouth-24.004.60/src/client/plymouth.c:482: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def82]
plymouth-24.004.60/src/client/plymouth.c:483: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def83]
plymouth-24.004.60/src/client/plymouth.c:484: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: password_answer_state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
plymouth-24.004.60/src/client/plymouth.c:485:17: warning[-Wanalyzer-malloc-leak]: leak of ‘password_answer_state’
plymouth-24.004.60/src/client/plymouth.c:478:33: acquire_memory: allocated here
plymouth-24.004.60/src/client/plymouth.c:484:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:485:17: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:485:17: danger: ‘password_answer_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
plymouth-24.004.60/src/client/plymouth.c:500:9: warning[-Wanalyzer-malloc-leak]: leak of ‘question_answer_state’
plymouth-24.004.60/src/client/plymouth.c:511:1: enter_function: entry to ‘on_question_request’
plymouth-24.004.60/src/client/plymouth.c:530:33: acquire_memory: allocated here
plymouth-24.004.60/src/client/plymouth.c:535:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/client/plymouth.c:543:17: branch_false: ...to here
plymouth-24.004.60/src/client/plymouth.c:543:17: call_function: calling ‘on_question_request_execute’ from ‘on_question_request’
Error: CPPCHECK_WARNING (CWE-476): [#def86]
plymouth-24.004.60/src/client/plymouth.c:531: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: question_answer_state
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
plymouth-24.004.60/src/client/plymouth.c:531:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘question_answer_state’
plymouth-24.004.60/src/client/plymouth.c:530:33: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/plymouth.c:531:9: danger: ‘question_answer_state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def88]
plymouth-24.004.60/src/client/plymouth.c:532: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: question_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def89]
plymouth-24.004.60/src/client/plymouth.c:533: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: question_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def90]
plymouth-24.004.60/src/client/plymouth.c:534: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: question_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def91]
plymouth-24.004.60/src/client/plymouth.c:535: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: question_answer_state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
plymouth-24.004.60/src/client/plymouth.c:536:17: warning[-Wanalyzer-malloc-leak]: leak of ‘question_answer_state’
plymouth-24.004.60/src/client/plymouth.c:530:33: acquire_memory: allocated here
plymouth-24.004.60/src/client/plymouth.c:535:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/client/plymouth.c:536:17: branch_true: ...to here
plymouth-24.004.60/src/client/plymouth.c:536:17: danger: ‘question_answer_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def93]
plymouth-24.004.60/src/client/plymouth.c:609: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_answer_state
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
plymouth-24.004.60/src/client/plymouth.c:609:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key_answer_state’
plymouth-24.004.60/src/client/plymouth.c:608:28: acquire_memory: this call could return NULL
plymouth-24.004.60/src/client/plymouth.c:609:9: danger: ‘key_answer_state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def95]
plymouth-24.004.60/src/client/plymouth.c:610: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_answer_state
Error: CPPCHECK_WARNING (CWE-476): [#def96]
plymouth-24.004.60/src/client/plymouth.c:611: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_answer_state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
plymouth-24.004.60/src/client/plymouth.c:612:9: warning[-Wanalyzer-malloc-leak]: leak of ‘key_answer_state’
plymouth-24.004.60/src/client/plymouth.c:608:28: acquire_memory: allocated here
plymouth-24.004.60/src/client/plymouth.c:612:9: danger: ‘key_answer_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def98]
plymouth-24.004.60/src/client/plymouth.c: scope_hint: In function ‘on_system_update_request’
plymouth-24.004.60/src/client/plymouth.c:870:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def99]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: CPPCHECK_WARNING (CWE-476): [#def100]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:98:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘splash’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:94:9: branch_true: following ‘true’ branch (when ‘theme_path’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:98:9: danger: ‘splash’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def102]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: CPPCHECK_WARNING (CWE-476): [#def103]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:100: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: CPPCHECK_WARNING (CWE-476): [#def104]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: CPPCHECK_WARNING (CWE-476): [#def105]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: CPPCHECK_WARNING (CWE-476): [#def106]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:104:34: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:94:9: branch_true: following ‘true’ branch (when ‘theme_path’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:98:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:104:34: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:104:34: warning[-Wanalyzer-malloc-leak]: leak of ‘splash’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:94:9: branch_true: following ‘true’ branch (when ‘theme_path’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:104:34: danger: ‘splash’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def109]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: splash
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:105:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:94:9: branch_true: following ‘true’ branch (when ‘theme_path’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:98:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:105:33: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:105:33: warning[-Wanalyzer-malloc-leak]: leak of ‘splash’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:94:9: branch_true: following ‘true’ branch (when ‘theme_path’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:96:18: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:105:33: danger: ‘splash’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def112]
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c: scope_hint: In function ‘ply_boot_splash_load’
plymouth-24.004.60/src/libply-splash-core/ply-boot-splash.c:233:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def113]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘device_name’ where non-null expected
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:937:1: enter_function: entry to ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:967:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:974:44: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:976:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:984:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:985:27: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: call_function: calling ‘get_terminal’ from ‘add_consoles_from_file’
Error: COMPILER_WARNING (CWE-252): [#def114]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c: scope_hint: In function ‘get_terminal’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:744:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def115]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: full_name
Error: GCC_ANALYZER_WARNING (CWE-688): [#def116]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘full_name’ where non-null expected
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:13: danger: argument 1 (‘full_name’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:748:13: warning[-Wanalyzer-malloc-leak]: leak of ‘console’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:937:1: enter_function: entry to ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:967:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:974:44: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:976:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:984:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:985:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: call_function: calling ‘get_terminal’ from ‘add_consoles_from_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:748:13: warning[-Wanalyzer-malloc-leak]: leak of ‘full_name’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:747:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:748:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:748:13: danger: ‘full_name’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:751:17: warning[-Wanalyzer-malloc-leak]: leak of ‘console’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:937:1: enter_function: entry to ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:967:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:974:44: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:976:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:984:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:985:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: call_function: calling ‘get_terminal’ from ‘add_consoles_from_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:751:17: warning[-Wanalyzer-malloc-leak]: leak of ‘full_name’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:751:17: danger: ‘full_name’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:752:48: warning[-Wanalyzer-malloc-leak]: leak of ‘console’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:937:1: enter_function: entry to ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:967:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:974:44: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:976:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:984:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:985:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: call_function: calling ‘get_terminal’ from ‘add_consoles_from_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:752:48: warning[-Wanalyzer-malloc-leak]: leak of ‘full_name’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:752:48: danger: ‘full_name’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:757:20: warning[-Wanalyzer-malloc-leak]: leak of ‘full_name’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:741:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:742:29: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:747:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:748:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:746:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:757:20: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:757:20: danger: ‘full_name’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:807:18: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:810:26: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:812:25: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:813:13: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:816:34: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:819:30: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:802:1: enter_function: entry to ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:813:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:815:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:815:20: branch_true: following ‘true’ branch (when ‘keymap’ is NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:816:34: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:817:34: call_function: calling ‘strip_quotes’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:817:34: return_function: returning to ‘parse_vconsole_conf’ from ‘strip_quotes’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:819:30: danger: ‘keymap’ leaks here; was allocated at [(14)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:819:30: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:822:29: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
Error: CPPCHECK_WARNING (CWE-476): [#def132]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:863: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: manager
Error: CPPCHECK_WARNING (CWE-476): [#def133]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:864: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: manager
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:864:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:864:9: danger: ‘manager’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:864:32: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:864:32: danger: ‘manager’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def136]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:866: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: manager
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:867:17: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:866:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:867:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:867:17: danger: ‘manager’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:871:30: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:871:30: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:872:30: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:872:30: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:874:43: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:874:43: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:875:9: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:875:9: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:877:34: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:877:34: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:878:30: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:878:30: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:879:34: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:879:34: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:880:35: warning[-Wanalyzer-malloc-leak]: leak of ‘manager’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:857:1: enter_function: entry to ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:862:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: call_function: calling ‘parse_vconsole_conf’ from ‘ply_device_manager_new’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:869:9: return_function: returning to ‘ply_device_manager_new’ from ‘parse_vconsole_conf’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:880:35: danger: ‘manager’ leaks here; was allocated at [(2)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:947:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:958:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:947:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:958:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:958:17: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:959:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:947:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:958:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:959:17: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:947:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:988:34: warning[-Wanalyzer-malloc-leak]: leak of ‘console’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:937:1: enter_function: entry to ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:949:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:954:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:957:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:962:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:967:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:974:44: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:976:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:984:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:985:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: call_function: calling ‘get_terminal’ from ‘add_consoles_from_file’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:987:28: return_function: returning to ‘add_consoles_from_file’ from ‘get_terminal’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:988:34: danger: ‘console’ leaks here; was allocated at [(10)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1154:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(ply_renderer_get_device_name(renderer))’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1076:1: enter_function: entry to ‘create_devices_for_terminal_and_renderer_type’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1112:12: branch_true: following ‘true’ branch (when ‘renderer_type != -1’)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1114:30: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1120:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1133:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1142:25: call_function: inlined call to ‘add_input_devices_to_renderer’ from ‘create_devices_for_terminal_and_renderer_type’
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1146:12: branch_true: following ‘true’ branch (when ‘renderer’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1147:28: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1153:59: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-device-manager.c:1154:17: danger: ‘strdup(ply_renderer_get_device_name(renderer))’ leaks here; was allocated at [(11)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def152]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:253:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘key_state’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:208:27: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:212:21: branch_false: ...to here
branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:249:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:253:20: danger: use of uninitialized value ‘key_state’ here
Error: COMPILER_WARNING (CWE-457): [#def153]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c: scope_hint: In function ‘on_input’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:253:20: warning[-Wmaybe-uninitialized]: ‘key_state’ may be used uninitialized
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:193:37: note: ‘key_state’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def154]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:254:41: warning[-Wmaybe-uninitialized]: ‘xkb_key_direction’ may be used uninitialized
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:194:40: note: ‘xkb_key_direction’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: warning[-Wanalyzer-malloc-leak]: leak of ‘input_device’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:312:44: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:314:12: branch_false: following ‘false’ branch (when ‘input_device’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: danger: ‘input_device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:321:39: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:314:12: branch_false: following ‘false’ branch (when ‘input_device’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:320:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:321:39: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:321:39: warning[-Wanalyzer-malloc-leak]: leak of ‘input_device’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:312:44: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:314:12: branch_false: following ‘false’ branch (when ‘input_device’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:321:39: danger: ‘input_device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:322:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:314:12: branch_false: following ‘false’ branch (when ‘input_device’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:320:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:322:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:322:9: warning[-Wanalyzer-malloc-leak]: leak of ‘input_device’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:312:44: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:314:12: branch_false: following ‘false’ branch (when ‘input_device’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:319:44: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:322:9: danger: ‘input_device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def160]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:481: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xkb_state
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:481:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xkb_state’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:479:47: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:481:9: danger: ‘xkb_state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:481:37: warning[-Wanalyzer-malloc-leak]: leak of ‘xkb_state’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:479:47: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:481:37: danger: ‘xkb_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def163]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:483: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xkb_state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:483:35: warning[-Wanalyzer-malloc-leak]: leak of ‘xkb_state’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:479:47: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:483:35: danger: ‘xkb_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def165]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:485: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xkb_state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:485:34: warning[-Wanalyzer-malloc-leak]: leak of ‘xkb_state’
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:479:47: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:485:34: danger: ‘xkb_state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def167]
plymouth-24.004.60/src/libply-splash-core/ply-input-device.c:487: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xkb_state
Error: CPPCHECK_WARNING (CWE-476): [#def168]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:113: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def169]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:114: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def170]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def171]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def172]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def173]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def174]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def175]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def176]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard->provider.if_terminal
Error: CPPCHECK_WARNING (CWE-476): [#def177]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:121: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def178]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:123: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def179]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def180]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def181]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def182]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def183]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def184]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def185]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def186]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def187]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard->provider.if_renderer
Error: CPPCHECK_WARNING (CWE-476): [#def188]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:146: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: CPPCHECK_WARNING (CWE-476): [#def189]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:148: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyboard
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:192:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘keyboard_input’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:413:1: enter_function: entry to ‘on_terminal_data’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:423:9: call_function: calling ‘on_key_event’ from ‘on_terminal_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:352:25: warning[-Wanalyzer-malloc-leak]: leak of ‘keyboard_input’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:413:1: enter_function: entry to ‘on_terminal_data’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:423:9: call_function: calling ‘on_key_event’ from ‘on_terminal_data’
Error: CPPCHECK_WARNING (CWE-476): [#def192]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:528: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:528:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:608:1: enter_function: entry to ‘ply_keyboard_add_escape_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:614:9: branch_true: following ‘true’ branch (when ‘keyboard’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:616:19: call_function: inlined call to ‘ply_keyboard_closure_new’ from ‘ply_keyboard_add_escape_handler’
Error: CPPCHECK_WARNING (CWE-476): [#def194]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:529: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:551:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:541:1: enter_function: entry to ‘ply_keyboard_add_input_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:547:9: branch_true: following ‘true’ branch (when ‘keyboard’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:549:19: call_function: inlined call to ‘ply_keyboard_closure_new’ from ‘ply_keyboard_add_input_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:551:9: danger: ‘closure’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:584:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:574:1: enter_function: entry to ‘ply_keyboard_add_backspace_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:580:9: branch_true: following ‘true’ branch (when ‘keyboard’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:582:19: call_function: inlined call to ‘ply_keyboard_closure_new’ from ‘ply_keyboard_add_backspace_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:584:9: danger: ‘closure’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:618:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:608:1: enter_function: entry to ‘ply_keyboard_add_escape_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:614:9: branch_true: following ‘true’ branch (when ‘keyboard’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:616:19: call_function: inlined call to ‘ply_keyboard_closure_new’ from ‘ply_keyboard_add_escape_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:618:9: danger: ‘closure’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:653:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:642:1: enter_function: entry to ‘ply_keyboard_add_enter_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:648:9: branch_true: following ‘true’ branch (when ‘keyboard’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:650:19: call_function: inlined call to ‘ply_keyboard_closure_new’ from ‘ply_keyboard_add_enter_handler’
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:653:9: danger: ‘closure’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:91:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msgptr’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:78:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:87:26: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:91:21: danger: dereference of NULL ‘msgptr’
Error: COMPILER_WARNING (CWE-252): [#def200]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c: scope_hint: In function ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:132:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def201]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_message
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:138:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:67:1: enter_function: entry to ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:78:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:87:26: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: call_function: calling ‘unhexmangle_to_buffer’ from ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: return_function: returning to ‘handle_kmsg_message’ from ‘unhexmangle_to_buffer’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:112:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:115:20: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:135:24: branch_true: following ‘true’ branch (when ‘message_substr’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:138:25: danger: ‘kmsg_message’ could be NULL: unchecked value from [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: CPPCHECK_WARNING (CWE-476): [#def203]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_message
Error: CPPCHECK_WARNING (CWE-476): [#def204]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_message
Error: CPPCHECK_WARNING (CWE-476): [#def205]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_message
Error: COMPILER_WARNING (CWE-252): [#def206]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:143:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def207]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:144: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_message
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:67:1: enter_function: entry to ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:78:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:87:26: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: call_function: calling ‘unhexmangle_to_buffer’ from ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: return_function: returning to ‘handle_kmsg_message’ from ‘unhexmangle_to_buffer’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:112:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:115:20: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:135:24: branch_true: following ‘true’ branch (when ‘message_substr’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:144:49: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:146:25: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:146:25: warning[-Wanalyzer-malloc-leak]: leak of ‘kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:67:1: enter_function: entry to ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:78:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:87:26: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: call_function: calling ‘unhexmangle_to_buffer’ from ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: return_function: returning to ‘handle_kmsg_message’ from ‘unhexmangle_to_buffer’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:112:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:115:20: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:135:24: branch_true: following ‘true’ branch (when ‘message_substr’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:146:25: danger: ‘kmsg_message’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:147:25: warning[-Wanalyzer-malloc-leak]: leak of ‘kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:67:1: enter_function: entry to ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:78:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:87:26: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: call_function: calling ‘unhexmangle_to_buffer’ from ‘handle_kmsg_message’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:94:17: return_function: returning to ‘handle_kmsg_message’ from ‘unhexmangle_to_buffer’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:112:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:115:20: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:135:24: branch_true: following ‘true’ branch (when ‘message_substr’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:136:40: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:147:25: danger: ‘kmsg_message’ leaks here; was allocated at [(14)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/13)
Error: CPPCHECK_WARNING (CWE-476): [#def211]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:166: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_reader
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:166:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kmsg_reader’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:165:42: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:166:9: danger: ‘kmsg_reader’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:166:37: warning[-Wanalyzer-malloc-leak]: leak of ‘kmsg_reader’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:165:42: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:166:37: danger: ‘kmsg_reader’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def214]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:167: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: kmsg_reader
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:167:38: warning[-Wanalyzer-malloc-leak]: leak of ‘kmsg_reader’
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:165:42: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-kmsg-reader.c:167:38: danger: ‘kmsg_reader’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:164:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*buffer.bytes + ((long unsigned int)y * *buffer.area.width + (long unsigned int)x) * 4’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: return_function: returning to ‘ply_pixel_buffer_rotate_upright’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1131:21: branch_true: following ‘true’ branch (when ‘y < height’)...
branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1132:29: branch_true: following ‘true’ branch (when ‘x < width’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1133:33: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1134:25: call_function: calling ‘ply_pixel_buffer_set_pixel’ from ‘ply_pixel_buffer_rotate_upright’
Error: CPPCHECK_WARNING (CWE-476): [#def217]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:341: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_clip_area
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:341:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_clip_area’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1096:1: enter_function: entry to ‘ply_pixel_buffer_set_device_rotation’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1099:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1102:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1116:9: call_function: calling ‘ply_pixel_buffer_push_clip_area’ from ‘ply_pixel_buffer_set_device_rotation’
Error: CPPCHECK_WARNING (CWE-476): [#def219]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:344: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:344:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:344:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:344:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_clip_area’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1096:1: enter_function: entry to ‘ply_pixel_buffer_set_device_rotation’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1099:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1102:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1116:9: call_function: calling ‘ply_pixel_buffer_push_clip_area’ from ‘ply_pixel_buffer_set_device_rotation’
Error: CPPCHECK_WARNING (CWE-476): [#def223]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:381: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:381:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:381:33: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: CPPCHECK_WARNING (CWE-476): [#def226]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:382: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def227]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:383: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def228]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:384: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def229]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:385: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def230]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:386: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def231]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:387: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def232]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:389: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:389:30: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:389:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1120:1: enter_function: entry to ‘ply_pixel_buffer_rotate_upright’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1129:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate_upright’
Error: CPPCHECK_WARNING (CWE-476): [#def235]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:391: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:991:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)((long int)y * width + (long int)x) * 4’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:966:1: enter_function: entry to ‘ply_pixel_buffer_resize’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:977:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_resize’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:977:18: return_function: returning to ‘ply_pixel_buffer_resize’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:987:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:988:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:989:29: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:990:33: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:992:33: call_function: calling ‘ply_pixel_buffer_interpolate’ from ‘ply_pixel_buffer_resize’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:992:33: return_function: returning to ‘ply_pixel_buffer_resize’ from ‘ply_pixel_buffer_interpolate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:991:25: danger: ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)((long int)y * width + (long int)x) * 4’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1033:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height))’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:999:1: enter_function: entry to ‘ply_pixel_buffer_rotate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1014:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1014:18: return_function: returning to ‘ply_pixel_buffer_rotate’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1026:21: branch_true: following ‘true’ branch (when ‘y < height’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1029:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1031:29: branch_true: following ‘true’ branch (when ‘x < width’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1032:28: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1033:33: danger: ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)(y * width + x) * 4’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1035:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)(y * width + x) * 4’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:999:1: enter_function: entry to ‘ply_pixel_buffer_rotate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1014:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_rotate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1014:18: return_function: returning to ‘ply_pixel_buffer_rotate’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1026:21: branch_true: following ‘true’ branch (when ‘y < height’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1029:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1031:29: branch_true: following ‘true’ branch (when ‘x < width’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1032:28: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1032:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1036:41: call_function: calling ‘ply_pixel_buffer_interpolate’ from ‘ply_pixel_buffer_rotate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1036:41: return_function: returning to ‘ply_pixel_buffer_rotate’ from ‘ply_pixel_buffer_interpolate’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1035:33: danger: ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)(y * width + x) * 4’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1067:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)(y * width + x) * 4’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1045:1: enter_function: entry to ‘ply_pixel_buffer_tile’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1055:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_tile’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1055:18: return_function: returning to ‘ply_pixel_buffer_tile’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1063:21: branch_true: following ‘true’ branch (when ‘y < height’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1064:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1065:29: branch_true: following ‘true’ branch (when ‘x < width’)...
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1066:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-buffer.c:1067:25: danger: ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)(y * width + x) * 4’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def240]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:71: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:71:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:69:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:71:9: danger: ‘display’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:71:25: warning[-Wanalyzer-malloc-leak]: leak of ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:69:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:71:25: danger: ‘display’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def243]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: CPPCHECK_WARNING (CWE-476): [#def244]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:75:24: warning[-Wanalyzer-malloc-leak]: leak of ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:69:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:75:24: danger: ‘display’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:76:9: warning[-Wanalyzer-malloc-leak]: leak of ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:69:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:76:9: danger: ‘display’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def247]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: CPPCHECK_WARNING (CWE-476): [#def248]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: CPPCHECK_WARNING (CWE-476): [#def249]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:80:33: warning[-Wanalyzer-malloc-leak]: leak of ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:69:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-pixel-display.c:80:33: danger: ‘display’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def251]
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: renderer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:76:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘renderer’
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:74:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:76:9: danger: ‘renderer’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def253]
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: renderer
Error: CPPCHECK_WARNING (CWE-476): [#def254]
plymouth-24.004.60/src/libply-splash-core/ply-renderer.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: renderer
Error: CPPCHECK_WARNING (CWE-476): [#def255]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:43: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rich_text
Error: CPPCHECK_WARNING (CWE-476): [#def256]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rich_text
Error: CPPCHECK_WARNING (CWE-476): [#def257]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: character
Error: CPPCHECK_WARNING (CWE-476): [#def258]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:160: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: character
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:160:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘character’
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:158:48: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:160:9: danger: ‘character’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:267:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*character.bytes’
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:246:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:249:57: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:249:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:253:22: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:255:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:259:21: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:266:28: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-rich-text.c:267:9: danger: ‘*character.bytes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def261]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:151: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def262]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:152: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def263]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:153: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def264]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def265]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:156: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def266]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:157: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def267]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:158: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def268]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:161: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def269]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:163: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def270]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:166: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def271]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:169: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def272]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def273]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:173: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def274]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:174: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def275]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:176: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def276]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:177: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: CPPCHECK_WARNING (CWE-476): [#def277]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal_emulator
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1245:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command_object’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1114:1: enter_function: entry to ‘ply_terminal_emulator_parse_substring’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1143:16: branch_true: following ‘true’ branch (when ‘i < number_of_bytes_to_parse’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1145:22: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1161:20: branch_false: following ‘false’ branch (when ‘break_string != 1’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1166:17: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1181:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1192:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1225:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1237:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1239:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1243:36: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1243:35: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1244:69: call_function: inlined call to ‘ply_terminal_emulator_command_new’ from ‘ply_terminal_emulator_parse_substring’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1245:33: danger: ‘command_object’ could be NULL: unchecked value from [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1285:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command_object’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1114:1: enter_function: entry to ‘ply_terminal_emulator_parse_substring’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1143:16: branch_true: following ‘true’ branch (when ‘i < number_of_bytes_to_parse’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1145:22: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1161:20: branch_false: following ‘false’ branch (when ‘break_string != 1’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1166:17: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1181:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1192:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1225:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1237:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1283:35: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1285:33: danger: ‘command_object’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1287:33: warning[-Wanalyzer-malloc-leak]: leak of ‘command_object’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1114:1: enter_function: entry to ‘ply_terminal_emulator_parse_substring’
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1143:16: branch_true: following ‘true’ branch (when ‘i < number_of_bytes_to_parse’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1145:22: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1161:20: branch_false: following ‘false’ branch (when ‘break_string != 1’)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1166:17: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1181:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1190:27: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1192:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1225:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1237:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1283:35: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal-emulator.c:1287:33: danger: ‘command_object’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: CPPCHECK_WARNING (CWE-476): [#def281]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:130:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘terminal’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:130:9: danger: ‘terminal’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:130:26: warning[-Wanalyzer-malloc-leak]: leak of ‘terminal’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:130:26: danger: ‘terminal’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def284]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:131:40: warning[-Wanalyzer-malloc-leak]: leak of ‘terminal’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:131:40: danger: ‘terminal’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def286]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:132:36: warning[-Wanalyzer-malloc-leak]: leak of ‘terminal’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:132:36: danger: ‘terminal’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def288]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c: scope_hint: In function ‘ply_terminal_new’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:137:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def289]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: CPPCHECK_WARNING (CWE-476): [#def290]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: CPPCHECK_WARNING (CWE-476): [#def291]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: CPPCHECK_WARNING (CWE-476): [#def292]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: CPPCHECK_WARNING (CWE-476): [#def293]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: terminal
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*terminal.name’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:134:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:135:34: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:135:34: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:143:12: branch_true: following ‘true’ branch (when ‘keymap’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: danger: ‘*terminal.name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:134:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:135:34: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:135:34: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:143:12: branch_true: following ‘true’ branch (when ‘keymap’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: warning[-Wanalyzer-malloc-leak]: leak of ‘terminal’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:126:9: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:128:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:134:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:135:34: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:143:12: branch_true: following ‘true’ branch (when ‘keymap’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:144:17: danger: ‘terminal’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def297]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c: scope_hint: In function ‘ply_terminal_write’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:365:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def298]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1031: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def299]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1031:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1027:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1030:19: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1030:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1031:9: danger: ‘closure’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def300]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1032: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1034:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1027:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1030:19: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1030:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1034:9: danger: ‘closure’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def302]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1073: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1073:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1072:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1073:9: danger: ‘closure’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def304]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1074: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1076:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1072:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-terminal.c:1076:9: danger: ‘closure’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def306]
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: CPPCHECK_WARNING (CWE-476): [#def307]
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:113: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: display
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:113:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘display’
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:110:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:113:9: danger: ‘display’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def309]
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c: scope_hint: In function ‘ply_text_display_write’
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:246:9: warning[-Wunused-result]: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def310]
plymouth-24.004.60/src/libply-splash-core/ply-text-display.c:249:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def311]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: CPPCHECK_WARNING (CWE-476): [#def312]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:81:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘progress_bar’
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:78:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:81:9: danger: ‘progress_bar’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def314]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: CPPCHECK_WARNING (CWE-476): [#def315]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: COMPILER_WARNING (CWE-252): [#def316]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c: scope_hint: In function ‘get_os_string’
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:116:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:107:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:110:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:110:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:115:23: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:115:15: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:117:9: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-252): [#def318]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:145:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def319]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:150:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:107:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:110:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:110:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:115:23: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:115:15: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:150:15: danger: argument 1 (‘buf’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-252): [#def320]
plymouth-24.004.60/src/libply-splash-core/ply-text-progress-bar.c:164:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def321]
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: step_bar
Error: CPPCHECK_WARNING (CWE-476): [#def322]
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: step_bar
Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:51:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘step_bar’
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:48:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:51:9: danger: ‘step_bar’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def324]
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:52: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: step_bar
Error: CPPCHECK_WARNING (CWE-476): [#def325]
plymouth-24.004.60/src/libply-splash-core/ply-text-step-bar.c:53: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: step_bar
Error: CPPCHECK_WARNING (CWE-476): [#def326]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:88:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘animation’
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:83:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:84:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:84:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:86:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:86:21: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:88:9: danger: ‘animation’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:88:29: warning[-Wanalyzer-malloc-leak]: leak of ‘animation’
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:83:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:84:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:84:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:86:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:86:21: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:88:29: danger: ‘animation’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def329]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def330]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def331]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def332]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def333]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def334]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: CPPCHECK_WARNING (CWE-476): [#def335]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: animation
Error: COMPILER_WARNING (CWE-252): [#def336]
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c: scope_hint: In function ‘ply_animation_add_frames’
plymouth-24.004.60/src/libply-splash-graphics/ply-animation.c:249:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def337]
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c: scope_hint: In function ‘ply_capslock_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:65:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def338]
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: capslock_icon
Error: GCC_ANALYZER_WARNING (CWE-476): [#def339]
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:66:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘capslock_icon’
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:61:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:63:25: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:63:25: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-capslock-icon.c:66:9: danger: ‘capslock_icon’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def340]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:105:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:105:9: danger: ‘console_viewer’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:105:42: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:105:42: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def343]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:106: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: CPPCHECK_WARNING (CWE-476): [#def344]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:110:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:110:25: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:110:25: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:110:25: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:111:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:111:9: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def349]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:112:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:112:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:112:9: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:112:9: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def352]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:114: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: CPPCHECK_WARNING (CWE-476): [#def353]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:116:39: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:116:39: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:116:39: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:116:39: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def356]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:117:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:117:38: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:117:38: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:117:38: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def359]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:119:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:119:42: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:119:42: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:119:42: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def362]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:120:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:120:22: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:120:22: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:120:22: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:126:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:126:9: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def369]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:130:17: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:130:17: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def372]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:131:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:131:17: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:131:17: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:128:38: branch_true: following ‘true’ branch (when ‘line_count > label_index’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:129:41: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:131:17: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def375]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:134:45: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:134:45: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:134:45: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:134:45: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def378]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: console_viewer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:136:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:108:32: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:136:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:136:9: warning[-Wanalyzer-malloc-leak]: leak of ‘console_viewer’
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:103:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-console-viewer.c:136:9: danger: ‘console_viewer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def381]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c: scope_hint: In function ‘ply_entry_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:87:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def382]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:88:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:82:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:88:9: danger: ‘entry’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:88:35: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:82:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:88:35: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def385]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:92:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def386]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:93:31: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:82:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:93:31: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def388]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:95:24: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:82:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:95:24: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def390]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:96:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:82:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:84:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:96:9: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def392]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: CPPCHECK_WARNING (CWE-476): [#def393]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: CPPCHECK_WARNING (CWE-476): [#def394]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: CPPCHECK_WARNING (CWE-476): [#def395]
plymouth-24.004.60/src/libply-splash-graphics/ply-entry.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: CPPCHECK_WARNING (CWE-476): [#def396]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: image
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:91:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘image’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:87:9: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:89:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:89:17: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:91:9: danger: ‘image’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def398]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: image
Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:300:23: call_function: calling ‘ply_image_load_png’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:198:25: warning[-Wanalyzer-malloc-leak]: leak of ‘rows’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:150:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:154:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:157:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:161:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:164:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:197:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:198:25: danger: ‘rows’ leaks here; was allocated at [(12)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:200:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rows’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:150:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:154:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:157:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:161:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:164:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:197:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:200:17: danger: ‘rows’ leaks here; was allocated at [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def407]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:203: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rows
Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:203:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rows’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:150:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:154:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:157:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:161:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:164:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:197:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:202:23: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:203:49: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:203:17: danger: ‘rows + (long unsigned int)row * 8’ could be NULL: unchecked value from [(12)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:206:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rows’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:150:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:151:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:153:15: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:154:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:156:16: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:157:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:159:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:161:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:164:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:197:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:202:23: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:206:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:206:9: danger: ‘rows’ leaks here; was allocated at [(12)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def410]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:225:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:13: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:236:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:239:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:243:15: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:244:9: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:24: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:13: danger: ‘buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def413]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:225:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:13: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:236:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:239:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:243:15: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:244:9: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:24: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: danger: ‘buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:253:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:253:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:225:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:13: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:236:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:239:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:243:15: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:244:9: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:24: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:253:15: danger: ‘buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:253:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def419]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:272:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:272:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:225:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:226:9: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:13: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:228:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:231:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:236:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:234:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:239:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:243:15: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:244:9: branch_true: following ‘true’ branch (when ‘buf’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:24: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:246:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:249:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:252:25: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:255:21: branch_false: following ‘false’ branch (when ‘y >= height’)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:272:9: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:272:9: danger: ‘buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:272:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:280:1: enter_function: entry to ‘ply_image_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:299:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:303:18: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:302:18: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:304:23: call_function: calling ‘ply_image_load_bmp’ from ‘ply_image_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_resource: opened here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: danger: ‘fopen(*image.filename, "re")’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*image.filename, "re")’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:286:9: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:288:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:289:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:292:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:296:13: danger: ‘fopen(*image.filename, "re")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:350:29: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:342:1: enter_function: entry to ‘ply_image_resize’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:348:21: call_function: calling ‘ply_image_new’ from ‘ply_image_resize’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:348:21: return_function: returning to ‘ply_image_resize’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:350:29: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:350:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_image_new(*image.filename)’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:342:1: enter_function: entry to ‘ply_image_resize’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:348:21: call_function: calling ‘ply_image_new’ from ‘ply_image_resize’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:348:21: return_function: returning to ‘ply_image_resize’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:350:29: danger: ‘ply_image_new(*image.filename)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:366:29: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:357:1: enter_function: entry to ‘ply_image_rotate’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:364:21: call_function: calling ‘ply_image_new’ from ‘ply_image_rotate’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:364:21: return_function: returning to ‘ply_image_rotate’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:366:29: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:366:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_image_new(*image.filename)’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:357:1: enter_function: entry to ‘ply_image_rotate’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:364:21: call_function: calling ‘ply_image_new’ from ‘ply_image_rotate’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:364:21: return_function: returning to ‘ply_image_rotate’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:366:29: danger: ‘ply_image_new(*image.filename)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:382:29: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:374:1: enter_function: entry to ‘ply_image_tile’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:380:21: call_function: calling ‘ply_image_new’ from ‘ply_image_tile’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:380:21: return_function: returning to ‘ply_image_tile’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:382:29: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:382:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_image_new(*image.filename)’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:374:1: enter_function: entry to ‘ply_image_tile’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:380:21: call_function: calling ‘ply_image_new’ from ‘ply_image_tile’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:380:21: return_function: returning to ‘ply_image_tile’ from ‘ply_image_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-image.c:382:29: danger: ‘ply_image_new(*image.filename)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/5)
Error: CPPCHECK_WARNING (CWE-476): [#def430]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: CPPCHECK_WARNING (CWE-476): [#def431]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:92:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:133:34: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:92:20: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap_icon’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:131:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:93:31: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:133:34: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:93:31: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap_icon’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:131:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def436]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: warning[-Wanalyzer-null-argument]: use of NULL ‘icon_text’ where non-null expected
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:83:1: enter_function: entry to ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:94:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: call_function: calling ‘ply_keymap_normalize_keymap’ from ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: return_function: returning to ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_normalize_keymap’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:99:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:102:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:102:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:104:27: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:104:27: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: danger: argument 2 (‘icon_text’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def437]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘icon_text’ where non-null expected
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:83:1: enter_function: entry to ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:94:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: call_function: calling ‘ply_keymap_normalize_keymap’ from ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: return_function: returning to ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_normalize_keymap’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:99:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:102:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:102:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:21: danger: argument 2 (‘icon_text’) from [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:133:34: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘icon_text’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:83:1: enter_function: entry to ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:94:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: call_function: calling ‘ply_keymap_normalize_keymap’ from ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: return_function: returning to ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_normalize_keymap’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:99:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:102:21: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:108:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:99:50: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:99:21: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:117:13: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:117:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: danger: ‘icon_text’ leaks here; was allocated at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap_icon’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:126:1: enter_function: entry to ‘ply_keymap_icon_new’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:131:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:137:9: call_function: calling ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_icon_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_keymap_normalize_keymap(ply_renderer_get_keymap(ply_pixel_display_get_renderer(*keymap_icon.display)))’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:83:1: enter_function: entry to ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:94:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: branch_false: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: call_function: calling ‘ply_keymap_normalize_keymap’ from ‘ply_keymap_icon_fill_keymap_info’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:97:34: return_function: returning to ‘ply_keymap_icon_fill_keymap_info’ from ‘ply_keymap_normalize_keymap’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:117:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:118:17: danger: ‘ply_keymap_normalize_keymap(ply_renderer_get_keymap(ply_pixel_display_get_renderer(*keymap_icon.display)))’ leaks here; was allocated at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def442]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:132:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘keymap_icon’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:131:23: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:132:9: danger: ‘keymap_icon’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def444]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:133: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: CPPCHECK_WARNING (CWE-476): [#def445]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: CPPCHECK_WARNING (CWE-476): [#def446]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keymap_icon
Error: COMPILER_WARNING (CWE-252): [#def447]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c: scope_hint: In function ‘ply_keymap_icon_load’
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:169:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def448]
plymouth-24.004.60/src/libply-splash-graphics/ply-keymap-icon.c:176:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def449]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:73:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘label’
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:72:17: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:73:9: danger: ‘label’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def451]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def452]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def453]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def454]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def455]
plymouth-24.004.60/src/libply-splash-graphics/ply-label.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def456]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:86:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘progress_animation’
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:81:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:82:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:82:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:84:30: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:84:30: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:86:9: danger: ‘progress_animation’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:86:38: warning[-Wanalyzer-malloc-leak]: leak of ‘progress_animation’
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:81:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:82:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:82:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:84:30: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:84:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:86:38: danger: ‘progress_animation’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def459]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def460]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def461]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def462]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def463]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def464]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def465]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def466]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def467]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def468]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def469]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def470]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def471]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: CPPCHECK_WARNING (CWE-476): [#def472]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:100: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_animation
Error: COMPILER_WARNING (CWE-252): [#def473]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c: scope_hint: In function ‘ply_progress_animation_add_frames’
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-animation.c:358:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def474]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:72:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘progress_bar’
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:70:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:72:9: danger: ‘progress_bar’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def476]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: CPPCHECK_WARNING (CWE-476): [#def477]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: CPPCHECK_WARNING (CWE-476): [#def478]
plymouth-24.004.60/src/libply-splash-graphics/ply-progress-bar.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress_bar
Error: CPPCHECK_WARNING (CWE-476): [#def479]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:94:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘throbber’
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:89:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:90:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:90:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:92:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:92:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:94:9: danger: ‘throbber’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:94:28: warning[-Wanalyzer-malloc-leak]: leak of ‘throbber’
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:89:9: branch_true: following ‘true’ branch (when ‘image_dir’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:90:9: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:90:9: branch_true: following ‘true’ branch (when ‘frames_prefix’ is non-NULL)...
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:92:20: branch_true: ...to here
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:92:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:94:28: danger: ‘throbber’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def482]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def483]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def484]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def485]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def486]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def487]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:100: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def488]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def489]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def490]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: CPPCHECK_WARNING (CWE-476): [#def491]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: throbber
Error: COMPILER_WARNING (CWE-252): [#def492]
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c: scope_hint: In function ‘ply_throbber_add_frames’
plymouth-24.004.60/src/libply-splash-graphics/ply-throbber.c:260:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def493]
plymouth-24.004.60/src/libply/ply-array.c:47: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: array
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
plymouth-24.004.60/src/libply/ply-array.c:47:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘array’
plymouth-24.004.60/src/libply/ply-array.c:45:17: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-array.c:47:9: danger: ‘array’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
plymouth-24.004.60/src/libply/ply-array.c:47:25: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
plymouth-24.004.60/src/libply/ply-array.c:45:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-array.c:47:25: danger: ‘array’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def496]
plymouth-24.004.60/src/libply/ply-array.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: array
Error: CPPCHECK_WARNING (CWE-476): [#def497]
plymouth-24.004.60/src/libply/ply-array.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: array
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
plymouth-24.004.60/src/libply/ply-array.c:52:17: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
plymouth-24.004.60/src/libply/ply-array.c:45:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-array.c:52:17: danger: ‘array’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
plymouth-24.004.60/src/libply/ply-array.c:56:17: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
plymouth-24.004.60/src/libply/ply-array.c:45:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-array.c:56:17: danger: ‘array’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
plymouth-24.004.60/src/libply/ply-buffer.c:84:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
plymouth-24.004.60/src/libply/ply-buffer.c:177:1: enter_function: entry to ‘ply_buffer_append_bytes’
plymouth-24.004.60/src/libply/ply-buffer.c:194:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: call_function: calling ‘ply_buffer_increase_capacity’ from ‘ply_buffer_append_bytes’
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: return_function: returning to ‘ply_buffer_append_bytes’ from ‘ply_buffer_increase_capacity’
plymouth-24.004.60/src/libply/ply-buffer.c:195:20: branch_true: following ‘true’ branch...
branch_true: ...to here
plymouth-24.004.60/src/libply/ply-buffer.c:194:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: call_function: calling ‘ply_buffer_increase_capacity’ from ‘ply_buffer_append_bytes’
plymouth-24.004.60/src/libply/ply-buffer.c:195:22: return_function: returning to ‘ply_buffer_append_bytes’ from ‘ply_buffer_increase_capacity’
plymouth-24.004.60/src/libply/ply-buffer.c:196:25: call_function: calling ‘ply_buffer_remove_bytes’ from ‘ply_buffer_append_bytes’
Error: CPPCHECK_WARNING (CWE-476): [#def501]
plymouth-24.004.60/src/libply/ply-buffer.c:106: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def502]
plymouth-24.004.60/src/libply/ply-buffer.c:107: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def503]
plymouth-24.004.60/src/libply/ply-buffer.c:108: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: COMPILER_WARNING (CWE-563): [#def504]
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.h:29: included_from: Included from here.
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:22: included_from: Included from here.
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c: scope_hint: In function ‘process_backspace’
plymouth-24.004.60/src/libply/ply-buffer.h:60:20: warning[-Wunused-value]: value computed is not used
plymouth-24.004.60/src/libply-splash-core/ply-keyboard.c:161:9: note: in expansion of macro ‘ply_buffer_borrow_bytes’
Error: CPPCHECK_WARNING (CWE-476): [#def505]
plymouth-24.004.60/src/libply/ply-command-parser.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: option
Error: GCC_ANALYZER_WARNING (CWE-476): [#def506]
plymouth-24.004.60/src/libply/ply-command-parser.c:87:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘option’
plymouth-24.004.60/src/libply/ply-command-parser.c:85:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-command-parser.c:87:9: danger: ‘option’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def507]
plymouth-24.004.60/src/libply/ply-command-parser.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: option
Error: CPPCHECK_WARNING (CWE-476): [#def508]
plymouth-24.004.60/src/libply/ply-command-parser.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: option
Error: CPPCHECK_WARNING (CWE-476): [#def509]
plymouth-24.004.60/src/libply/ply-command-parser.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
plymouth-24.004.60/src/libply/ply-command-parser.c:115:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command’
plymouth-24.004.60/src/libply/ply-command-parser.c:113:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-command-parser.c:115:9: danger: ‘command’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
plymouth-24.004.60/src/libply/ply-command-parser.c:115:28: warning[-Wanalyzer-malloc-leak]: leak of ‘command_parser’
plymouth-24.004.60/src/libply/ply-command-parser.c:342:1: enter_function: entry to ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:347:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
plymouth-24.004.60/src/libply/ply-command-parser.c:115:28: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/libply/ply-command-parser.c:113:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:115:28: danger: ‘command’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def513]
plymouth-24.004.60/src/libply/ply-command-parser.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: CPPCHECK_WARNING (CWE-476): [#def514]
plymouth-24.004.60/src/libply/ply-command-parser.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
plymouth-24.004.60/src/libply/ply-command-parser.c:117:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:116:25: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:117:28: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
plymouth-24.004.60/src/libply/ply-command-parser.c:117:28: warning[-Wanalyzer-malloc-leak]: leak of ‘command_parser’
plymouth-24.004.60/src/libply/ply-command-parser.c:342:1: enter_function: entry to ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:347:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
plymouth-24.004.60/src/libply/ply-command-parser.c:117:28: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/libply/ply-command-parser.c:113:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:117:28: danger: ‘command’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def518]
plymouth-24.004.60/src/libply/ply-command-parser.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: CPPCHECK_WARNING (CWE-476): [#def519]
plymouth-24.004.60/src/libply/ply-command-parser.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: CPPCHECK_WARNING (CWE-476): [#def520]
plymouth-24.004.60/src/libply/ply-command-parser.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
plymouth-24.004.60/src/libply/ply-command-parser.c:306:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:411:1: enter_function: entry to ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:427:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: return_function: returning to ‘ply_command_parser_add_command’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:434:16: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:435:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:438:17: call_function: calling ‘ply_command_add_option’ from ‘ply_command_parser_add_command’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
plymouth-24.004.60/src/libply/ply-command-parser.c:306:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_command_new(name, description, handler, handler_data)’
plymouth-24.004.60/src/libply/ply-command-parser.c:411:1: enter_function: entry to ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:427:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: return_function: returning to ‘ply_command_parser_add_command’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:434:16: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:435:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:438:17: call_function: calling ‘ply_command_add_option’ from ‘ply_command_parser_add_command’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def523]
plymouth-24.004.60/src/libply/ply-command-parser.c:306:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
plymouth-24.004.60/src/libply/ply-command-parser.c:383:1: enter_function: entry to ‘ply_command_parser_add_options’
plymouth-24.004.60/src/libply/ply-command-parser.c:394:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:397:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:397:9: acquire_resource: ‘va_start’ called here
plymouth-24.004.60/src/libply/ply-command-parser.c:398:16: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:399:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:402:17: call_function: calling ‘ply_command_add_option’ from ‘ply_command_parser_add_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
plymouth-24.004.60/src/libply/ply-command-parser.c:308:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:297:1: enter_function: entry to ‘ply_command_add_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:304:18: call_function: calling ‘ply_command_option_new’ from ‘ply_command_add_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:304:18: return_function: returning to ‘ply_command_add_option’ from ‘ply_command_option_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:308:42: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
plymouth-24.004.60/src/libply/ply-command-parser.c:308:42: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_command_option_new(name, description, type)’
plymouth-24.004.60/src/libply/ply-command-parser.c:297:1: enter_function: entry to ‘ply_command_add_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:304:18: call_function: calling ‘ply_command_option_new’ from ‘ply_command_add_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:304:18: return_function: returning to ‘ply_command_add_option’ from ‘ply_command_option_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:308:42: danger: ‘ply_command_option_new(name, description, type)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
plymouth-24.004.60/src/libply/ply-command-parser.c:322:16: warning[-Wanalyzer-malloc-leak]: leak of ‘option_name’
plymouth-24.004.60/src/libply/ply-command-parser.c:781:1: enter_function: entry to ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:792:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:795:35: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:797:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:799:14: call_function: inlined call to ‘argument_is_option’ from ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:802:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:805:12: branch_false: following ‘false’ branch (when ‘option_separator’ is NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: call_function: calling ‘ply_command_get_option’ from ‘ply_command_read_option’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def527]
plymouth-24.004.60/src/libply/ply-command-parser.c:322:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
plymouth-24.004.60/src/libply/ply-command-parser.c:601:1: enter_function: entry to ‘ply_command_parser_get_options’
plymouth-24.004.60/src/libply/ply-command-parser.c:609:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: acquire_resource: ‘va_start’ called here
plymouth-24.004.60/src/libply/ply-command-parser.c:613:9: call_function: calling ‘ply_command_parser_get_options_for_command’ from ‘ply_command_parser_get_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
plymouth-24.004.60/src/libply/ply-command-parser.c:326:51: warning[-Wanalyzer-malloc-leak]: leak of ‘option_name’
plymouth-24.004.60/src/libply/ply-command-parser.c:781:1: enter_function: entry to ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:792:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:795:35: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:797:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:799:14: call_function: inlined call to ‘argument_is_option’ from ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:802:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:805:12: branch_false: following ‘false’ branch (when ‘option_separator’ is NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: call_function: calling ‘ply_command_get_option’ from ‘ply_command_read_option’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def529]
plymouth-24.004.60/src/libply/ply-command-parser.c:326:51: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
plymouth-24.004.60/src/libply/ply-command-parser.c:601:1: enter_function: entry to ‘ply_command_parser_get_options’
plymouth-24.004.60/src/libply/ply-command-parser.c:609:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: acquire_resource: ‘va_start’ called here
plymouth-24.004.60/src/libply/ply-command-parser.c:613:9: call_function: calling ‘ply_command_parser_get_options_for_command’ from ‘ply_command_parser_get_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
plymouth-24.004.60/src/libply/ply-command-parser.c:327:29: warning[-Wanalyzer-malloc-leak]: leak of ‘option_name’
plymouth-24.004.60/src/libply/ply-command-parser.c:781:1: enter_function: entry to ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:792:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:795:35: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:797:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:799:14: call_function: inlined call to ‘argument_is_option’ from ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:802:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:805:12: branch_false: following ‘false’ branch (when ‘option_separator’ is NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:814:18: call_function: calling ‘ply_command_get_option’ from ‘ply_command_read_option’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def531]
plymouth-24.004.60/src/libply/ply-command-parser.c:327:29: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
plymouth-24.004.60/src/libply/ply-command-parser.c:601:1: enter_function: entry to ‘ply_command_parser_get_options’
plymouth-24.004.60/src/libply/ply-command-parser.c:609:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:610:9: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:612:9: acquire_resource: ‘va_start’ called here
plymouth-24.004.60/src/libply/ply-command-parser.c:613:9: call_function: calling ‘ply_command_parser_get_options_for_command’ from ‘ply_command_parser_get_options’
Error: CPPCHECK_WARNING (CWE-476): [#def532]
plymouth-24.004.60/src/libply/ply-command-parser.c:349: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command_parser
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
plymouth-24.004.60/src/libply/ply-command-parser.c:349:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command_parser’
plymouth-24.004.60/src/libply/ply-command-parser.c:347:26: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-command-parser.c:349:9: danger: ‘command_parser’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def534]
plymouth-24.004.60/src/libply/ply-command-parser.c:350: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command_parser
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
plymouth-24.004.60/src/libply/ply-command-parser.c:350:49: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:342:1: enter_function: entry to ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: return_function: returning to ‘ply_command_parser_new’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:350:49: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
plymouth-24.004.60/src/libply/ply-command-parser.c:350:49: warning[-Wanalyzer-malloc-leak]: leak of ‘command_parser’
plymouth-24.004.60/src/libply/ply-command-parser.c:347:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:350:49: danger: ‘command_parser’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def537]
plymouth-24.004.60/src/libply/ply-command-parser.c:351: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: command_parser
Error: GCC_ANALYZER_WARNING (CWE-401): [#def538]
plymouth-24.004.60/src/libply/ply-command-parser.c:351:44: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:342:1: enter_function: entry to ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:349:40: return_function: returning to ‘ply_command_parser_new’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:351:44: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
plymouth-24.004.60/src/libply/ply-command-parser.c:351:44: warning[-Wanalyzer-malloc-leak]: leak of ‘command_parser’
plymouth-24.004.60/src/libply/ply-command-parser.c:347:26: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:351:44: danger: ‘command_parser’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
plymouth-24.004.60/src/libply/ply-command-parser.c:446:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:411:1: enter_function: entry to ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:427:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: return_function: returning to ‘ply_command_parser_add_command’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:434:16: branch_false: following ‘false’ branch (when ‘option_name’ is NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:442:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:446:42: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
plymouth-24.004.60/src/libply/ply-command-parser.c:446:42: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_command_new(name, description, handler, handler_data)’
plymouth-24.004.60/src/libply/ply-command-parser.c:411:1: enter_function: entry to ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:427:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:428:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: call_function: calling ‘ply_command_new’ from ‘ply_command_parser_add_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:430:19: return_function: returning to ‘ply_command_parser_add_command’ from ‘ply_command_new’
plymouth-24.004.60/src/libply/ply-command-parser.c:434:16: branch_false: following ‘false’ branch (when ‘option_name’ is NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:442:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:446:42: danger: ‘ply_command_new(name, description, handler, handler_data)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def542]
plymouth-24.004.60/src/libply/ply-command-parser.c:512:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
plymouth-24.004.60/src/libply/ply-command-parser.c:507:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:508:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:508:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:509:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:509:9: branch_true: following ‘true’ branch (when ‘alias’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:511:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:512:9: danger: dereference of NULL ‘ply_command_parser_get_command(parser, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
plymouth-24.004.60/src/libply/ply-command-parser.c:513:1: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(alias)’
plymouth-24.004.60/src/libply/ply-command-parser.c:501:6: enter_function: entry to ‘ply_command_parser_add_command_alias’
plymouth-24.004.60/src/libply/ply-command-parser.c:507:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:508:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:508:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:509:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:509:9: branch_true: following ‘true’ branch (when ‘alias’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:511:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:511:19: call_function: calling ‘ply_command_parser_get_command’ from ‘ply_command_parser_add_command_alias’
plymouth-24.004.60/src/libply/ply-command-parser.c:511:19: return_function: returning to ‘ply_command_parser_add_command_alias’ from ‘ply_command_parser_get_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:512:49: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:513:1: danger: ‘strdup(alias)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
plymouth-24.004.60/src/libply/ply-command-parser.c:572:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-command-parser.c:560:1: enter_function: entry to ‘ply_command_parser_get_options_for_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:565:9: branch_true: following ‘true’ branch (when ‘parser’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:566:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:566:9: branch_true: following ‘true’ branch (when ‘command’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:567:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:567:9: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:569:16: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:572:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:574:17: call_function: calling ‘ply_command_parser_get_option_for_command’ from ‘ply_command_parser_get_options_for_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:574:17: return_function: returning to ‘ply_command_parser_get_options_for_command’ from ‘ply_command_parser_get_option_for_command’
plymouth-24.004.60/src/libply/ply-command-parser.c:569:16: branch_true: following ‘true’ branch (when ‘option_name’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:572:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:572:17: danger: ‘<unknown>’ leaks here; was allocated at [(27)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/26)
Error: CPPCHECK_WARNING (CWE-476): [#def545]
plymouth-24.004.60/src/libply/ply-command-parser.c:803: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: option_name
Error: GCC_ANALYZER_WARNING (CWE-688): [#def546]
plymouth-24.004.60/src/libply/ply-command-parser.c:803:28: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘option_name’ where non-null expected
plymouth-24.004.60/src/libply/ply-command-parser.c:781:1: enter_function: entry to ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:792:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:795:35: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:797:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:799:14: call_function: inlined call to ‘argument_is_option’ from ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:802:23: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-command-parser.c:803:28: danger: argument 1 (‘option_name’) from [(9)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
plymouth-24.004.60/src/libply/ply-command-parser.c:807:17: warning[-Wanalyzer-malloc-leak]: leak of ‘option_name’
plymouth-24.004.60/src/libply/ply-command-parser.c:781:1: enter_function: entry to ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:792:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:795:35: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:797:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-command-parser.c:799:14: call_function: inlined call to ‘argument_is_option’ from ‘ply_command_read_option’
plymouth-24.004.60/src/libply/ply-command-parser.c:802:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-command-parser.c:805:12: branch_true: following ‘true’ branch (when ‘option_separator’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-command-parser.c:806:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-command-parser.c:807:17: danger: ‘option_name’ leaks here; was allocated at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def548]
plymouth-24.004.60/src/libply/ply-event-loop.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
plymouth-24.004.60/src/libply/ply-event-loop.c:140:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:819:1: enter_function: entry to ‘ply_event_loop_watch_signal’
plymouth-24.004.60/src/libply/ply-event-loop.c:826:18: call_function: inlined call to ‘ply_signal_source_new’ from ‘ply_event_loop_watch_signal’
Error: CPPCHECK_WARNING (CWE-476): [#def550]
plymouth-24.004.60/src/libply/ply-event-loop.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: CPPCHECK_WARNING (CWE-476): [#def551]
plymouth-24.004.60/src/libply/ply-event-loop.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: CPPCHECK_WARNING (CWE-476): [#def552]
plymouth-24.004.60/src/libply/ply-event-loop.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-401): [#def553]
plymouth-24.004.60/src/libply/ply-event-loop.c:162:14: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
Error: CPPCHECK_WARNING (CWE-476): [#def554]
plymouth-24.004.60/src/libply/ply-event-loop.c:168: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dispatcher
Error: GCC_ANALYZER_WARNING (CWE-476): [#def555]
plymouth-24.004.60/src/libply/ply-event-loop.c:168:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dispatcher’
plymouth-24.004.60/src/libply/ply-event-loop.c:162:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:166:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:166:22: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-event-loop.c:168:9: danger: ‘dispatcher’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
plymouth-24.004.60/src/libply/ply-event-loop.c:168:31: warning[-Wanalyzer-malloc-leak]: leak of ‘dispatcher’
plymouth-24.004.60/src/libply/ply-event-loop.c:162:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:166:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:166:22: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:168:31: danger: ‘dispatcher’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
plymouth-24.004.60/src/libply/ply-event-loop.c:168:31: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
Error: CPPCHECK_WARNING (CWE-476): [#def558]
plymouth-24.004.60/src/libply/ply-event-loop.c:282: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destination
Error: CPPCHECK_WARNING (CWE-476): [#def559]
plymouth-24.004.60/src/libply/ply-event-loop.c:283: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destination
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
plymouth-24.004.60/src/libply/ply-event-loop.c:283:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination’
plymouth-24.004.60/src/libply/ply-event-loop.c:720:1: enter_function: entry to ‘ply_event_loop_watch_fd’
plymouth-24.004.60/src/libply/ply-event-loop.c:731:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:732:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:732:9: branch_true: following ‘true’ branch (when ‘fd >= 0’)...
plymouth-24.004.60/src/libply/ply-event-loop.c:733:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:733:9: branch_true: following ‘true’ branch (when ‘status <= 7’)...
plymouth-24.004.60/src/libply/ply-event-loop.c:734:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:734:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:736:18: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:736:18: call_function: calling ‘ply_event_loop_get_source_from_fd’ from ‘ply_event_loop_watch_fd’
plymouth-24.004.60/src/libply/ply-event-loop.c:736:18: return_function: returning to ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_get_source_from_fd’
plymouth-24.004.60/src/libply/ply-event-loop.c:739:23: call_function: inlined call to ‘ply_event_destination_new’ from ‘ply_event_loop_watch_fd’
Error: CPPCHECK_WARNING (CWE-476): [#def561]
plymouth-24.004.60/src/libply/ply-event-loop.c:284: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destination
Error: CPPCHECK_WARNING (CWE-476): [#def562]
plymouth-24.004.60/src/libply/ply-event-loop.c:285: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destination
Error: CPPCHECK_WARNING (CWE-476): [#def563]
plymouth-24.004.60/src/libply/ply-event-loop.c:286: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destination
Error: CPPCHECK_WARNING (CWE-476): [#def564]
plymouth-24.004.60/src/libply/ply-event-loop.c:306: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: watch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
plymouth-24.004.60/src/libply/ply-event-loop.c:306:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:413:1: enter_function: entry to ‘ply_event_loop_add_destination_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:420:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:421:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:421:9: branch_true: following ‘true’ branch (when ‘destination’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:422:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:422:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:423:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:423:9: branch_true: following ‘true’ branch (when ‘source’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:425:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:428:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:429:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:429:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: call_function: calling ‘ply_event_loop_update_source_event_mask’ from ‘ply_event_loop_add_destination_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: return_function: returning to ‘ply_event_loop_add_destination_for_source’ from ‘ply_event_loop_update_source_event_mask’
plymouth-24.004.60/src/libply/ply-event-loop.c:433:17: call_function: inlined call to ‘ply_fd_watch_new’ from ‘ply_event_loop_add_destination_for_source’
Error: CPPCHECK_WARNING (CWE-476): [#def566]
plymouth-24.004.60/src/libply/ply-event-loop.c:331: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-476): [#def567]
plymouth-24.004.60/src/libply/ply-event-loop.c:331:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:329:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-event-loop.c:331:9: danger: ‘source’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def568]
plymouth-24.004.60/src/libply/ply-event-loop.c:332: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
plymouth-24.004.60/src/libply/ply-event-loop.c:332:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
plymouth-24.004.60/src/libply/ply-event-loop.c:332:32: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
plymouth-24.004.60/src/libply/ply-event-loop.c:332:32: warning[-Wanalyzer-malloc-leak]: leak of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:329:18: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:332:32: danger: ‘source’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def572]
plymouth-24.004.60/src/libply/ply-event-loop.c:333: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
plymouth-24.004.60/src/libply/ply-event-loop.c:333:30: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
plymouth-24.004.60/src/libply/ply-event-loop.c:333:30: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
plymouth-24.004.60/src/libply/ply-event-loop.c:333:30: warning[-Wanalyzer-malloc-leak]: leak of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:329:18: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:333:30: danger: ‘source’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def576]
plymouth-24.004.60/src/libply/ply-event-loop.c:334: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: CPPCHECK_WARNING (CWE-476): [#def577]
plymouth-24.004.60/src/libply/ply-event-loop.c:335: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: CPPCHECK_WARNING (CWE-476): [#def578]
plymouth-24.004.60/src/libply/ply-event-loop.c:336: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: source
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
plymouth-24.004.60/src/libply/ply-event-loop.c:436:9: warning[-Wanalyzer-malloc-leak]: leak of ‘watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:413:1: enter_function: entry to ‘ply_event_loop_add_destination_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:420:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:421:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:421:9: branch_true: following ‘true’ branch (when ‘destination’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:422:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:422:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:423:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:423:9: branch_true: following ‘true’ branch (when ‘source’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:425:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:428:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:429:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:429:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: call_function: calling ‘ply_event_loop_update_source_event_mask’ from ‘ply_event_loop_add_destination_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:431:9: return_function: returning to ‘ply_event_loop_add_destination_for_source’ from ‘ply_event_loop_update_source_event_mask’
plymouth-24.004.60/src/libply/ply-event-loop.c:433:17: call_function: inlined call to ‘ply_fd_watch_new’ from ‘ply_event_loop_add_destination_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:436:9: danger: ‘watch’ leaks here; was allocated at [(24)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def580]
plymouth-24.004.60/src/libply/ply-event-loop.c:474:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:457:1: enter_function: entry to ‘ply_event_loop_remove_destination_by_fd_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:463:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:464:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:464:9: branch_true: following ‘true’ branch (when ‘watch’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:466:23: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:466:23: call_function: calling ‘ply_event_loop_get_destination_from_fd_watch’ from ‘ply_event_loop_remove_destination_by_fd_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:466:23: return_function: returning to ‘ply_event_loop_remove_destination_by_fd_watch’ from ‘ply_event_loop_get_destination_from_fd_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:470:9: branch_true: following ‘true’ branch (when ‘source’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:472:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:473:9: call_function: calling ‘ply_event_source_drop_reference’ from ‘ply_event_loop_remove_destination_by_fd_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:473:9: return_function: returning to ‘ply_event_loop_remove_destination_by_fd_watch’ from ‘ply_event_source_drop_reference’
plymouth-24.004.60/src/libply/ply-event-loop.c:474:9: danger: use after ‘free’ of ‘source’; freed at [(31)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/30)
Error: CPPCHECK_WARNING (CWE-476): [#def581]
plymouth-24.004.60/src/libply/ply-event-loop.c:485: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: GCC_ANALYZER_WARNING (CWE-476): [#def582]
plymouth-24.004.60/src/libply/ply-event-loop.c:485:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-event-loop.c:485:9: danger: ‘loop’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def583]
plymouth-24.004.60/src/libply/ply-event-loop.c:486: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def584]
plymouth-24.004.60/src/libply/ply-event-loop.c:488: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def585]
plymouth-24.004.60/src/libply/ply-event-loop.c:490: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def586]
plymouth-24.004.60/src/libply/ply-event-loop.c:491: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def587]
plymouth-24.004.60/src/libply/ply-event-loop.c:492: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def588]
plymouth-24.004.60/src/libply/ply-event-loop.c:494: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
plymouth-24.004.60/src/libply/ply-event-loop.c:494:25: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:494:25: danger: ‘loop’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def590]
plymouth-24.004.60/src/libply/ply-event-loop.c:495: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
plymouth-24.004.60/src/libply/ply-event-loop.c:495:31: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:495:31: danger: ‘loop’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def592]
plymouth-24.004.60/src/libply/ply-event-loop.c:496: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
plymouth-24.004.60/src/libply/ply-event-loop.c:496:33: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:496:33: danger: ‘loop’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def594]
plymouth-24.004.60/src/libply/ply-event-loop.c:498: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def595]
plymouth-24.004.60/src/libply/ply-event-loop.c:500: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: CPPCHECK_WARNING (CWE-476): [#def596]
plymouth-24.004.60/src/libply/ply-event-loop.c:512: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: loop
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
plymouth-24.004.60/src/libply/ply-event-loop.c:533:16: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
plymouth-24.004.60/src/libply/ply-event-loop.c:538:61: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
plymouth-24.004.60/src/libply/ply-event-loop.c:539:29: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
plymouth-24.004.60/src/libply/ply-event-loop.c:544:9: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
plymouth-24.004.60/src/libply/ply-event-loop.c:579:9: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
plymouth-24.004.60/src/libply/ply-event-loop.c:580:9: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
plymouth-24.004.60/src/libply/ply-event-loop.c:582:9: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:501:17: call_function: calling ‘ply_event_loop_free’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
plymouth-24.004.60/src/libply/ply-event-loop.c:592:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
plymouth-24.004.60/src/libply/ply-event-loop.c:592:16: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
plymouth-24.004.60/src/libply/ply-event-loop.c:596:49: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
plymouth-24.004.60/src/libply/ply-event-loop.c:596:49: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
plymouth-24.004.60/src/libply/ply-event-loop.c:601:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
plymouth-24.004.60/src/libply/ply-event-loop.c:601:24: warning[-Wanalyzer-malloc-leak]: leak of ‘loop’
plymouth-24.004.60/src/libply/ply-event-loop.c:479:1: enter_function: entry to ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:483:16: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:488:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:490:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: call_function: calling ‘ply_signal_dispatcher_new’ from ‘ply_event_loop_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:498:35: return_function: returning to ‘ply_event_loop_new’ from ‘ply_signal_dispatcher_new’
plymouth-24.004.60/src/libply/ply-event-loop.c:500:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:505:9: call_function: calling ‘ply_event_loop_watch_fd’ from ‘ply_event_loop_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
plymouth-24.004.60/src/libply/ply-event-loop.c:832:9: warning[-Wanalyzer-malloc-leak]: leak of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:819:1: enter_function: entry to ‘ply_event_loop_watch_signal’
plymouth-24.004.60/src/libply/ply-event-loop.c:826:18: call_function: inlined call to ‘ply_signal_source_new’ from ‘ply_event_loop_watch_signal’
plymouth-24.004.60/src/libply/ply-event-loop.c:832:9: danger: ‘source’ leaks here; was allocated at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def611]
plymouth-24.004.60/src/libply/ply-event-loop.c:876: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
plymouth-24.004.60/src/libply/ply-event-loop.c:876:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply/ply-event-loop.c:872:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:873:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:873:9: branch_true: following ‘true’ branch (when ‘exit_handler’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:875:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:875:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-event-loop.c:876:9: danger: ‘closure’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def613]
plymouth-24.004.60/src/libply/ply-event-loop.c:877: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
plymouth-24.004.60/src/libply/ply-event-loop.c:879:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply/ply-event-loop.c:872:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:873:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:873:9: branch_true: following ‘true’ branch (when ‘exit_handler’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:875:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:875:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:879:9: danger: ‘closure’ leaks here; was allocated at [(5)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def615]
plymouth-24.004.60/src/libply/ply-event-loop.c:920: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: timeout_watch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
plymouth-24.004.60/src/libply/ply-event-loop.c:920:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘timeout_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:915:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: following ‘true’ branch (when ‘timeout_handler’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: following ‘true’ branch (when ‘seconds > 0.0’)...
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-event-loop.c:920:9: danger: ‘timeout_watch’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
plymouth-24.004.60/src/libply/ply-event-loop.c:920:34: warning[-Wanalyzer-malloc-leak]: leak of ‘timeout_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:915:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: following ‘true’ branch (when ‘timeout_handler’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: following ‘true’ branch (when ‘seconds > 0.0’)...
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:920:34: danger: ‘timeout_watch’ leaks here; was allocated at [(7)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def618]
plymouth-24.004.60/src/libply/ply-event-loop.c:921: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: timeout_watch
Error: CPPCHECK_WARNING (CWE-476): [#def619]
plymouth-24.004.60/src/libply/ply-event-loop.c:922: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: timeout_watch
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
plymouth-24.004.60/src/libply/ply-event-loop.c:929:9: warning[-Wanalyzer-malloc-leak]: leak of ‘timeout_watch’
plymouth-24.004.60/src/libply/ply-event-loop.c:915:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:916:9: branch_true: following ‘true’ branch (when ‘timeout_handler’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:917:9: branch_true: following ‘true’ branch (when ‘seconds > 0.0’)...
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:919:25: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-event-loop.c:929:9: danger: ‘timeout_watch’ leaks here; was allocated at [(7)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def621]
plymouth-24.004.60/src/libply/ply-event-loop.c:1085:29: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1072:1: enter_function: entry to ‘ply_event_loop_free_watches_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1077:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1078:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1078:9: branch_true: following ‘true’ branch (when ‘source’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1080:16: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1081:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1085:29: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1089:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:1090:17: call_function: inlined call to ‘ply_fd_watch_free’ from ‘ply_event_loop_free_watches_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1092:17: call_function: calling ‘ply_event_source_drop_reference’ from ‘ply_event_loop_free_watches_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1092:17: return_function: returning to ‘ply_event_loop_free_watches_for_source’ from ‘ply_event_source_drop_reference’
plymouth-24.004.60/src/libply/ply-event-loop.c:1081:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1085:29: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1085:29: danger: use after ‘free’ of ‘source’; freed at [(23)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def622]
plymouth-24.004.60/src/libply/ply-event-loop.c:1136:29: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1123:1: enter_function: entry to ‘ply_event_loop_free_destinations_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1128:9: branch_true: following ‘true’ branch (when ‘loop’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1129:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1129:9: branch_true: following ‘true’ branch (when ‘source’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1131:16: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1132:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1136:29: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1141:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-event-loop.c:1142:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1148:17: call_function: calling ‘ply_event_source_drop_reference’ from ‘ply_event_loop_free_destinations_for_source’
plymouth-24.004.60/src/libply/ply-event-loop.c:1148:17: return_function: returning to ‘ply_event_loop_free_destinations_for_source’ from ‘ply_event_source_drop_reference’
plymouth-24.004.60/src/libply/ply-event-loop.c:1132:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-event-loop.c:1136:29: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-event-loop.c:1136:29: danger: use after ‘free’ of ‘source’; freed at [(22)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/21)
Error: CPPCHECK_WARNING (CWE-476): [#def623]
plymouth-24.004.60/src/libply/ply-hashtable.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: GCC_ANALYZER_WARNING (CWE-476): [#def624]
plymouth-24.004.60/src/libply/ply-hashtable.c:93:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hashtable’
plymouth-24.004.60/src/libply/ply-hashtable.c:92:21: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-hashtable.c:93:9: danger: ‘hashtable’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def625]
plymouth-24.004.60/src/libply/ply-hashtable.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def626]
plymouth-24.004.60/src/libply/ply-hashtable.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def627]
plymouth-24.004.60/src/libply/ply-hashtable.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def628]
plymouth-24.004.60/src/libply/ply-hashtable.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def629]
plymouth-24.004.60/src/libply/ply-hashtable.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def630]
plymouth-24.004.60/src/libply/ply-hashtable.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def631]
plymouth-24.004.60/src/libply/ply-hashtable.c:100: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def632]
plymouth-24.004.60/src/libply/ply-hashtable.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def633]
plymouth-24.004.60/src/libply/ply-hashtable.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def634]
plymouth-24.004.60/src/libply/ply-hashtable.c:155: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def635]
plymouth-24.004.60/src/libply/ply-hashtable.c:158: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def636]
plymouth-24.004.60/src/libply/ply-hashtable.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def637]
plymouth-24.004.60/src/libply/ply-hashtable.c:161: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def638]
plymouth-24.004.60/src/libply/ply-hashtable.c:162: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def639]
plymouth-24.004.60/src/libply/ply-hashtable.c:163: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def640]
plymouth-24.004.60/src/libply/ply-hashtable.c:164: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def641]
plymouth-24.004.60/src/libply/ply-hashtable.c:165: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def642]
plymouth-24.004.60/src/libply/ply-hashtable.c:166: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def643]
plymouth-24.004.60/src/libply/ply-hashtable.c:167: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def644]
plymouth-24.004.60/src/libply/ply-hashtable.c:168: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hashtable
Error: CPPCHECK_WARNING (CWE-476): [#def645]
plymouth-24.004.60/src/libply/ply-key-file.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_file
Error: GCC_ANALYZER_WARNING (CWE-476): [#def646]
plymouth-24.004.60/src/libply/ply-key-file.c:110:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key_file’
plymouth-24.004.60/src/libply/ply-key-file.c:106:9: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-key-file.c:108:20: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:108:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-key-file.c:110:9: danger: ‘key_file’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def647]
plymouth-24.004.60/src/libply/ply-key-file.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_file
Error: CPPCHECK_WARNING (CWE-476): [#def648]
plymouth-24.004.60/src/libply/ply-key-file.c:112: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: key_file
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
plymouth-24.004.60/src/libply/ply-key-file.c:112:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:106:9: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-key-file.c:108:20: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:110:30: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:112:28: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
plymouth-24.004.60/src/libply/ply-key-file.c:112:28: warning[-Wanalyzer-malloc-leak]: leak of ‘key_file’
plymouth-24.004.60/src/libply/ply-key-file.c:106:9: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-key-file.c:108:20: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:108:20: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:112:28: danger: ‘key_file’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def651]
plymouth-24.004.60/src/libply/ply-key-file.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: group
Error: GCC_ANALYZER_WARNING (CWE-476): [#def652]
plymouth-24.004.60/src/libply/ply-key-file.c:171:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-key-file.c:171:9: danger: ‘group’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def653]
plymouth-24.004.60/src/libply/ply-key-file.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: group
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
plymouth-24.004.60/src/libply/ply-key-file.c:172:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:172:26: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
plymouth-24.004.60/src/libply/ply-key-file.c:172:26: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:172:26: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
plymouth-24.004.60/src/libply/ply-key-file.c:174:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:174:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
plymouth-24.004.60/src/libply/ply-key-file.c:174:9: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:174:9: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
plymouth-24.004.60/src/libply/ply-key-file.c:186:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:186:38: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
plymouth-24.004.60/src/libply/ply-key-file.c:186:38: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:186:38: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def660]
plymouth-24.004.60/src/libply/ply-key-file.c: scope_hint: In function ‘ply_key_file_load_group’
plymouth-24.004.60/src/libply/ply-key-file.c:196:25: warning[-Wunused-result]: ignoring return value of ‘getline’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
plymouth-24.004.60/src/libply/ply-key-file.c:202:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:202:17: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
plymouth-24.004.60/src/libply/ply-key-file.c:202:17: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:202:17: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
plymouth-24.004.60/src/libply/ply-key-file.c:204:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:204:26: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
plymouth-24.004.60/src/libply/ply-key-file.c:204:26: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:204:26: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:208:28: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:208:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:208:28: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:208:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:209:33: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def667]
plymouth-24.004.60/src/libply/ply-key-file.c:218: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
plymouth-24.004.60/src/libply/ply-key-file.c:218:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-key-file.c:218:17: danger: ‘entry’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def669]
plymouth-24.004.60/src/libply/ply-key-file.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: CPPCHECK_WARNING (CWE-476): [#def670]
plymouth-24.004.60/src/libply/ply-key-file.c:221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-key-file.c:171:23: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
plymouth-24.004.60/src/libply/ply-key-file.c:170:17: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-key-file.c:207:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:216:25: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:221:17: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def674]
plymouth-24.004.60/src/libply/ply-key-file.c: scope_hint: In function ‘ply_key_file_load_groups’
plymouth-24.004.60/src/libply/ply-key-file.c:248:25: warning[-Wunused-result]: ignoring return value of ‘getline’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
plymouth-24.004.60/src/libply/ply-key-file.c:282:1: warning[-Wanalyzer-malloc-leak]: leak of ‘*<unknown>.name’
plymouth-24.004.60/src/libply/ply-key-file.c:228:1: enter_function: entry to ‘ply_key_file_load_groups’
plymouth-24.004.60/src/libply/ply-key-file.c:260:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:266:17: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:266:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: call_function: calling ‘ply_key_file_load_group’ from ‘ply_key_file_load_groups’
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: return_function: returning to ‘ply_key_file_load_groups’ from ‘ply_key_file_load_group’
plymouth-24.004.60/src/libply/ply-key-file.c:282:1: danger: ‘*<unknown>.name’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
plymouth-24.004.60/src/libply/ply-key-file.c:282:1: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_key_file_load_group(key_file, group_name)’
plymouth-24.004.60/src/libply/ply-key-file.c:228:1: enter_function: entry to ‘ply_key_file_load_groups’
plymouth-24.004.60/src/libply/ply-key-file.c:260:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:266:17: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:266:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: call_function: calling ‘ply_key_file_load_group’ from ‘ply_key_file_load_groups’
plymouth-24.004.60/src/libply/ply-key-file.c:267:25: return_function: returning to ‘ply_key_file_load_groups’ from ‘ply_key_file_load_group’
plymouth-24.004.60/src/libply/ply-key-file.c:282:1: danger: ‘ply_key_file_load_group(key_file, group_name)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def677]
plymouth-24.004.60/src/libply/ply-list.c:53: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: CPPCHECK_WARNING (CWE-476): [#def678]
plymouth-24.004.60/src/libply/ply-list.c:54: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: CPPCHECK_WARNING (CWE-476): [#def679]
plymouth-24.004.60/src/libply/ply-list.c:55: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: CPPCHECK_WARNING (CWE-476): [#def680]
plymouth-24.004.60/src/libply/ply-list.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: node
Error: COMPILER_WARNING (CWE-252): [#def681]
plymouth-24.004.60/src/libply/ply-logger.c: scope_hint: In function ‘ply_logger_write_exception’
plymouth-24.004.60/src/libply/ply-logger.c:113:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def682]
plymouth-24.004.60/src/libply/ply-logger.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def683]
plymouth-24.004.60/src/libply/ply-logger.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def684]
plymouth-24.004.60/src/libply/ply-logger.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def685]
plymouth-24.004.60/src/libply/ply-logger.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def686]
plymouth-24.004.60/src/libply/ply-logger.c:235: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def687]
plymouth-24.004.60/src/libply/ply-logger.c:237: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def688]
plymouth-24.004.60/src/libply/ply-logger.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def689]
plymouth-24.004.60/src/libply/ply-logger.c:239: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def690]
plymouth-24.004.60/src/libply/ply-logger.c:241: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logger
Error: CPPCHECK_WARNING (CWE-476): [#def691]
plymouth-24.004.60/src/libply/ply-logger.c:563: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: filter
Error: GCC_ANALYZER_WARNING (CWE-476): [#def692]
plymouth-24.004.60/src/libply/ply-logger.c:563:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘filter’
plymouth-24.004.60/src/libply/ply-logger.c:561:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-logger.c:563:9: danger: ‘filter’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def693]
plymouth-24.004.60/src/libply/ply-logger.c:564: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: filter
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
plymouth-24.004.60/src/libply/ply-logger.c:566:9: warning[-Wanalyzer-malloc-leak]: leak of ‘filter’
plymouth-24.004.60/src/libply/ply-logger.c:561:18: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-logger.c:566:9: danger: ‘filter’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def695]
plymouth-24.004.60/src/libply/ply-progress.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-476): [#def696]
plymouth-24.004.60/src/libply/ply-progress.c:79:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘progress’
plymouth-24.004.60/src/libply/ply-progress.c:77:36: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-progress.c:79:9: danger: ‘progress’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def697]
plymouth-24.004.60/src/libply/ply-progress.c:79:32: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/libply/ply-progress.c:77:36: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:79:32: danger: ‘progress’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def698]
plymouth-24.004.60/src/libply/ply-progress.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def699]
plymouth-24.004.60/src/libply/ply-progress.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def700]
plymouth-24.004.60/src/libply/ply-progress.c:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def701]
plymouth-24.004.60/src/libply/ply-progress.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def702]
plymouth-24.004.60/src/libply/ply-progress.c:84: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def703]
plymouth-24.004.60/src/libply/ply-progress.c:85: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def704]
plymouth-24.004.60/src/libply/ply-progress.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def705]
plymouth-24.004.60/src/libply/ply-progress.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
plymouth-24.004.60/src/libply/ply-progress.c:87:42: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/libply/ply-progress.c:77:36: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:87:42: danger: ‘progress’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def707]
plymouth-24.004.60/src/libply/ply-progress.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
plymouth-24.004.60/src/libply/ply-progress.c:88:43: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/libply/ply-progress.c:77:36: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:88:43: danger: ‘progress’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def709]
plymouth-24.004.60/src/libply/ply-progress.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-401): [#def710]
plymouth-24.004.60/src/libply/ply-progress.c:191: error[memleakOnRealloc]: Common realloc mistake: 'string' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-476): [#def711]
plymouth-24.004.60/src/libply/ply-progress.c:201: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: message
Error: GCC_ANALYZER_WARNING (CWE-476): [#def712]
plymouth-24.004.60/src/libply/ply-progress.c:201:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘message’
plymouth-24.004.60/src/libply/ply-progress.c:171:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:183:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:184:33: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:185:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:189:28: branch_false: following ‘false’ branch (when ‘string_size > i’)...
plymouth-24.004.60/src/libply/ply-progress.c:193:41: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:194:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:195:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:200:51: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-progress.c:201:17: danger: ‘message’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def713]
plymouth-24.004.60/src/libply/ply-progress.c:202: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: message
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
plymouth-24.004.60/src/libply/ply-progress.c:203:17: warning[-Wanalyzer-malloc-leak]: leak of ‘message’
plymouth-24.004.60/src/libply/ply-progress.c:171:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:183:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:184:33: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:185:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:189:28: branch_false: following ‘false’ branch (when ‘string_size > i’)...
plymouth-24.004.60/src/libply/ply-progress.c:193:41: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:194:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:195:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:200:51: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:203:17: danger: ‘message’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def715]
plymouth-24.004.60/src/libply/ply-progress.c:224:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:224:16: danger: ‘fopen(filename, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
plymouth-24.004.60/src/libply/ply-progress.c:224:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:224:16: danger: ‘fopen(filename, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def717]
plymouth-24.004.60/src/libply/ply-progress.c:227:51: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:226:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-progress.c:227:51: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:227:51: danger: ‘fopen(filename, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
plymouth-24.004.60/src/libply/ply-progress.c:227:51: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:226:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-progress.c:227:51: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:227:51: danger: ‘fopen(filename, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def719]
plymouth-24.004.60/src/libply/ply-progress.c:231:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:226:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-progress.c:227:51: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:231:24: danger: ‘fopen(filename, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
plymouth-24.004.60/src/libply/ply-progress.c:231:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "w")’
plymouth-24.004.60/src/libply/ply-progress.c:218:14: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:219:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:224:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:226:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-progress.c:227:51: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:231:24: danger: ‘fopen(filename, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
plymouth-24.004.60/src/libply/ply-progress.c:279:16: warning[-Wanalyzer-malloc-leak]: leak of ‘message’
plymouth-24.004.60/src/libply/ply-progress.c:300:1: enter_function: entry to ‘ply_progress_status_update’
plymouth-24.004.60/src/libply/ply-progress.c:306:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:310:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:311:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:321:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:321:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:322:33: call_function: calling ‘ply_progress_get_time’ from ‘ply_progress_status_update’
Error: CPPCHECK_WARNING (CWE-476): [#def722]
plymouth-24.004.60/src/libply/ply-progress.c:322: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: message
Error: GCC_ANALYZER_WARNING (CWE-476): [#def723]
plymouth-24.004.60/src/libply/ply-progress.c:322:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘message’
plymouth-24.004.60/src/libply/ply-progress.c:306:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:310:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:311:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:321:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:321:27: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-progress.c:322:17: danger: ‘message’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def724]
plymouth-24.004.60/src/libply/ply-progress.c:323: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: message
Error: CPPCHECK_WARNING (CWE-476): [#def725]
plymouth-24.004.60/src/libply/ply-progress.c:324: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: message
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
plymouth-24.004.60/src/libply/ply-progress.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/libply/ply-progress.c:306:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:310:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:311:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:321:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:323:35: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:325:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
plymouth-24.004.60/src/libply/ply-progress.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘message’
plymouth-24.004.60/src/libply/ply-progress.c:306:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:310:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:311:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-progress.c:321:27: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-progress.c:321:27: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-progress.c:325:17: danger: ‘message’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def728]
plymouth-24.004.60/src/libply/ply-region.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: region
Error: CPPCHECK_WARNING (CWE-476): [#def729]
plymouth-24.004.60/src/libply/ply-region.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_rectangle
Error: GCC_ANALYZER_WARNING (CWE-476): [#def730]
plymouth-24.004.60/src/libply/ply-region.c:86:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:434:26: call_function: calling ‘copy_rectangle’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def731]
plymouth-24.004.60/src/libply/ply-region.c:141:25: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(new_area)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
plymouth-24.004.60/src/libply/ply-region.c:162:25: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(new_area)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
plymouth-24.004.60/src/libply/ply-region.c:206:25: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(new_area)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
plymouth-24.004.60/src/libply/ply-region.c:229:25: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(new_area)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
plymouth-24.004.60/src/libply/ply-region.c:304:25: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(new_area)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
plymouth-24.004.60/src/libply/ply-region.c:438:1: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_rectangle(rectangle)’
plymouth-24.004.60/src/libply/ply-region.c:423:1: enter_function: entry to ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:429:9: branch_true: following ‘true’ branch (when ‘region’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:430:9: branch_true: following ‘true’ branch (when ‘rectangle’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-region.c:432:22: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-region.c:434:26: call_function: calling ‘copy_rectangle’ from ‘ply_region_add_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:434:26: return_function: returning to ‘ply_region_add_rectangle’ from ‘copy_rectangle’
plymouth-24.004.60/src/libply/ply-region.c:435:9: call_function: calling ‘merge_rectangle_with_sub_list’ from ‘ply_region_add_rectangle’
Error: CPPCHECK_WARNING (CWE-476): [#def737]
plymouth-24.004.60/src/libply/ply-terminal-session.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: GCC_ANALYZER_WARNING (CWE-476): [#def738]
plymouth-24.004.60/src/libply/ply-terminal-session.c:72:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘session’
plymouth-24.004.60/src/libply/ply-terminal-session.c:71:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-terminal-session.c:72:9: danger: ‘session’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def739]
plymouth-24.004.60/src/libply/ply-terminal-session.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:47: warning[-Wanalyzer-malloc-leak]: leak of ‘session’
plymouth-24.004.60/src/libply/ply-terminal-session.c:69:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-terminal-session.c:71:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-terminal-session.c:71:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:25: branch_true: following ‘true’ branch (when ‘argv’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:47: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:47: danger: ‘session’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def741]
plymouth-24.004.60/src/libply/ply-terminal-session.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
plymouth-24.004.60/src/libply/ply-terminal-session.c:74:27: warning[-Wanalyzer-malloc-leak]: leak of ‘session’
plymouth-24.004.60/src/libply/ply-terminal-session.c:71:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:25: branch_false: following ‘false’ branch (when ‘argv’ is NULL)...
plymouth-24.004.60/src/libply/ply-terminal-session.c:73:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-terminal-session.c:74:27: danger: ‘session’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def743]
plymouth-24.004.60/src/libply/ply-terminal-session.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: CPPCHECK_WARNING (CWE-476): [#def744]
plymouth-24.004.60/src/libply/ply-terminal-session.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: CPPCHECK_WARNING (CWE-476): [#def745]
plymouth-24.004.60/src/libply/ply-trigger.c:65: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: trigger
Error: GCC_ANALYZER_WARNING (CWE-476): [#def746]
plymouth-24.004.60/src/libply/ply-trigger.c:65:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘trigger’
plymouth-24.004.60/src/libply/ply-trigger.c:64:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-trigger.c:65:9: danger: ‘trigger’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def747]
plymouth-24.004.60/src/libply/ply-trigger.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: trigger
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
plymouth-24.004.60/src/libply/ply-trigger.c:66:29: warning[-Wanalyzer-malloc-leak]: leak of ‘trigger’
plymouth-24.004.60/src/libply/ply-trigger.c:64:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-trigger.c:66:29: danger: ‘trigger’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def749]
plymouth-24.004.60/src/libply/ply-trigger.c:67: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: trigger
Error: CPPCHECK_WARNING (CWE-476): [#def750]
plymouth-24.004.60/src/libply/ply-trigger.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
plymouth-24.004.60/src/libply/ply-trigger.c:126:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply/ply-trigger.c:125:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-trigger.c:126:9: danger: ‘closure’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def752]
plymouth-24.004.60/src/libply/ply-trigger.c:127: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: CPPCHECK_WARNING (CWE-476): [#def753]
plymouth-24.004.60/src/libply/ply-trigger.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
plymouth-24.004.60/src/libply/ply-trigger.c:130:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply/ply-trigger.c:125:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-trigger.c:130:9: danger: ‘closure’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def755]
plymouth-24.004.60/src/libply/ply-trigger.c:169: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: CPPCHECK_WARNING (CWE-476): [#def756]
plymouth-24.004.60/src/libply/ply-trigger.c:170: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: CPPCHECK_WARNING (CWE-476): [#def757]
plymouth-24.004.60/src/libply/ply-trigger.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: closure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def758]
plymouth-24.004.60/src/libply/ply-trigger.c:171:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘closure’
plymouth-24.004.60/src/libply/ply-trigger.c:168:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-trigger.c:171:9: danger: ‘closure’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def759]
plymouth-24.004.60/src/libply/ply-trigger.c:173:9: warning[-Wanalyzer-malloc-leak]: leak of ‘closure’
plymouth-24.004.60/src/libply/ply-trigger.c:168:19: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-trigger.c:173:9: danger: ‘closure’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def760]
plymouth-24.004.60/src/libply/ply-utils.c:147: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: address
Error: GCC_ANALYZER_WARNING (CWE-476): [#def761]
plymouth-24.004.60/src/libply/ply-utils.c:147:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘address’
plymouth-24.004.60/src/libply/ply-utils.c:143:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:144:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:146:19: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:146:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:147:9: danger: ‘address’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
plymouth-24.004.60/src/libply/ply-utils.c:195:13: warning[-Wanalyzer-malloc-leak]: leak of ‘create_unix_address_from_path(path, type, & address_size)’
plymouth-24.004.60/src/libply/ply-utils.c:178:1: enter_function: entry to ‘ply_connect_to_unix_socket’
plymouth-24.004.60/src/libply/ply-utils.c:185:9: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-utils.c:186:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:186:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:188:14: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:188:14: call_function: calling ‘ply_open_unix_socket’ from ‘ply_connect_to_unix_socket’
plymouth-24.004.60/src/libply/ply-utils.c:188:14: return_function: returning to ‘ply_connect_to_unix_socket’ from ‘ply_open_unix_socket’
plymouth-24.004.60/src/libply/ply-utils.c:190:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:193:19: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:193:19: call_function: calling ‘create_unix_address_from_path’ from ‘ply_connect_to_unix_socket’
plymouth-24.004.60/src/libply/ply-utils.c:193:19: return_function: returning to ‘ply_connect_to_unix_socket’ from ‘create_unix_address_from_path’
plymouth-24.004.60/src/libply/ply-utils.c:195:13: danger: ‘create_unix_address_from_path(path, type, & address_size)’ leaks here; was allocated at [(20)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/19)
Error: CPPCHECK_WARNING (CWE-476): [#def763]
plymouth-24.004.60/src/libply/ply-utils.c:448: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: copy
Error: GCC_ANALYZER_WARNING (CWE-476): [#def764]
plymouth-24.004.60/src/libply/ply-utils.c:448:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copy’
plymouth-24.004.60/src/libply/ply-utils.c:445:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:447:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:448:21: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:448:17: danger: ‘copy + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def765]
plymouth-24.004.60/src/libply/ply-utils.c:650: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: parent_directory
Error: GCC_ANALYZER_WARNING (CWE-688): [#def766]
plymouth-24.004.60/src/libply/ply-utils.c:650:47: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘parent_directory’ where non-null expected
plymouth-24.004.60/src/libply/ply-utils.c:628:9: branch_true: following ‘true’ branch (when ‘directory’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-utils.c:629:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:629:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:631:13: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:631:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:636:13: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:636:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:642:13: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:642:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:647:30: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:648:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:649:44: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:649:44: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:650:47: danger: argument 1 (‘parent_directory’) from [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
plymouth-24.004.60/src/libply/ply-utils.c:653:25: warning[-Wanalyzer-malloc-leak]: leak of ‘parent_directory’
plymouth-24.004.60/src/libply/ply-utils.c:628:9: branch_true: following ‘true’ branch (when ‘directory’ is non-NULL)...
plymouth-24.004.60/src/libply/ply-utils.c:629:9: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:629:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:631:13: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:631:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:636:13: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:636:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:642:13: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:642:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:647:30: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:648:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:649:44: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:649:44: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-utils.c:653:25: danger: ‘parent_directory’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def768]
plymouth-24.004.60/src/libply/ply-utils.c:698:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:698:17: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def769]
plymouth-24.004.60/src/libply/ply-utils.c:698:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sender_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:698:17: danger: ‘sender_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def770]
plymouth-24.004.60/src/libply/ply-utils.c:704:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:700:22: call_function: calling ‘ply_read’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:700:22: return_function: returning to ‘ply_create_daemon’ from ‘ply_read’
plymouth-24.004.60/src/libply/ply-utils.c:700:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:701:42: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:704:29: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def771]
plymouth-24.004.60/src/libply/ply-utils.c:705:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:700:22: call_function: calling ‘ply_read’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:700:22: return_function: returning to ‘ply_create_daemon’ from ‘ply_read’
plymouth-24.004.60/src/libply/ply-utils.c:700:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:701:42: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:704:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:705:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:705:33: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def772]
plymouth-24.004.60/src/libply/ply-utils.c:707:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:700:22: call_function: calling ‘ply_read’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:700:22: return_function: returning to ‘ply_create_daemon’ from ‘ply_read’
plymouth-24.004.60/src/libply/ply-utils.c:700:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:701:42: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:704:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:706:34: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:706:33: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:707:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:707:33: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def773]
plymouth-24.004.60/src/libply/ply-utils.c:709:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_true: following ‘true’ branch (when ‘pid != 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:698:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:700:22: call_function: calling ‘ply_read’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:700:22: return_function: returning to ‘ply_create_daemon’ from ‘ply_read’
plymouth-24.004.60/src/libply/ply-utils.c:700:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:701:42: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:704:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:706:34: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:706:33: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:708:34: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:708:33: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:709:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:709:33: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def774]
plymouth-24.004.60/src/libply/ply-utils.c:715:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘receiver_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:715:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:715:9: danger: ‘receiver_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def775]
plymouth-24.004.60/src/libply/ply-utils.c:715:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sender_fd’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:715:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:715:9: danger: ‘sender_fd’ leaks here
Error: CPPCHECK_WARNING (CWE-476): [#def776]
plymouth-24.004.60/src/libply/ply-utils.c:718: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: handle
Error: GCC_ANALYZER_WARNING (CWE-476): [#def777]
plymouth-24.004.60/src/libply/ply-utils.c:718:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handle’
plymouth-24.004.60/src/libply/ply-utils.c:681:1: enter_function: entry to ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: call_function: calling ‘ply_open_unidirectional_pipe’ from ‘ply_create_daemon’
plymouth-24.004.60/src/libply/ply-utils.c:687:14: return_function: returning to ‘ply_create_daemon’ from ‘ply_open_unidirectional_pipe’
plymouth-24.004.60/src/libply/ply-utils.c:687:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:691:15: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:693:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:696:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
plymouth-24.004.60/src/libply/ply-utils.c:715:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:717:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:718:9: danger: ‘handle’ could be NULL: unchecked value from [(18)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def778]
plymouth-24.004.60/src/libply/ply-utils.c:801:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘size’
branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:801:16: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:801:16: danger: use of uninitialized value ‘size’ here
Error: COMPILER_WARNING (CWE-457): [#def779]
plymouth-24.004.60/src/libply/ply-utils.c: scope_hint: In function ‘ply_utf8_character_get_size_from_byte_type’
plymouth-24.004.60/src/libply/ply-utils.c:801:16: warning[-Wmaybe-uninitialized]: ‘size’ may be used uninitialized
plymouth-24.004.60/src/libply/ply-utils.c:780:16: note: ‘size’ was declared here
Error: COMPILER_WARNING (CWE-252): [#def780]
plymouth-24.004.60/src/libply/ply-utils.c: scope_hint: In function ‘ply_get_process_command_line’
plymouth-24.004.60/src/libply/ply-utils.c:936:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def781]
plymouth-24.004.60/src/libply/ply-utils.c:948:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply/ply-utils.c:938:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:948:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:948:17: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
plymouth-24.004.60/src/libply/ply-utils.c:948:17: warning[-Wanalyzer-malloc-leak]: leak of ‘command_line’
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:945:24: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:948:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:948:17: danger: ‘command_line’ leaks here; was allocated at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def783]
plymouth-24.004.60/src/libply/ply-utils.c:949:17: warning[-Wanalyzer-malloc-leak]: leak of ‘command_line’
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:945:24: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:948:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:949:17: danger: ‘command_line’ leaks here; was allocated at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def784]
plymouth-24.004.60/src/libply/ply-utils.c:950:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply/ply-utils.c:938:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:948:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:950:17: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
plymouth-24.004.60/src/libply/ply-utils.c:952:9: warning[-Wanalyzer-malloc-leak]: leak of ‘command_line’
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:945:24: acquire_memory: allocated here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:952:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:952:9: danger: ‘command_line’ leaks here; was allocated at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def786]
plymouth-24.004.60/src/libply/ply-utils.c:953:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
plymouth-24.004.60/src/libply/ply-utils.c:938:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:952:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:953:9: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def787]
plymouth-24.004.60/src/libply/ply-utils.c:956:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command_line’
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:945:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:952:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:955:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:956:33: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:956:21: danger: ‘command_line + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def788]
plymouth-24.004.60/src/libply/ply-utils.c:959:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command_line’
plymouth-24.004.60/src/libply/ply-utils.c:940:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:945:24: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:945:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/libply/ply-utils.c:947:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:952:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:955:21: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:959:21: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:959:9: danger: ‘command_line + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def789]
plymouth-24.004.60/src/libply/ply-utils.c: scope_hint: In function ‘ply_get_process_parent_pid’
plymouth-24.004.60/src/libply/ply-utils.c:976:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def790]
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/sys/kernel/printk", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1119:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1121:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: danger: ‘open("/proc/sys/kernel/printk", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def791]
plymouth-24.004.60/src/libply/ply-utils.c:1128:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/sys/kernel/printk", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1119:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1121:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1127:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1128:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1128:17: danger: ‘open("/proc/sys/kernel/printk", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def792]
plymouth-24.004.60/src/libply/ply-utils.c:1129:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/sys/kernel/printk", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1119:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1121:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1127:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1128:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1129:17: danger: ‘open("/proc/sys/kernel/printk", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def793]
plymouth-24.004.60/src/libply/ply-utils.c:1134:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/sys/kernel/printk", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1119:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1121:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1126:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1127:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1132:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1134:17: danger: ‘open("/proc/sys/kernel/printk", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def794]
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1202:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1205:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1206:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1208:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: danger: ‘open("/proc/cmdline", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def795]
plymouth-24.004.60/src/libply/ply-utils.c:1215:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1202:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1205:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1206:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1208:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1214:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1215:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1215:17: danger: ‘open("/proc/cmdline", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def796]
plymouth-24.004.60/src/libply/ply-utils.c:1216:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1202:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1205:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1206:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1208:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1214:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1215:17: branch_true: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1216:17: danger: ‘open("/proc/cmdline", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/79/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def797]
plymouth-24.004.60/src/libply/ply-utils.c:1232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1202:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1205:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1206:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1208:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1214:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1224:16: branch_false: following ‘false’ branch (when ‘key’ is NULL)...
plymouth-24.004.60/src/libply/ply-utils.c:1232:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1232:9: danger: ‘open("/proc/cmdline", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/80/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def798]
plymouth-24.004.60/src/libply/ply-utils.c:1236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1202:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1205:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1206:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1208:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/libply/ply-utils.c:1213:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1214:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1224:16: branch_false: following ‘false’ branch (when ‘key’ is NULL)...
plymouth-24.004.60/src/libply/ply-utils.c:1232:9: branch_false: ...to here
plymouth-24.004.60/src/libply/ply-utils.c:1236:9: danger: ‘open("/proc/cmdline", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/88/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING: [#def799]
plymouth-24.004.60/src/libply/ply-utils.c:1339:15: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(filename, 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1338:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1339:15: danger: ‘open(filename, 0)’ could be invalid: unchecked value from [(1)](sarif:/runs/0/results/89/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def800]
plymouth-24.004.60/src/libply/ply-utils.c:1347:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
plymouth-24.004.60/src/libply/ply-utils.c:1338:14: acquire_resource: opened here
plymouth-24.004.60/src/libply/ply-utils.c:1347:12: danger: ‘open(filename, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/90/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def801]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘get_theme_path’
plymouth-24.004.60/src/main.c:290:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def802]
plymouth-24.004.60/src/main.c:571: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def803]
plymouth-24.004.60/src/main.c:572: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def804]
plymouth-24.004.60/src/main.c:573: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def805]
plymouth-24.004.60/src/main.c:587: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def806]
plymouth-24.004.60/src/main.c:588: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def807]
plymouth-24.004.60/src/main.c:589: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def808]
plymouth-24.004.60/src/main.c:644: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keystroke_trigger
Error: CPPCHECK_WARNING (CWE-476): [#def809]
plymouth-24.004.60/src/main.c:645: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keystroke_trigger
Error: COMPILER_WARNING (CWE-252): [#def810]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘on_newroot’
plymouth-24.004.60/src/main.c:700:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def811]
plymouth-24.004.60/src/main.c:701:9: warning[-Wunused-result]: ignoring return value of ‘chroot’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def812]
plymouth-24.004.60/src/main.c:702:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def813]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘check_verbosity’
plymouth-24.004.60/src/main.c:2015:33: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def814]
plymouth-24.004.60/src/main.c:2017:30: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
plymouth-24.004.60/src/main.c:1992:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2008:25: branch_false: ...to here
plymouth-24.004.60/src/main.c:2012:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2013:40: branch_true: ...to here
plymouth-24.004.60/src/main.c:2013:40: acquire_memory: allocated here
plymouth-24.004.60/src/main.c:2017:30: danger: ‘file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def815]
plymouth-24.004.60/src/main.c:2017:30: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file’ where non-null expected
plymouth-24.004.60/src/main.c:1992:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2008:25: branch_false: ...to here
plymouth-24.004.60/src/main.c:2012:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2013:40: branch_true: ...to here
plymouth-24.004.60/src/main.c:2013:40: acquire_memory: this call could return NULL
plymouth-24.004.60/src/main.c:2017:30: danger: argument 1 (‘file’) from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def816]
plymouth-24.004.60/src/main.c:2020:33: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
plymouth-24.004.60/src/main.c:1992:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2008:25: branch_false: ...to here
plymouth-24.004.60/src/main.c:2012:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2013:40: branch_true: ...to here
plymouth-24.004.60/src/main.c:2013:40: acquire_memory: allocated here
plymouth-24.004.60/src/main.c:2019:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2020:33: branch_true: ...to here
plymouth-24.004.60/src/main.c:2020:33: danger: ‘file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def817]
plymouth-24.004.60/src/main.c:2022:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 1026)’
plymouth-24.004.60/src/main.c:1992:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2008:25: branch_false: ...to here
plymouth-24.004.60/src/main.c:2012:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2015:33: branch_false: ...to here
plymouth-24.004.60/src/main.c:2017:30: acquire_resource: opened here
plymouth-24.004.60/src/main.c:2019:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2022:33: branch_false: ...to here
plymouth-24.004.60/src/main.c:2022:33: danger: ‘open(file, 1026)’ leaks here; was opened at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def818]
plymouth-24.004.60/src/main.c:2022:33: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
plymouth-24.004.60/src/main.c:1992:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2008:25: branch_false: ...to here
plymouth-24.004.60/src/main.c:2012:28: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2013:40: branch_true: ...to here
plymouth-24.004.60/src/main.c:2013:40: acquire_memory: allocated here
plymouth-24.004.60/src/main.c:2019:28: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2022:33: branch_false: ...to here
plymouth-24.004.60/src/main.c:2022:33: danger: ‘file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def819]
plymouth-24.004.60/src/main.c:2080:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1026)’
plymouth-24.004.60/src/main.c:2071:14: acquire_resource: opened here
plymouth-24.004.60/src/main.c:2073:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2076:9: branch_false: ...to here
plymouth-24.004.60/src/main.c:2080:9: danger: ‘open("/dev/null", 1026)’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def820]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘write_maps’
plymouth-24.004.60/src/main.c:2196:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def821]
plymouth-24.004.60/src/main.c:2208:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/maps", 0)’
plymouth-24.004.60/src/main.c:2197:14: acquire_resource: opened here
plymouth-24.004.60/src/main.c:2199:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/main.c:2202:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2203:17: branch_true: ...to here
plymouth-24.004.60/src/main.c:2206:46: branch_true: following ‘true’ branch (when ‘i < bytes_read’)...
plymouth-24.004.60/src/main.c:2207:29: branch_true: ...to here
plymouth-24.004.60/src/main.c:2208:33: danger: ‘open("/proc/self/maps", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def822]
plymouth-24.004.60/src/main.c:2208:33: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def823]
plymouth-24.004.60/src/main.c:2223:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/maps", 0)’
plymouth-24.004.60/src/main.c:2197:14: acquire_resource: opened here
plymouth-24.004.60/src/main.c:2199:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/main.c:2202:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2203:17: branch_true: ...to here
plymouth-24.004.60/src/main.c:2206:46: branch_true: following ‘true’ branch (when ‘i < bytes_read’)...
plymouth-24.004.60/src/main.c:2207:29: branch_true: ...to here
plymouth-24.004.60/src/main.c:2222:12: branch_true: following ‘true’ branch (when ‘buffer_end > 0’)...
plymouth-24.004.60/src/main.c:2223:17: branch_true: ...to here
plymouth-24.004.60/src/main.c:2223:17: danger: ‘open("/proc/self/maps", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def824]
plymouth-24.004.60/src/main.c:2223:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def825]
plymouth-24.004.60/src/main.c:2227:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/self/maps", 0)’
plymouth-24.004.60/src/main.c:2197:14: acquire_resource: opened here
plymouth-24.004.60/src/main.c:2199:12: branch_false: following ‘false’ branch...
branch_false: ...to here
plymouth-24.004.60/src/main.c:2222:12: branch_false: following ‘false’ branch (when ‘buffer_end <= 0’)...
plymouth-24.004.60/src/main.c:2226:9: branch_false: ...to here
plymouth-24.004.60/src/main.c:2227:1: danger: ‘open("/proc/self/maps", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def826]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘write_backtrace’
plymouth-24.004.60/src/main.c:2235:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def827]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘on_crash’
plymouth-24.004.60/src/main.c:2263:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def828]
plymouth-24.004.60/src/main.c:2284:17: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
plymouth-24.004.60/src/main.c:2344:1: enter_function: entry to ‘main’
plymouth-24.004.60/src/main.c:2386:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2397:9: branch_true: ...to here
plymouth-24.004.60/src/main.c:2413:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2427:13: branch_false: ...to here
plymouth-24.004.60/src/main.c:2455:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2460:9: branch_false: ...to here
plymouth-24.004.60/src/main.c:2247:1: enter_function: entry to ‘on_crash’
plymouth-24.004.60/src/main.c:2260:12: branch_false: following ‘false’ branch (when ‘fd < 0’)...
plymouth-24.004.60/src/main.c:2277:13: branch_false: ...to here
plymouth-24.004.60/src/main.c:2277:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/main.c:2282:13: branch_false: ...to here
plymouth-24.004.60/src/main.c:2282:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/main.c:2283:17: branch_true: ...to here
plymouth-24.004.60/src/main.c:2284:17: danger: call to ‘free’ from within signal handler
Error: COMPILER_WARNING (CWE-252): [#def829]
plymouth-24.004.60/src/main.c: scope_hint: In function ‘main’
plymouth-24.004.60/src/main.c:2462:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def830]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c: scope_hint: In function ‘find_default_font_path’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:134:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def831]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:138:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("/usr/bin/fc-match -f %{{file}}", "r")’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:672:1: enter_function: entry to ‘draw_control’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:686:9: call_function: calling ‘update_scale_factor_from_pixel_buffer’ from ‘draw_control’
Error: COMPILER_WARNING (CWE-252): [#def832]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c: scope_hint: In function ‘find_default_monospace_font_path’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:154:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:158:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("/usr/bin/fc-match -f %{{file}} monospace", "r")’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:672:1: enter_function: entry to ‘draw_control’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:686:9: call_function: calling ‘update_scale_factor_from_pixel_buffer’ from ‘draw_control’
Error: CPPCHECK_WARNING (CWE-476): [#def834]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def835]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:173: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def836]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:174: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def837]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:175: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def838]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:176: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: COMPILER_WARNING (CWE-457): [#def839]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:334:52: warning[-Wmaybe-uninitialized]: ‘red’ may be used uninitialized
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c: scope_hint: In function ‘load_glyphs’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:554:25: note: ‘red’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def840]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:335:52: warning[-Wmaybe-uninitialized]: ‘green’ may be used uninitialized
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c: scope_hint: In function ‘load_glyphs’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:554:30: note: ‘green’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def841]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:336:52: warning[-Wmaybe-uninitialized]: ‘blue’ may be used uninitialized
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c: scope_hint: In function ‘load_glyphs’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:554:37: note: ‘blue’ was declared here
Error: CPPCHECK_WARNING (CWE-476): [#def842]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:447: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def843]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:447:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:699:1: enter_function: entry to ‘set_alignment_for_control’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:705:17: call_function: calling ‘trigger_redraw’ from ‘set_alignment_for_control’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:448:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:699:1: enter_function: entry to ‘set_alignment_for_control’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:705:17: call_function: calling ‘trigger_redraw’ from ‘set_alignment_for_control’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:450:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:699:1: enter_function: entry to ‘set_alignment_for_control’
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:705:17: call_function: calling ‘trigger_redraw’ from ‘set_alignment_for_control’
Error: CPPCHECK_WARNING (CWE-476): [#def846]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:777: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def847]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:780: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def848]
plymouth-24.004.60/src/plugins/controls/label-freetype/plugin.c:781: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def849]
plymouth-24.004.60/src/plugins/controls/label-pango/plugin.c:83: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def850]
plymouth-24.004.60/src/plugins/controls/label-pango/plugin.c:84: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def851]
plymouth-24.004.60/src/plugins/controls/label-pango/plugin.c:85: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def852]
plymouth-24.004.60/src/plugins/controls/label-pango/plugin.c:86: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: label
Error: CPPCHECK_WARNING (CWE-476): [#def853]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:231:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1648:1: enter_function: entry to ‘map_to_device’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1656:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1657:48: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1659:21: call_function: calling ‘ply_renderer_head_map’ from ‘map_to_device’
Error: CPPCHECK_WARNING (CWE-476): [#def855]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def856]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:242:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1648:1: enter_function: entry to ‘map_to_device’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1656:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1657:48: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1659:21: call_function: calling ‘ply_renderer_head_map’ from ‘map_to_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:254:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1648:1: enter_function: entry to ‘map_to_device’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1656:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1657:48: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1659:21: call_function: calling ‘ply_renderer_head_map’ from ‘map_to_device’
Error: CPPCHECK_WARNING (CWE-476): [#def859]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:605: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def860]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:606: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def861]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:607: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def862]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:608: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def863]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:609: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def864]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:610: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def865]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:612: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def866]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:613: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def867]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:614: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def868]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:615: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def869]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:618: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def870]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:619: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def871]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def872]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def873]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:625: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def874]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:630: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def875]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:632: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def876]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:633: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def877]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:636: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def878]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:639: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def879]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:898: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def880]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:900: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def881]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:901: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def882]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:902: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def883]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:903: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def884]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:904: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def885]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:905: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def886]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:906: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def887]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:907: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def888]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:909: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def889]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1082:27: warning[-Wanalyzer-malloc-leak]: leak of ‘outputs’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1629:1: enter_function: entry to ‘handle_change_event’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1634:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: call_function: calling ‘create_heads_for_active_connectors’ from ‘handle_change_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1089:25: warning[-Wanalyzer-malloc-leak]: leak of ‘outputs’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1629:1: enter_function: entry to ‘handle_change_event’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1634:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: call_function: calling ‘create_heads_for_active_connectors’ from ‘handle_change_event’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def891]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1203:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘output’ where non-null expected
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1629:1: enter_function: entry to ‘handle_change_event’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1634:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: call_function: calling ‘create_heads_for_active_connectors’ from ‘handle_change_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def892]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1206:21: warning[-Wanalyzer-malloc-leak]: leak of ‘outputs’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1629:1: enter_function: entry to ‘handle_change_event’
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1634:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1639:15: call_function: calling ‘create_heads_for_active_connectors’ from ‘handle_change_event’
Error: CPPCHECK_WARNING (CWE-476): [#def893]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outputs
Error: CPPCHECK_WARNING (CWE-476): [#def894]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1291: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outputs
Error: CPPCHECK_WARNING (CWE-476): [#def895]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1313: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outputs
Error: CPPCHECK_WARNING (CWE-476): [#def896]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1326: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_outputs
Error: CPPCHECK_WARNING (CWE-476): [#def897]
plymouth-24.004.60/src/plugins/renderers/drm/plugin.c:1327: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_outputs
Error: GCC_ANALYZER_WARNING (CWE-401): [#def898]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:189:25: warning[-Wanalyzer-malloc-leak]: leak of ‘row_backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:188:23: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:189:25: danger: ‘row_backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def899]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:202: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def900]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:207: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def901]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:253:12: branch_true: following ‘true’ branch (when ‘device_name’ is non-NULL)...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:17: danger: ‘backend’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def902]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:256:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:253:12: branch_false: following ‘false’ branch (when ‘device_name’ is NULL)...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:255:18: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:255:17: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:256:48: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:256:17: danger: ‘backend’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:258:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:253:12: branch_false: following ‘false’ branch (when ‘device_name’ is NULL)...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:255:18: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:255:17: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:259:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:258:17: danger: ‘backend’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def904]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*backend.device_name’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_true: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: danger: ‘*backend.device_name’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def905]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def906]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: danger: ‘backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def907]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: danger: ‘backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def910]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def911]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:265: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def912]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:265:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:265:26: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def913]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:265:26: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:265:26: danger: ‘backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def914]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:266: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def915]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:266:44: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:266:44: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def916]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:266:44: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:266:44: danger: ‘backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def917]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:267: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def918]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:267:47: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:254:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:267:47: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def919]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:267:47: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:251:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:261:9: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:263:25: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:267:47: danger: ‘backend’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def920]
plymouth-24.004.60/src/plugins/renderers/frame-buffer/plugin.c:268: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: CPPCHECK_WARNING (CWE-476): [#def921]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-476): [#def922]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:130:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘backend’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:125:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:130:9: danger: ‘backend’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def923]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:130:25: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:125:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:130:25: danger: ‘backend’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def924]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def925]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:131:26: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:125:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:131:26: danger: ‘backend’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def926]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: backend
Error: GCC_ANALYZER_WARNING (CWE-401): [#def927]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:132:44: warning[-Wanalyzer-malloc-leak]: leak of ‘backend’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:125:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: branch_false: ...to here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:128:19: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:132:44: danger: ‘backend’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def928]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:227: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-476): [#def929]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:227:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:225:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:227:9: danger: ‘head’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def930]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def931]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:229: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def932]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:230: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def933]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def934]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def935]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def936]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:233:30: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:225:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:233:30: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def937]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def938]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:234:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:225:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:234:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def939]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:225:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:236:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def940]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:240: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-476): [#def941]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:240:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:238:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:240:9: danger: ‘head’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def942]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:241: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def943]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:242: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def944]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:243: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def945]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:244: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def946]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:245: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def947]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:246: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def948]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:246:30: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:238:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:246:30: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def949]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def950]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:247:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:238:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:247:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def951]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:249:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:238:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:249:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def952]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:272: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-476): [#def953]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:272:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:270:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:272:9: danger: ‘head’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def954]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:273: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def955]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:274: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def956]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:275: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def957]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:276: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def958]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:277: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: CPPCHECK_WARNING (CWE-476): [#def959]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:278: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def960]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:278:23: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:270:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:278:23: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def961]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:281: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def962]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:281:30: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:270:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:281:30: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def963]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:282: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: head
Error: GCC_ANALYZER_WARNING (CWE-401): [#def964]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:270:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:282:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def965]
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:284:9: warning[-Wanalyzer-malloc-leak]: leak of ‘head’
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:270:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/renderers/x11/plugin.c:284:9: danger: ‘head’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def966]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-476): [#def967]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:90:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘view’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:253:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:259:16: call_function: inlined call to ‘view_new’ from ‘add_text_display’
Error: CPPCHECK_WARNING (CWE-476): [#def968]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def969]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:158: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-476): [#def970]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:158:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘plugin’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:157:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/details/plugin.c:158:9: danger: ‘plugin’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def971]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:158:25: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:157:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/details/plugin.c:158:25: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def972]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def973]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:160: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def974]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:160:28: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:157:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/details/plugin.c:160:28: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def975]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:261:20: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:253:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:259:16: call_function: inlined call to ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:261:20: danger: ‘view’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def976]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:262:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:253:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:259:16: call_function: inlined call to ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:262:9: danger: ‘view’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def977]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:253:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:259:16: call_function: inlined call to ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:264:9: danger: ‘view’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
plymouth-24.004.60/src/plugins/splash/details/plugin.c:444:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(message)’
plymouth-24.004.60/src/plugins/splash/details/plugin.c:444:57: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/details/plugin.c:444:17: danger: ‘strdup(message)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def979]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def980]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:236: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def981]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c: scope_hint: In function ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:239:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def982]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:240: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def983]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:243:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def984]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:244: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def985]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def986]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:248: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def987]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:251: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def988]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:253: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def989]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:256: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def990]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:261: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def991]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def992]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def993]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:266: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def994]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:279: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star
Error: GCC_ANALYZER_WARNING (CWE-476): [#def995]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:279:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:966:1: enter_function: entry to ‘view_add_star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:976:9: branch_true: following ‘true’ branch (when ‘view’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:978:9: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1030:18: branch_false: following ‘false’ branch (when ‘node’ is NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:42: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:16: call_function: calling ‘star_new’ from ‘view_add_star’
Error: CPPCHECK_WARNING (CWE-476): [#def996]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:280: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star
Error: CPPCHECK_WARNING (CWE-476): [#def997]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:281: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star
Error: CPPCHECK_WARNING (CWE-476): [#def998]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:282: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:282:28: warning[-Wanalyzer-malloc-leak]: leak of ‘star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:966:1: enter_function: entry to ‘view_add_star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:976:9: branch_true: following ‘true’ branch (when ‘view’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:978:9: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1030:18: branch_false: following ‘false’ branch (when ‘node’ is NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:42: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:16: call_function: calling ‘star_new’ from ‘view_add_star’
Error: CPPCHECK_WARNING (CWE-476): [#def1000]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:326: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1001]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:326:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1002]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:327: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1003]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:329: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:329:23: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1005]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:330: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:330:23: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1007]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:331: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:331:23: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1009]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:333: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1010]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:333:31: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1011]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:335:13: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:859:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:864:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1012]
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1034:1: warning[-Wanalyzer-malloc-leak]: leak of ‘star_new((int)ply_get_random_number(0, (long int)ply_pixel_display_get_width(*view.display)), (int)ply_get_random_number(0, (long int)ply_pixel_display_get_height(*view.display)), (double)(ply_get_random_number(0, 50) + 1))’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:966:1: enter_function: entry to ‘view_add_star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:976:9: branch_true: following ‘true’ branch (when ‘view’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:978:9: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1030:18: branch_false: following ‘false’ branch (when ‘node’ is NULL)...
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:42: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:16: call_function: calling ‘star_new’ from ‘view_add_star’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1032:16: return_function: returning to ‘view_add_star’ from ‘star_new’
plymouth-24.004.60/src/plugins/splash/fade-throbber/plugin.c:1034:1: danger: ‘star_new((int)ply_get_random_number(0, (long int)ply_pixel_display_get_width(*view.display)), (int)ply_get_random_number(0, (long int)ply_pixel_display_get_height(*view.display)), (double)(ply_get_random_number(0, 50) + 1))’ leaks here; was allocated at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def1013]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_env_var
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1014]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:159:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_env_var’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:158:23: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/plugin.c:159:9: danger: ‘new_env_var’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1015]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:160: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_env_var
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:162:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:159:28: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:162:9: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:162:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_env_var’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:158:23: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:162:9: danger: ‘new_env_var’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1018]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1019]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:171:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/plugin.c:171:9: danger: ‘plugin’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1020]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:171:29: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:171:29: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1021]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:174: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1022]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:174:35: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:174:35: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1023]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:178: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1024]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:178:35: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:178:35: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1025]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1026]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:179:9: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:179:9: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1027]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:181: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1028]
plymouth-24.004.60/src/plugins/splash/script/plugin.c:181:28: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/script/plugin.c:170:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/plugin.c:181:28: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1029]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_location
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1030]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:48:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_location’
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:47:49: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:48:9: danger: ‘new_location’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1031]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_location
Error: CPPCHECK_WARNING (CWE-476): [#def1032]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_location
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1033]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:50:30: warning[-Wanalyzer-malloc-leak]: leak of ‘new_location’
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:47:49: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:50:30: danger: ‘new_location’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1034]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_location
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1035]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:53:17: warning[-Wanalyzer-malloc-leak]: leak of ‘new_location’
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:47:49: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:51:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:52:46: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:53:17: danger: ‘new_location’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1036]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:53:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*location.name)’
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:51:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:52:46: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:52:38: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:53:17: danger: ‘strdup(*location.name)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1037]
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:55:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_location’
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:47:49: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-debug.c:55:9: danger: ‘new_location’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1038]
plymouth-24.004.60/src/plugins/splash/script/script-execute.c: scope_hint: In function ‘script_evaluate_set’
plymouth-24.004.60/src/plugins/splash/script/script-execute.c:147:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def1039]
plymouth-24.004.60/src/plugins/splash/script/script-execute.c: scope_hint: In function ‘script_execute_function_with_parlist’
plymouth-24.004.60/src/plugins/splash/script/script-execute.c:589:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def1040]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c: scope_hint: In function ‘image_new’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:69:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1041]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:71:35: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:71:35: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1042]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:13: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:13: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1043]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:74:46: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:74:46: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:74:46: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1044]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:75:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:74:46: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:75:25: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1045]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:77:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:77:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:77:17: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1046]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:78:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path_filename’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:59:16: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:63:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:21: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:64:20: branch_true: following ‘true’ branch (when the strings are equal)...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:65:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:73:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:77:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:78:25: danger: ‘path_filename’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def1047]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:268: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1048]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:268:23: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:266:41: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:268:23: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1049]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:269: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1050]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:332: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1051]
plymouth-24.004.60/src/plugins/splash/script/script-lib-image.c:333: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1052]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:73:35: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:73:35: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1053]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:75:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:75:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1054]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:81:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:81:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1055]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:87:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:87:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1056]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:93:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:93:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1057]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:100:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:100:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1058]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:106:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:106:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1059]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:112:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:112:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1060]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:117:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1061]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1062]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:119:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:119:9: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1063]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:119:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:119:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1064]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1065]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:120:31: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:120:31: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1066]
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:70:40: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-math.c:122:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1067]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:122: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1068]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:122:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:122:9: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1069]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:122:37: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:122:37: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1070]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:123: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1071]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:123:43: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:123:43: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1072]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1073]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:124:42: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:124:42: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1074]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1075]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:125:44: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:125:44: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1076]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1077]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:126:43: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:126:43: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1078]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:127: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1079]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:127:44: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:127:44: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1080]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1081]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:128:46: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:128:46: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1082]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:129: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1083]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:129:46: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:129:46: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1084]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1085]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:130:44: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:130:44: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1086]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1087]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:131:44: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:131:44: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1088]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1089]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:132:45: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:132:45: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1090]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:133: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1091]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:133:45: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:133:45: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1092]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1093]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:134:42: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:134:42: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1094]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1095]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:135:34: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:135:34: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1096]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1097]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:136:43: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:136:43: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1098]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1099]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1100]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1101]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:141:39: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:141:39: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1102]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:120:44: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:143:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1103]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:251: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1104]
plymouth-24.004.60/src/plugins/splash/script/script-lib-plymouth.c:252: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1105]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:55: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1106]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:56: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1107]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:56:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sprite’
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:53:28: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:56:9: danger: ‘sprite’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1108]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:57: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1109]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1110]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:59: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1111]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1112]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:61: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1113]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1114]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1115]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1116]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:65: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1117]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1118]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:67: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1119]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:68: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sprite
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1120]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:69:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sprite’
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:53:28: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:69:9: danger: ‘sprite’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1121]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:510: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1122]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:511: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1123]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:512: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1124]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:514: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1125]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:516: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1126]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:517: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1127]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:520: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1128]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:522: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1129]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:524: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1130]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:525: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1131]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:528: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1132]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:537: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: script_display
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1133]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:537:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘script_display’
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:535:48: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:537:9: danger: ‘script_display’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1134]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:538: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: script_display
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1135]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:539:9: warning[-Wanalyzer-malloc-leak]: leak of ‘script_display’
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:535:48: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:539:9: danger: ‘script_display’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1136]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:543: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1137]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:552: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1138]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:552:23: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:550:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:552:23: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1139]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:553: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1140]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:554: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1141]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:687: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1142]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:688: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1143]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:689: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1144]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:690: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def1145]
plymouth-24.004.60/src/plugins/splash/script/script-lib-sprite.c:691: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1146]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:85:25: warning[-Wanalyzer-malloc-leak]: leak of ‘substring’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:72:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:84:21: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:85:25: danger: ‘substring’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1147]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:105:37: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:105:37: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1148]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:107:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:107:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1149]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:113:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:113:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1150]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:120:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:120:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1151]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:125:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:125:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1152]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1153]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:126:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:126:9: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1154]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:126:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:126:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1155]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:127: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1156]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:127:31: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:127:31: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1157]
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:129:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:103:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-lib-string.c:129:9: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1158]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:96:17: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1159]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:97:17: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1160]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:105:38: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1161]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:108:38: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1162]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:110:49: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1163]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:113:25: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1164]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:121:25: warning[-Wanalyzer-malloc-leak]: leak of ‘script_obj_new_hash()’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_hash’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:445:17: call_function: calling ‘script_obj_assign’ from ‘script_obj_hash_get_element’
Error: CPPCHECK_WARNING (CWE-476): [#def1165]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:152: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1166]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:152:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘obj’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:450:28: call_function: calling ‘script_obj_new_null’ from ‘script_obj_hash_get_element’
Error: CPPCHECK_WARNING (CWE-476): [#def1167]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:153: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1168]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:161: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1169]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:162: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1170]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:163: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1171]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1172]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1173]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:173: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1174]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:181: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1175]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:181:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘obj’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
Error: CPPCHECK_WARNING (CWE-476): [#def1176]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:182: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1177]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:182:26: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:444:28: call_function: calling ‘script_obj_new_hash’ from ‘script_obj_hash_get_element’
Error: CPPCHECK_WARNING (CWE-476): [#def1178]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:184: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1179]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:192: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1180]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:193: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1181]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:194: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1182]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:204: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1183]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:205: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1184]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:206: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1185]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1186]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:220: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1187]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1188]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:222: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1189]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1190]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1191]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def1192]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: COMPILER_WARNING (CWE-252): [#def1193]
plymouth-24.004.60/src/plugins/splash/script/script-object.c: scope_hint: In function ‘script_obj_as_string’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:314:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def1194]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:319:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1195]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:449: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: variable
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1196]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:449:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘variable’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script-object.c:449:9: danger: ‘variable’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def1197]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:450: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: variable
Error: CPPCHECK_WARNING (CWE-476): [#def1198]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:451: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: variable
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1199]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:451:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:435:15: enter_function: entry to ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:450:28: call_function: calling ‘script_obj_new_null’ from ‘script_obj_hash_get_element’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:450:28: return_function: returning to ‘script_obj_hash_get_element’ from ‘script_obj_new_null’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:451:9: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1200]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:451:9: warning[-Wanalyzer-malloc-leak]: leak of ‘variable’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:443:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:447:39: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-object.c:451:9: danger: ‘variable’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def1201]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:452: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: variable
Error: CPPCHECK_WARNING (CWE-476): [#def1202]
plymouth-24.004.60/src/plugins/splash/script/script-object.c:453: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: variable
Error: COMPILER_WARNING (CWE-252): [#def1203]
plymouth-24.004.60/src/plugins/splash/script/script-object.c: scope_hint: In function ‘script_obj_plus’
plymouth-24.004.60/src/plugins/splash/script/script-object.c:531:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1204]
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: exp
Error: CPPCHECK_WARNING (CWE-476): [#def1205]
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:151: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: op
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1206]
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘parameter’
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:266:20: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:271:43: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:271:35: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script-parse.c:272:17: danger: ‘parameter’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def1207]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1208]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1209]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1210]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:47: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1211]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1212]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: CPPCHECK_WARNING (CWE-476): [#def1213]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1214]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:274:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:391:22: enter_function: entry to ‘script_scan_peek_next_token’
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:393:16: call_function: calling ‘script_scan_peek_token’ from ‘script_scan_peek_next_token’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1215]
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:359:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(40)’
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:391:22: enter_function: entry to ‘script_scan_peek_next_token’
plymouth-24.004.60/src/plugins/splash/script/script-scan.c:393:16: call_function: calling ‘script_scan_peek_token’ from ‘script_scan_peek_next_token’
Error: CPPCHECK_WARNING (CWE-476): [#def1216]
plymouth-24.004.60/src/plugins/splash/script/script.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1217]
plymouth-24.004.60/src/plugins/splash/script/script.c:48:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘function’
plymouth-24.004.60/src/plugins/splash/script/script.c:46:39: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script.c:48:9: danger: ‘function’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1218]
plymouth-24.004.60/src/plugins/splash/script/script.c:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1219]
plymouth-24.004.60/src/plugins/splash/script/script.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1220]
plymouth-24.004.60/src/plugins/splash/script/script.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1221]
plymouth-24.004.60/src/plugins/splash/script/script.c:52: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1222]
plymouth-24.004.60/src/plugins/splash/script/script.c:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1223]
plymouth-24.004.60/src/plugins/splash/script/script.c:62:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘function’
plymouth-24.004.60/src/plugins/splash/script/script.c:60:39: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script.c:62:9: danger: ‘function’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1224]
plymouth-24.004.60/src/plugins/splash/script/script.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1225]
plymouth-24.004.60/src/plugins/splash/script/script.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1226]
plymouth-24.004.60/src/plugins/splash/script/script.c:65: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: CPPCHECK_WARNING (CWE-476): [#def1227]
plymouth-24.004.60/src/plugins/splash/script/script.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: function
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1228]
plymouth-24.004.60/src/plugins/splash/script/script.c:84:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
plymouth-24.004.60/src/plugins/splash/script/script.c:82:9: acquire_resource: ‘va_start’ called here
plymouth-24.004.60/src/plugins/splash/script/script.c:83:16: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/script/script.c:84:55: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script.c:84:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1229]
plymouth-24.004.60/src/plugins/splash/script/script.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(arg)’
plymouth-24.004.60/src/plugins/splash/script/script.c:83:16: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/script/script.c:84:55: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script.c:84:55: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:85:17: danger: ‘strdup(arg)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1230]
plymouth-24.004.60/src/plugins/splash/script/script.c:94:9: warning[-Wanalyzer-malloc-leak]: leak of ‘script_function_native_new(native_function, user_data, ply_list_new())’
plymouth-24.004.60/src/plugins/splash/script/script.c:70:6: enter_function: entry to ‘script_add_native_function’
plymouth-24.004.60/src/plugins/splash/script/script.c:89:39: call_function: calling ‘script_function_native_new’ from ‘script_add_native_function’
plymouth-24.004.60/src/plugins/splash/script/script.c:89:39: return_function: returning to ‘script_add_native_function’ from ‘script_function_native_new’
plymouth-24.004.60/src/plugins/splash/script/script.c:94:9: danger: ‘script_function_native_new(native_function, user_data, ply_list_new())’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def1231]
plymouth-24.004.60/src/plugins/splash/script/script.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: class
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1232]
plymouth-24.004.60/src/plugins/splash/script/script.c:104:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘class’
plymouth-24.004.60/src/plugins/splash/script/script.c:102:44: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script.c:104:9: danger: ‘class’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1233]
plymouth-24.004.60/src/plugins/splash/script/script.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: class
Error: CPPCHECK_WARNING (CWE-476): [#def1234]
plymouth-24.004.60/src/plugins/splash/script/script.c:106: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: class
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1235]
plymouth-24.004.60/src/plugins/splash/script/script.c:120:37: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:120:37: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1236]
plymouth-24.004.60/src/plugins/splash/script/script.c:122: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1237]
plymouth-24.004.60/src/plugins/splash/script/script.c:122:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script.c:122:9: danger: ‘state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1238]
plymouth-24.004.60/src/plugins/splash/script/script.c:122:25: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:122:25: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1239]
plymouth-24.004.60/src/plugins/splash/script/script.c:123:9: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:123:9: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1240]
plymouth-24.004.60/src/plugins/splash/script/script.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1241]
plymouth-24.004.60/src/plugins/splash/script/script.c:124:24: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:124:24: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1242]
plymouth-24.004.60/src/plugins/splash/script/script.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1243]
plymouth-24.004.60/src/plugins/splash/script/script.c:125:23: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
plymouth-24.004.60/src/plugins/splash/script/script.c:119:33: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:125:23: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1244]
plymouth-24.004.60/src/plugins/splash/script/script.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1245]
plymouth-24.004.60/src/plugins/splash/script/script.c:134:36: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:134:36: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1246]
plymouth-24.004.60/src/plugins/splash/script/script.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newstate
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1247]
plymouth-24.004.60/src/plugins/splash/script/script.c:136:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/script/script.c:136:9: danger: ‘newstate’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1248]
plymouth-24.004.60/src/plugins/splash/script/script.c:136:27: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:136:27: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1249]
plymouth-24.004.60/src/plugins/splash/script/script.c:137:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:137:9: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1250]
plymouth-24.004.60/src/plugins/splash/script/script.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newstate
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1251]
plymouth-24.004.60/src/plugins/splash/script/script.c:138:28: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:138:28: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1252]
plymouth-24.004.60/src/plugins/splash/script/script.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newstate
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1253]
plymouth-24.004.60/src/plugins/splash/script/script.c:139:36: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:139:12: branch_true: following ‘true’ branch (when ‘this’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/script/script.c:139:36: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/script/script.c:139:36: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1254]
plymouth-24.004.60/src/plugins/splash/script/script.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newstate
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1255]
plymouth-24.004.60/src/plugins/splash/script/script.c:140:31: warning[-Wanalyzer-malloc-leak]: leak of ‘newstate’
plymouth-24.004.60/src/plugins/splash/script/script.c:133:36: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/script/script.c:139:12: branch_false: following ‘false’ branch (when ‘this’ is NULL)...
plymouth-24.004.60/src/plugins/splash/script/script.c:140:51: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/script/script.c:140:31: danger: ‘newstate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1256]
plymouth-24.004.60/src/plugins/splash/script/script.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newstate
Error: CPPCHECK_WARNING (CWE-476): [#def1257]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:235: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1258]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:236: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1259]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1260]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:239: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1261]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:240: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1262]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:242: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1263]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:420: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1264]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:421: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1265]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:421:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_sprite’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1266]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:422: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1267]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:423: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1268]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:424: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1269]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:425: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1270]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:426: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1271]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:427: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1272]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:428: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1273]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:429: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: CPPCHECK_WARNING (CWE-476): [#def1274]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:430: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_sprite
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1275]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1276]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘flare’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1277]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_sprite’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1278]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1279]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:432:9: warning[-Wanalyzer-malloc-leak]: leak of ‘star_bg’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1280]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:580: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def1281]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c: scope_hint: In function ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:584:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1282]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:585: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def1283]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:588:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1284]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:589: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def1285]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:592:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1286]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:593: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: COMPILER_WARNING (CWE-252): [#def1287]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:621:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1288]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:622: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1289]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:626: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1290]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:627: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1291]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:630: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1292]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:632: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1293]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:635: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1294]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:640: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1295]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:641: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1296]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:642: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1297]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:644: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1298]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:646: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1299]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:648: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1300]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1019: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1301]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1020: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1302]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1021: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1303]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1022: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1304]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1023: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1305]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1024: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1306]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1025: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1307]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1580: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1308]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1580:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘star_bg’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1309]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1581: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1310]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1582: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1311]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1583: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1312]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1584: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1313]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1595: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1314]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1600: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1315]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1601: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1316]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1602: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: star_bg
Error: CPPCHECK_WARNING (CWE-476): [#def1317]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1682: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1318]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1682:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1319]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1684:32: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1320]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1685:33: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1321]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1686: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1322]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1686:35: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1323]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1687: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def1324]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1688: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1325]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1688:31: warning[-Wanalyzer-malloc-leak]: leak of ‘progress’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1326]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1689: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def1327]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1691: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: progress
Error: CPPCHECK_WARNING (CWE-476): [#def1328]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1703: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1329]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1703:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘flare’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1330]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1703:26: warning[-Wanalyzer-malloc-leak]: leak of ‘flare’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1331]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1704: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1332]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1704:26: warning[-Wanalyzer-malloc-leak]: leak of ‘flare’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1283:1: enter_function: entry to ‘start_animation’
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1291:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1295:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1298:17: call_function: calling ‘view_start_animation’ from ‘start_animation’
Error: CPPCHECK_WARNING (CWE-476): [#def1333]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1706: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1334]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1713: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1335]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1714: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1336]
plymouth-24.004.60/src/plugins/splash/space-flares/plugin.c:1727: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: flare
Error: CPPCHECK_WARNING (CWE-476): [#def1337]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1338]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:93:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘view’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1339]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1340]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1341]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:96:26: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1342]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:139:25: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1343]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:140:26: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1344]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:141:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1345]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:142:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1346]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:144:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1347]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:147:17: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1348]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:612:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:634:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: CPPCHECK_WARNING (CWE-476): [#def1349]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:307: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1350]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:309: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1351]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:309:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘plugin’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:306:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/text/plugin.c:309:9: danger: ‘plugin’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1352]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:309:25: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:306:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:309:25: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1353]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:465:20: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:465:20: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1354]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:466:13: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:466:13: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1355]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:467:17: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:466:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:467:17: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:467:17: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1356]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:469:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:457:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:463:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:469:9: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def1357]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entered_text
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1358]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:623:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_true: following ‘true’ branch (when ‘i < bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:623:29: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:623:17: danger: ‘entered_text + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1359]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1360]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1361]
plymouth-24.004.60/src/plugins/splash/text/plugin.c:632:29: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/text/plugin.c:620:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:622:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:626:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:627:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/text/plugin.c:631:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/text/plugin.c:632:29: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1362]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1363]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:96:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘view’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
Error: CPPCHECK_WARNING (CWE-476): [#def1364]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1365]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1366]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:99:30: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1367]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:142:25: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1368]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:143:26: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1369]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:144:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1370]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:145:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1371]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1372]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1373]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:153:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:618:1: enter_function: entry to ‘show_password_prompt’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:640:17: call_function: calling ‘view_show_prompt’ from ‘show_password_prompt’
Error: CPPCHECK_WARNING (CWE-476): [#def1374]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:313: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def1375]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:315: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1376]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:315:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘plugin’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:312:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:315:9: danger: ‘plugin’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1377]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:315:25: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:312:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:315:25: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1378]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:471:20: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:471:20: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1379]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:472:13: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:472:13: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1380]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:473:17: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:472:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:473:17: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:473:17: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1381]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:475:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:463:1: enter_function: entry to ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: call_function: calling ‘view_new’ from ‘add_text_display’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:469:16: return_function: returning to ‘add_text_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:475:9: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def1382]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:629: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entered_text
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1383]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:629:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_true: following ‘true’ branch (when ‘i < bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:629:29: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:629:17: danger: ‘entered_text + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1384]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1385]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1386]
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:638:29: warning[-Wanalyzer-malloc-leak]: leak of ‘entered_text’
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:626:24: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:628:21: branch_false: following ‘false’ branch (when ‘i >= bullets’)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:632:16: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:633:16: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:637:24: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/tribar/plugin.c:638:29: danger: ‘entered_text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1387]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1388]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:234:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:234:9: danger: ‘view’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1389]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:235: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: CPPCHECK_WARNING (CWE-476): [#def1390]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:237: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1391]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:237:23: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:237:23: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1392]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1393]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:238:29: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:238:29: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1394]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:239: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1395]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:239:31: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:239:31: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1396]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:240: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1397]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:240:36: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:240:36: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1398]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:242: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1399]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:242:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:242:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1400]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:246: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1401]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:246:30: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:246:30: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1402]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1403]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:247:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:247:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1404]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:251: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1405]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:251:26: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:251:26: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1406]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:254: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1407]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:254:23: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:254:23: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1408]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:255: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1409]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:255:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1410]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:257: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1411]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:257:31: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:257:31: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1412]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:258: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1413]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:258:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1414]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:260: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1415]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:260:29: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:260:29: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1416]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:261: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1417]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:261:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:261:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1418]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1419]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:263:32: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:263:32: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1420]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: view
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1421]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:264:9: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1422]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:266:13: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:266:13: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1423]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:267:40: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:266:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:267:79: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:267:40: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1424]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:268:17: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:266:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:267:79: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:268:17: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1425]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:271:25: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:233:16: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:266:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:267:79: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:270:20: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:271:25: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:271:25: danger: ‘view’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1426]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1136:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1427]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1138:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1428]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1429]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1142:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1430]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1145:13: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1431]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1147:25: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1432]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1433]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1154:25: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1167:1: enter_function: entry to ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1335:9: call_function: calling ‘load_mode_settings’ from ‘create_plugin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1434]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1177:21: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1177:21: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1435]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1179:9: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1179:9: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1436]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c: scope_hint: In function ‘create_plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1181:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1437]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1182: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1438]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1182:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1182:9: danger: ‘plugin’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1439]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1182:30: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1182:30: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1440]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1185:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1441]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1186: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1442]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1186:29: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1186:29: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1443]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1189:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1444]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1190: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1445]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1190:32: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1190:32: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1446]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1193:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1447]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1194: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1448]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1194:32: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1194:32: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1449]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1197:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1450]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1198:14: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1198:14: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1451]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1200:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1452]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1203:36: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1203:36: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1453]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1207:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1454]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1208:35: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1208:35: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1455]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1212:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1212:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1456]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1214:14: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1214:14: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1457]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1215:14: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1214:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1215:14: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1215:14: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1458]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1216:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1459]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1217:53: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1214:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1215:14: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1214:13: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1216:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1217:53: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1460]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1223:24: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1223:24: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1461]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1224:30: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1224:30: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1462]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1228:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1228:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1463]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1231:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1231:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1464]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1238:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1238:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1465]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1242:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1242:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1466]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1248:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1248:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1467]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1251:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1468]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1256:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1256:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1469]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1259:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1259:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1470]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1264:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1264:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1471]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1267:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1267:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1472]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1272:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1473]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1275:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1474]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1279:22: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1279:22: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1475]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1294:34: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1294:34: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1476]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1477]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1478]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1306:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1306:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1479]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1306:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1306:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1480]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1310:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1310:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1481]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1310:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1310:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1482]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1314:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1314:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1483]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1314:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1314:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1484]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1319:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1319:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/75/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1485]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1319:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1319:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1486]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1323:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1323:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/77/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1487]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1323:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1323:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/76/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1488]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1327:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1327:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/79/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1489]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1327:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1327:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/78/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1490]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: branch_true: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1297:42: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1331:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/81/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1491]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘plugin’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1175:18: acquire_memory: allocated here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1296:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1301:17: branch_false: ...to here
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1331:17: danger: ‘plugin’ leaks here; was allocated at [(1)](sarif:/runs/0/results/80/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def1492]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1346:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1493]
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1789:9: warning[-Wanalyzer-malloc-leak]: leak of ‘view_new(plugin, display)’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1781:1: enter_function: entry to ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1787:16: call_function: calling ‘view_new’ from ‘add_pixel_display’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1787:16: return_function: returning to ‘add_pixel_display’ from ‘view_new’
plymouth-24.004.60/src/plugins/splash/two-step/plugin.c:1789:9: danger: ‘view_new(plugin, display)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/82/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def1494]
plymouth-24.004.60/src/ply-boot-server.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1495]
plymouth-24.004.60/src/ply-boot-server.c:115:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘server’
plymouth-24.004.60/src/ply-boot-server.c:114:18: acquire_memory: this call could return NULL
plymouth-24.004.60/src/ply-boot-server.c:115:9: danger: ‘server’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1496]
plymouth-24.004.60/src/ply-boot-server.c:115:31: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
plymouth-24.004.60/src/ply-boot-server.c:114:18: acquire_memory: allocated here
plymouth-24.004.60/src/ply-boot-server.c:115:31: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1497]
plymouth-24.004.60/src/ply-boot-server.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1498]
plymouth-24.004.60/src/ply-boot-server.c:116:36: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
plymouth-24.004.60/src/ply-boot-server.c:114:18: acquire_memory: allocated here
plymouth-24.004.60/src/ply-boot-server.c:116:36: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1499]
plymouth-24.004.60/src/ply-boot-server.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1500]
plymouth-24.004.60/src/ply-boot-server.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1501]
plymouth-24.004.60/src/ply-boot-server.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1502]
plymouth-24.004.60/src/ply-boot-server.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1503]
plymouth-24.004.60/src/ply-boot-server.c:121: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1504]
plymouth-24.004.60/src/ply-boot-server.c:122: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1505]
plymouth-24.004.60/src/ply-boot-server.c:123: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1506]
plymouth-24.004.60/src/ply-boot-server.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1507]
plymouth-24.004.60/src/ply-boot-server.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1508]
plymouth-24.004.60/src/ply-boot-server.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1509]
plymouth-24.004.60/src/ply-boot-server.c:127: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1510]
plymouth-24.004.60/src/ply-boot-server.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1511]
plymouth-24.004.60/src/ply-boot-server.c:129: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1512]
plymouth-24.004.60/src/ply-boot-server.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1513]
plymouth-24.004.60/src/ply-boot-server.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1514]
plymouth-24.004.60/src/ply-boot-server.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1515]
plymouth-24.004.60/src/ply-boot-server.c:133: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1516]
plymouth-24.004.60/src/ply-boot-server.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1517]
plymouth-24.004.60/src/ply-boot-server.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1518]
plymouth-24.004.60/src/ply-boot-server.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1519]
plymouth-24.004.60/src/ply-boot-server.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1520]
plymouth-24.004.60/src/ply-boot-server.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1521]
plymouth-24.004.60/src/ply-boot-server.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1522]
plymouth-24.004.60/src/ply-boot-server.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def1523]
plymouth-24.004.60/src/ply-boot-server.c:170: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: connection
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1524]
plymouth-24.004.60/src/ply-boot-server.c:170:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘connection’
plymouth-24.004.60/src/ply-boot-server.c:169:22: acquire_memory: this call could return NULL
plymouth-24.004.60/src/ply-boot-server.c:170:9: danger: ‘connection’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1525]
plymouth-24.004.60/src/ply-boot-server.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: connection
Error: CPPCHECK_WARNING (CWE-476): [#def1526]
plymouth-24.004.60/src/ply-boot-server.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: connection
Error: CPPCHECK_WARNING (CWE-476): [#def1527]
plymouth-24.004.60/src/ply-boot-server.c:173: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: connection
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1528]
plymouth-24.004.60/src/ply-boot-server.c:245:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*command’
plymouth-24.004.60/src/ply-boot-server.c:236:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:237:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:237:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:239:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:241:12: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:244:20: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:244:20: acquire_memory: this call could return NULL
plymouth-24.004.60/src/ply-boot-server.c:245:9: danger: ‘calloc(2, 1)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1529]
plymouth-24.004.60/src/ply-boot-server.c:245:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘command’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1530]
plymouth-24.004.60/src/ply-boot-server.c:251:22: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1531]
plymouth-24.004.60/src/ply-boot-server.c:258:22: warning[-Wanalyzer-malloc-leak]: leak of ‘argument’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1532]
plymouth-24.004.60/src/ply-boot-server.c:258:22: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1533]
plymouth-24.004.60/src/ply-boot-server.c:265:14: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1534]
plymouth-24.004.60/src/ply-boot-server.c:266:17: warning[-Wanalyzer-malloc-leak]: leak of ‘command’
plymouth-24.004.60/src/ply-boot-server.c:406:1: enter_function: entry to ‘ply_boot_connection_on_request’
plymouth-24.004.60/src/ply-boot-server.c:411:9: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:412:9: branch_true: following ‘true’ branch...
plymouth-24.004.60/src/ply-boot-server.c:414:9: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:415:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:417:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:417:14: call_function: calling ‘ply_boot_connection_read_request’ from ‘ply_boot_connection_on_request’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1535]
plymouth-24.004.60/src/ply-boot-server.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(password)’
plymouth-24.004.60/src/ply-boot-server.c:321:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/ply-boot-server.c:324:12: branch_false: ...to here
plymouth-24.004.60/src/ply-boot-server.c:324:12: branch_true: following ‘true’ branch (when ‘password’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:326:39: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:326:39: acquire_memory: allocated here
plymouth-24.004.60/src/ply-boot-server.c:325:17: danger: ‘strdup(password)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1536]
plymouth-24.004.60/src/ply-boot-server.c:792:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ply_boot_connection_new(server, accept4(*server.socket_fd, <Ufab0>, 0, 524288))’
plymouth-24.004.60/src/ply-boot-server.c:777:1: enter_function: entry to ‘ply_boot_server_on_new_connection’
plymouth-24.004.60/src/ply-boot-server.c:782:9: branch_true: following ‘true’ branch (when ‘server’ is non-NULL)...
plymouth-24.004.60/src/ply-boot-server.c:784:14: branch_true: ...to here
plymouth-24.004.60/src/ply-boot-server.c:786:12: branch_false: following ‘false’ branch...
plymouth-24.004.60/src/ply-boot-server.c:789:22: branch_false: ...to here
plymouth-24.004.60/src/ply-boot-server.c:789:22: call_function: calling ‘ply_boot_connection_new’ from ‘ply_boot_server_on_new_connection’
plymouth-24.004.60/src/ply-boot-server.c:789:22: return_function: returning to ‘ply_boot_server_on_new_connection’ from ‘ply_boot_connection_new’
plymouth-24.004.60/src/ply-boot-server.c:792:17: danger: ‘ply_boot_connection_new(server, accept4(*server.socket_fd, <Ufab0>, 0, 524288))’ leaks here; was allocated at [(8)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/7)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-92.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | plymouth-24.004.60-21.fc44 |
| store-results-to | /tmp/tmplfuxld6k/plymouth-24.004.60-21.fc44.tar.xz |
| time-created | 2025-10-28 19:43:31 |
| time-finished | 2025-10-28 19:45:21 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmplfuxld6k/plymouth-24.004.60-21.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmplfuxld6k/plymouth-24.004.60-21.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |