Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*__unique_prefix_i12, "re")’
systemd-258/src/resolve/resolved-dns-trust-anchor.c:436:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:437:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:437:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:438:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:438:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:440:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:441:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:444:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:444:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:448:21: acquire_resource: opened here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:460:29: throw: if ‘read_stripped_line’ throws an exception...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:458:46: call_function: inlined call to ‘freep’ from ‘dns_trust_anchor_load_files’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*__unique_prefix_i16, "re")’
systemd-258/src/shared/mount-setup.c:298:12: enter_function: entry to ‘relabel_extra’
systemd-258/src/shared/mount-setup.c:313:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/mount-setup.c:316:9: branch_false: ...to here
systemd-258/src/shared/mount-setup.c:316:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/mount-setup.c:319:21: acquire_resource: opened here
systemd-258/src/shared/mount-setup.c:328:29: call_function: inlined call to ‘read_line’ from ‘relabel_extra’
systemd-258/src/shared/mount-setup.c:326:46: call_function: inlined call to ‘freep’ from ‘relabel_extra’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(format_proc_fd_path(&<U7980>,  fd), "re")’
systemd-258/src/shared/hwdb-util.c:472:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:473:9: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:473:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:474:9: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:474:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:476:19: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:476:13: acquire_resource: opened here
systemd-258/src/shared/hwdb-util.c:477:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:477:12: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:485:21: throw: if ‘read_line_full’ throws an exception...
systemd-258/src/shared/hwdb-util.c:481:38: call_function: inlined call to ‘freep’ from ‘import_file’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def4]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(format_proc_fd_path(&<U84c0>, *c.fd), "re")’
systemd-258/src/shared/pretty-print.c:423:5: enter_function: entry to ‘conf_files_cat’
systemd-258/src/shared/pretty-print.c:430:13: call_function: calling ‘guess_type’ from ‘conf_files_cat’
systemd-258/src/shared/pretty-print.c:430:13: return_function: returning to ‘conf_files_cat’ from ‘guess_type’
systemd-258/src/shared/pretty-print.c:431:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:433:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:433:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:434:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:434:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:434:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:436:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:437:17: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:437:17: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:439:48: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:438:21: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:438:21: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:440:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:436:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:436:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:444:13: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:456:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:474:20: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:478:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:482:12: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:482:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:483:17: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:485:16: call_function: calling ‘cat_files_full’ from ‘conf_files_cat’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*__unique_prefix_i12, "re")’
systemd-258/src/resolve/resolved-dns-trust-anchor.c:436:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:437:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:437:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:438:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:438:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:440:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:441:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:444:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:444:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:448:21: acquire_memory: allocated here
systemd-258/src/resolve/resolved-dns-trust-anchor.c:460:29: throw: if ‘read_stripped_line’ throws an exception...
systemd-258/src/resolve/resolved-dns-trust-anchor.c:458:46: call_function: inlined call to ‘freep’ from ‘dns_trust_anchor_load_files’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*__unique_prefix_i16, "re")’
systemd-258/src/shared/mount-setup.c:298:12: enter_function: entry to ‘relabel_extra’
systemd-258/src/shared/mount-setup.c:313:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/mount-setup.c:316:9: branch_false: ...to here
systemd-258/src/shared/mount-setup.c:316:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/mount-setup.c:319:21: acquire_memory: allocated here
systemd-258/src/shared/mount-setup.c:328:29: call_function: inlined call to ‘read_line’ from ‘relabel_extra’
systemd-258/src/shared/mount-setup.c:326:46: call_function: inlined call to ‘freep’ from ‘relabel_extra’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(format_proc_fd_path(&<U7980>,  fd), "re")’
systemd-258/src/shared/hwdb-util.c:472:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:473:9: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:473:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:474:9: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:474:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:476:19: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:476:13: acquire_memory: allocated here
systemd-258/src/shared/hwdb-util.c:477:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/hwdb-util.c:477:12: branch_false: ...to here
systemd-258/src/shared/hwdb-util.c:485:21: throw: if ‘read_line_full’ throws an exception...
systemd-258/src/shared/hwdb-util.c:481:38: call_function: inlined call to ‘freep’ from ‘import_file’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(format_proc_fd_path(&<U84c0>, *c.fd), "re")’
systemd-258/src/shared/pretty-print.c:423:5: enter_function: entry to ‘conf_files_cat’
systemd-258/src/shared/pretty-print.c:430:13: call_function: calling ‘guess_type’ from ‘conf_files_cat’
systemd-258/src/shared/pretty-print.c:430:13: return_function: returning to ‘conf_files_cat’ from ‘guess_type’
systemd-258/src/shared/pretty-print.c:431:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:433:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:433:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:434:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:434:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:434:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:436:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:437:17: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:437:17: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:439:48: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:438:21: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:438:21: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:440:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:436:9: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:436:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:444:13: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:456:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:474:20: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:478:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/pretty-print.c:482:12: branch_false: ...to here
systemd-258/src/shared/pretty-print.c:482:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pretty-print.c:483:17: branch_true: ...to here
systemd-258/src/shared/pretty-print.c:485:16: call_function: calling ‘cat_files_full’ from ‘conf_files_cat’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-malloc-leak]: leak of ‘virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1335:12: enter_function: entry to ‘start_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1346:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1347:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1347:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1348:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1348:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1350:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1351:13: call_function: calling ‘find_virtiofsd’ from ‘start_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1351:13: return_function: returning to ‘start_virtiofsd’ from ‘find_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1352:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1355:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1356:13: throw: if ‘unit_name_to_prefix’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1350:30: call_function: inlined call to ‘freep’ from ‘start_virtiofsd’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def10]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘d’
systemd-258/src/resolve/resolved-manager.c:517:12: enter_function: entry to ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:520:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:522:26: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:524:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:529:13: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:530:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:533:16: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:535:13: call_function: calling ‘determine_hostnames’ from ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:535:13: return_function: returning to ‘manager_watch_hostname’ from ‘determine_hostnames’
systemd-258/src/resolve/resolved-manager.c:536:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-manager.c:539:21: branch_true: ...to here
systemd-258/src/resolve/resolved-manager.c:539:21: call_function: calling ‘fallback_hostname’ from ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:537:38: call_function: inlined call to ‘freep’ from ‘manager_watch_hostname’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def11]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘escaped_ovmf_vars_to’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1869:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1873:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1873:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1897:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1914:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1920:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1924:18: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1925:12: branch_false: following ‘false’ branch (when ‘use_vsock == 0’)...
systemd-258/src/vmspawn/vmspawn.c:1954:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1961:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1966:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2019:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:2022:13: call_function: inlined call to ‘strv_extend’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2023:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2026:86: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2027:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2030:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2030:13: call_function: inlined call to ‘ovmf_config_format’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2031:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2034:43: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2035:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:2036:29: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:2038:37: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2037:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def12]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘first’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def13]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gfeatures’
systemd-258/src/shared/ethtool-util.c:483:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/ethtool-util.c:483:9: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:483:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shared/ethtool-util.c:480:50: call_function: inlined call to ‘freep’ from ‘get_features’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def14]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘label’
systemd-258/src/udev/udev-rules.c:3230:5: enter_function: entry to ‘udev_rules_apply_to_event’
systemd-258/src/udev/udev-rules.c:3233:9: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-rules.c:3234:9: branch_false: ...to here
systemd-258/src/udev/udev-rules.c:3234:9: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-rules.c:3236:9: branch_false: ...to here
systemd-258/src/udev/udev-rules.c:3236:9: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
systemd-258/src/udev/udev-rules.c:3236:9: branch_true: ...to here
systemd-258/src/udev/udev-rules.c:3238:29: call_function: calling ‘udev_rule_apply_line_to_event’ from ‘udev_rules_apply_to_event’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def15]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘linux_kernel’
systemd-258/src/vmspawn/vmspawn.c:1426:12: enter_function: entry to ‘discover_boot_entry’
systemd-258/src/vmspawn/vmspawn.c:1431:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1432:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1432:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1433:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1433:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1435:20: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1436:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1439:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1440:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1443:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1444:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1447:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1448:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1451:39: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1451:39: call_function: calling ‘boot_config_default_entry’ from ‘discover_boot_entry’
systemd-258/src/vmspawn/vmspawn.c:1451:39: return_function: returning to ‘discover_boot_entry’ from ‘boot_config_default_entry’
systemd-258/src/vmspawn/vmspawn.c:1453:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1453:28: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1480:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1484:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1484:19: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1499:17: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1499:17: throw: if ‘log_assert_failed_unreachable’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1479:36: call_function: calling ‘strv_freep’ from ‘discover_boot_entry’
systemd-258/src/vmspawn/vmspawn.c:1479:36: return_function: returning to ‘discover_boot_entry’ from ‘strv_freep’
systemd-258/src/vmspawn/vmspawn.c:1478:30: call_function: inlined call to ‘freep’ from ‘discover_boot_entry’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def16]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘listen_address’
systemd-258/src/vmspawn/vmspawn.c:1148:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1149:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1149:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1150:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1150:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1152:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1154:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1157:47: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1158:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1159:24: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1159:24: throw: if ‘log_oom_internal’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1157:30: call_function: inlined call to ‘freep’ from ‘start_tpm’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def17]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘machine’
systemd-258/src/vmspawn/vmspawn.c:1661:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1679:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1680:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1683:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1684:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1687:31: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1714:27: throw: if ‘strextend_with_separator_internal’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1710:30: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def18]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sfeatures’
systemd-258/src/shared/ethtool-util.c:599:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/ethtool-util.c:599:9: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:599:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shared/ethtool-util.c:594:50: call_function: inlined call to ‘freep’ from ‘ethtool_set_features’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def19]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ssh_escaped’
systemd-258/src/vmspawn/vmspawn.c:892:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:892:9: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:892:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:888:30: call_function: inlined call to ‘freep’ from ‘bus_open_in_machine’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stub’
systemd-258/src/import/pull-job.c:419:9: branch_true: following ‘true’ branch...
systemd-258/src/import/pull-job.c:419:9: branch_true: ...to here
systemd-258/src/import/pull-job.c:419:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/import/pull-job.c:414:33: call_function: inlined call to ‘freep’ from ‘pull_job_detect_compression’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def21]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tap_name’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1724:20: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1810:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1811:21: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1811:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1842:43: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1844:36: throw: if ‘strextend_with_separator_internal’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1841:46: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘transient_state_dir’
systemd-258/src/vmspawn/vmspawn.c:1148:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1149:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1149:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1150:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1150:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1152:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1154:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1157:47: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1158:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1163:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1163:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1166:48: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1166:48: throw: if ‘strextend_with_separator_internal’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1161:30: call_function: inlined call to ‘freep’ from ‘start_tpm’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def23]
systemd-258/src/basic/alloc-util.h:79:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xbootldr_path’
systemd-258/src/vmspawn/vmspawn.c:1431:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1431:9: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1431:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1428:48: call_function: inlined call to ‘freep’ from ‘discover_boot_entry’
#   77|   
#   78|   static inline void freep(void *p) {
#   79|->         *(void**)p = mfree(*(void**) p);
#   80|   }
#   81|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
systemd-258/src/basic/alloc-util.h:85:16: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc_multiply(min(__unique_prefix_A11,  console_width) * 4 + 1, 1)’
systemd-258/src/basic/escape.c:365:7: enter_function: entry to ‘xescape_full’
systemd-258/src/basic/escape.c:381:15: call_function: calling ‘malloc_multiply’ from ‘xescape_full’
systemd-258/src/basic/escape.c:381:15: return_function: returning to ‘xescape_full’ from ‘malloc_multiply’
systemd-258/src/basic/escape.c:382:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:385:26: branch_false: ...to here
systemd-258/src/basic/escape.c:393:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:401:37: branch_false: ...to here
systemd-258/src/basic/escape.c:404:28: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:407:25: branch_false: ...to here
systemd-258/src/basic/escape.c:393:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:401:37: branch_false: ...to here
systemd-258/src/basic/escape.c:404:28: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:407:25: branch_false: ...to here
systemd-258/src/basic/escape.c:393:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:401:37: branch_false: ...to here
systemd-258/src/basic/escape.c:404:28: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:407:25: branch_false: ...to here
systemd-258/src/basic/escape.c:394:28: branch_true: following ‘true’ branch...
systemd-258/src/basic/escape.c:424:20: branch_true: ...to here
systemd-258/src/basic/alloc-util.h:89:13: call_function: inlined call to ‘size_multiply_overflow’ from ‘malloc_multiply’
#   83|   
#   84|   static inline bool size_multiply_overflow(size_t size, size_t need) {
#   85|->         return _unlikely_(need != 0 && size > (SIZE_MAX / need));
#   86|   }
#   87|   

Error: COMPILER_WARNING (CWE-457): [#def25]
systemd-258/src/basic/capability-util.c: scope_hint: In function ‘cap_last_cap’
systemd-258/src/basic/capability-util.c:42:11: warning[-Wuninitialized]: ‘D.10710’ is used uninitialized
#   42 |         c = saved;
#      |         ~~^~~~~~~
systemd-258/src/basic/capability-util.c:42:9: note: ‘D.10710’ was declared here
#   42 |         c = saved;
#      |         ^
#   40|           int r, c;
#   41|   
#   42|->         c = saved;
#   43|           if (c != INT_MAX)
#   44|                   return c;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
systemd-258/src/basic/capability-util.h:38:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘caps’
systemd-258/src/basic/capability-util.c:416:5: enter_function: entry to ‘capability_quintet_enforce’
systemd-258/src/basic/capability-util.c:420:12: branch_true: following ‘true’ branch...
systemd-258/src/basic/capability-util.c:423:21: branch_true: ...to here
systemd-258/src/basic/capability-util.c:424:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/capability-util.c:424:20: branch_false: ...to here
systemd-258/src/basic/capability-util.c:429:38: branch_false: following ‘false’ branch...
systemd-258/src/basic/capability-util.c:453:20: branch_false: ...to here
systemd-258/src/basic/capability-util.c:453:20: branch_false: following ‘false’ branch (when ‘changed == 0’)...
systemd-258/src/basic/capability-util.c:457:50: branch_false: ...to here
systemd-258/src/basic/capability-util.c:457:21: call_function: calling ‘capability_ambient_set_apply’ from ‘capability_quintet_enforce’
#   36|   int keep_capability(cap_value_t cv);
#   37|   
#   38|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(cap_t, cap_free, NULL);
#   39|   #define _cleanup_cap_free_ _cleanup_(cap_freep)
#   40|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
systemd-258/src/basic/capability-util.h:38:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
systemd-258/src/basic/capability-util.c:420:12: branch_true: following ‘true’ branch...
systemd-258/src/basic/capability-util.c:423:21: branch_true: ...to here
systemd-258/src/basic/capability-util.c:423:21: throw: if ‘cap_get_proc’ throws an exception...
systemd-258/src/basic/capability-util.c:417:34: call_function: inlined call to ‘cap_freep’ from ‘capability_quintet_enforce’
#   36|   int keep_capability(cap_value_t cv);
#   37|   
#   38|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(cap_t, cap_free, NULL);
#   39|   #define _cleanup_cap_free_ _cleanup_(cap_freep)
#   40|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
systemd-258/src/basic/capability-util.h:38:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘modified’
systemd-258/src/basic/capability-util.c:416:5: enter_function: entry to ‘capability_quintet_enforce’
systemd-258/src/basic/capability-util.c:420:12: branch_true: following ‘true’ branch...
systemd-258/src/basic/capability-util.c:423:21: branch_true: ...to here
systemd-258/src/basic/capability-util.c:424:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/capability-util.c:424:20: branch_false: ...to here
systemd-258/src/basic/capability-util.c:429:43: call_function: calling ‘cap_last_cap’ from ‘capability_quintet_enforce’
systemd-258/src/basic/capability-util.c:417:44: call_function: inlined call to ‘cap_freep’ from ‘capability_quintet_enforce’
#   36|   int keep_capability(cap_value_t cv);
#   37|   
#   38|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(cap_t, cap_free, NULL);
#   39|   #define _cleanup_cap_free_ _cleanup_(cap_freep)
#   40|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
systemd-258/src/basic/chase.c:250:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(path)’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#  248|            * a relative path would be interpreted relative to the current working directory. Also, let's make
#  249|            * the result absolute when the file descriptor of the root directory is specified. */
#  250|->         r = chaseat_needs_absolute(dir_fd, path);
#  251|           if (r < 0)
#  252|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
systemd-258/src/basic/chase.c:265:34: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(path)’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#  263|            * semantics, if the path is relative, resolve against the current working directory. Otherwise,
#  264|            * resolve against root. */
#  265|->         fd = openat(dir_fd, done ?: ".", O_CLOEXEC|O_DIRECTORY|O_PATH);
#  266|           if (fd < 0)
#  267|                   return -errno;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
systemd-258/src/basic/chase.c:316:29: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(e, (long unsigned int)path_find_first_component(&todo, 1, & e))’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#  314|                           /* If we already are at the top, then going up will not change anything. This is
#  315|                            * in-line with how the kernel handles this. */
#  316|->                         if (empty_or_root(done) && FLAGS_SET(flags, CHASE_AT_RESOLVE_IN_ROOT)) {
#  317|                                   if (FLAGS_SET(flags, CHASE_STEP))
#  318|                                           goto chased_one;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
systemd-258/src/basic/chase.c:406:86: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(e, (long unsigned int)path_find_first_component(&todo, 1, & e))’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#  404|   
#  405|                   /* Otherwise let's pin it by file descriptor, via O_PATH. */
#  406|->                 child = r = openat_opath_with_automount(fd, first, /* automount = */ FLAGS_SET(flags, CHASE_TRIGGER_AUTOFS));
#  407|                   if (r < 0) {
#  408|                           if (r != -ENOENT)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
systemd-258/src/basic/chase.c:603:1: warning[-Wanalyzer-malloc-leak]: leak of ‘done’
systemd-258/src/basic/chase.c:1150:5: enter_function: entry to ‘chase_and_unlinkat’
systemd-258/src/basic/chase.c:1155:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1156:9: branch_false: ...to here
systemd-258/src/basic/chase.c:1156:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1158:45: branch_false: ...to here
systemd-258/src/basic/chase.c:1158:14: call_function: calling ‘chase_and_openat’ from ‘chase_and_unlinkat’
#  601|   
#  602|           return 0;
#  603|-> }
#  604|   
#  605|   int chase(const char *path, const char *root, ChaseFlags flags, char **ret_path, int *ret_fd) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
systemd-258/src/basic/compress.c:1054:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(524288)’
systemd-258/src/basic/compress.c:1037:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/compress.c:1040:13: branch_false: ...to here
systemd-258/src/basic/compress.c:1041:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/compress.c:1044:13: branch_false: ...to here
systemd-258/src/basic/compress.c:1044:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/compress.c:1050:15: branch_false: ...to here
systemd-258/src/basic/compress.c:1050:15: acquire_memory: allocated here
systemd-258/src/basic/compress.c:1051:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/compress.c:1054:26: branch_false: ...to here
systemd-258/src/basic/compress.c:1055:12: branch_false: following ‘false’ branch (when ‘src != 18446744073709551615’)...
systemd-258/src/basic/compress.c:1055:12: branch_false: ...to here
systemd-258/src/basic/compress.c:1058:16: branch_false: following ‘false’ branch...
systemd-258/src/basic/compress.c:1082:12: branch_false: ...to here
systemd-258/src/basic/compress.c:1082:12: branch_true: following ‘true’ branch (when ‘total_in == 0’)...
systemd-258/src/basic/compress.c:1083:17: branch_true: ...to here
systemd-258/src/basic/compress.c:1083:17: branch_true: following ‘true’ branch...
systemd-258/src/basic/compress.c:1083:17: branch_true: ...to here
systemd-258/src/basic/compress.c:1083:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/basic/compress.c:1054:26: danger: ‘malloc(524288)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
# 1052|                   return -ENOMEM;
# 1053|   
# 1054|->         src = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, in, 0);
# 1055|           if (src == MAP_FAILED)
# 1056|                   return -errno;

Error: GCC_ANALYZER_WARNING (CWE-404): [#def35]
systemd-258/src/basic/dlfcn-util.c:10:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/basic/dlfcn-util.c:49:5: enter_function: entry to ‘dlopen_many_sym_or_warn_sentinel’
systemd-258/src/basic/dlfcn-util.c:53:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/dlfcn-util.c:56:14: branch_false: ...to here
systemd-258/src/basic/dlfcn-util.c:57:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/dlfcn-util.c:61:9: branch_false: ...to here
systemd-258/src/basic/dlfcn-util.c:64:9: acquire_resource: ‘va_start’ called here
systemd-258/src/basic/dlfcn-util.c:65:13: call_function: calling ‘dlsym_many_or_warnv’ from ‘dlopen_many_sym_or_warn_sentinel’
systemd-258/src/basic/dlfcn-util.c:50:35: call_function: inlined call to ‘dlclosep’ from ‘dlopen_many_sym_or_warn_sentinel’
#    8|                   return NULL;
#    9|   
#   10|->         assert_se(dlclose(dl) == 0);
#   11|           return NULL;
#   12|   }

Error: GCC_ANALYZER_WARNING (CWE-404): [#def36]
systemd-258/src/basic/dlfcn-util.h:11:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/basic/dlfcn-util.c:49:5: enter_function: entry to ‘dlopen_many_sym_or_warn_sentinel’
systemd-258/src/basic/dlfcn-util.c:53:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/dlfcn-util.c:56:14: branch_false: ...to here
systemd-258/src/basic/dlfcn-util.c:57:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/dlfcn-util.c:61:9: branch_false: ...to here
systemd-258/src/basic/dlfcn-util.c:64:9: acquire_resource: ‘va_start’ called here
systemd-258/src/basic/dlfcn-util.c:65:13: call_function: calling ‘dlsym_many_or_warnv’ from ‘dlopen_many_sym_or_warn_sentinel’
systemd-258/src/basic/dlfcn-util.c:50:35: call_function: inlined call to ‘dlclosep’ from ‘dlopen_many_sym_or_warn_sentinel’
systemd-258/src/basic/dlfcn-util.c:50:35: call_function: inlined call to ‘dlclosep’ from ‘dlopen_many_sym_or_warn_sentinel’
#    9|   
#   10|   static inline void dlclosep(void **dlp) {
#   11|->         safe_dlclose(*dlp);
#   12|   }
#   13|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
systemd-258/src/basic/efivars.c:119:35: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)(st.st_size + -1))’
systemd-258/src/basic/efivars.c:360:16: enter_function: entry to ‘efi_get_secure_boot_mode’
systemd-258/src/basic/efivars.c:363:12: branch_false: following ‘false’ branch...
systemd-258/src/basic/efivars.c:366:22: branch_false: ...to here
systemd-258/src/basic/efivars.c:366:22: call_function: calling ‘read_flag’ from ‘efi_get_secure_boot_mode’
#  117|                           return -ENOMEM;
#  118|   
#  119|->                 n = read(fd, buf, (size_t) st.st_size - 4);
#  120|                   if (n < 0)
#  121|                           return log_debug_errno(errno, "Failed to read value of EFI variable %s: %m", p);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
systemd-258/src/basic/escape.c:556:9: warning[-Wanalyzer-malloc-leak]: leak of ‘shell_maybe_quote(*__unique_prefix_i19,  flags)’
systemd-258/src/basic/escape.c:601:7: enter_function: entry to ‘quote_command_line’
systemd-258/src/basic/escape.c:604:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:604:9: branch_false: ...to here
systemd-258/src/basic/escape.c:606:9: branch_true: following ‘true’ branch...
systemd-258/src/basic/escape.c:609:21: branch_true: ...to here
systemd-258/src/basic/escape.c:609:21: call_function: calling ‘shell_maybe_quote’ from ‘quote_command_line’
systemd-258/src/basic/escape.c:609:21: return_function: returning to ‘quote_command_line’ from ‘shell_maybe_quote’
systemd-258/src/basic/escape.c:610:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/escape.c:613:22: branch_false: ...to here
systemd-258/src/basic/escape.c:613:22: throw: if ‘strextend_with_separator_internal’ throws an exception...
systemd-258/src/basic/escape.c:556:9: danger: ‘shell_maybe_quote(*__unique_prefix_i19,  flags)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/14)
#  554|           char *buf, *t;
#  555|   
#  556|->         assert(s);
#  557|   
#  558|           /* Encloses a string in quotes if necessary to make it OK as a shell string. */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def39]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘child_vsock_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1869:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1873:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1873:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1897:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1914:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1920:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1924:18: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1925:12: branch_true: following ‘true’ branch (when ‘use_vsock != 0’)...
systemd-258/src/vmspawn/vmspawn.c:1928:20: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1928:20: branch_true: following ‘true’ branch (when ‘vhost_device_fd < 0’)...
systemd-258/src/vmspawn/vmspawn.c:1929:42: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1929:42: throw: if ‘open’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1923:29: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def40]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘child’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conn_fd’
systemd-258/src/vmspawn/vmspawn.c:815:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:815:9: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:815:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:811:29: call_function: inlined call to ‘closep’ from ‘vmspawn_dispatch_vsock_connections’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘delegate_userns_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1809:58: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1809:29: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fd_grandparent’
systemd-258/src/basic/chase.c:1150:5: enter_function: entry to ‘chase_and_unlinkat’
systemd-258/src/basic/chase.c:1155:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1156:9: branch_false: ...to here
systemd-258/src/basic/chase.c:1156:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1158:45: branch_false: ...to here
systemd-258/src/basic/chase.c:1158:14: call_function: calling ‘chase_and_openat’ from ‘chase_and_unlinkat’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def44]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fd_parent’
systemd-258/src/basic/chase.c:1175:5: enter_function: entry to ‘chase_and_open_parent_at’
systemd-258/src/basic/chase.c:1178:9: branch_false: following ‘false’ branch...
systemd-258/src/basic/chase.c:1180:35: branch_false: ...to here
systemd-258/src/basic/chase.c:1180:13: call_function: calling ‘chaseat’ from ‘chase_and_open_parent_at’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ifd’
systemd-258/src/vmspawn/vmspawn.c:1512:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1514:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1515:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1518:15: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1519:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1522:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1522:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1528:32: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1528:32: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1528:32: throw: if ‘log_internal’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1523:37: call_function: inlined call to ‘closep’ from ‘merge_initrds’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def46]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘input_fd’
systemd-258/src/coredump/coredump.c:2020:12: enter_function: entry to ‘run’
systemd-258/src/coredump/coredump.c:2038:12: branch_false: following ‘false’ branch...
systemd-258/src/coredump/coredump.c:2043:12: branch_false: ...to here
systemd-258/src/coredump/coredump.c:2043:12: branch_false: following ‘false’ branch...
systemd-258/src/coredump/coredump.c:2048:19: branch_false: ...to here
systemd-258/src/coredump/coredump.c:2048:19: branch_true: following ‘true’ branch...
systemd-258/src/coredump/coredump.c:2049:24: branch_true: ...to here
systemd-258/src/coredump/coredump.c:2049:24: call_function: calling ‘process_socket’ from ‘run’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def47]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘notify_sock_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1657:9: throw: if ‘polkit_agent_open’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1655:9: call_function: calling ‘array_cleanup’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1655:9: return_function: returning to ‘run_virtual_machine’ from ‘array_cleanup’
systemd-258/src/vmspawn/vmspawn.c:1648:36: call_function: calling ‘strv_freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1648:36: return_function: returning to ‘run_virtual_machine’ from ‘strv_freep’
systemd-258/src/vmspawn/vmspawn.c:1647:29: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def48]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ofd’
systemd-258/src/vmspawn/vmspawn.c:1512:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1512:9: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1512:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1509:29: call_function: inlined call to ‘closep’ from ‘merge_initrds’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def49]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘source_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1869:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1873:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1873:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1897:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1914:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1920:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1924:18: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1925:12: branch_false: following ‘false’ branch (when ‘use_vsock == 0’)...
systemd-258/src/vmspawn/vmspawn.c:1954:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1961:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1966:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2019:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:2022:13: call_function: inlined call to ‘strv_extend’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2023:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2026:86: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2027:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2030:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2030:13: call_function: inlined call to ‘ovmf_config_format’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2031:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2034:43: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2035:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:2036:29: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:2038:57: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2038:37: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def50]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tap_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1724:20: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1810:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1811:21: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1811:21: throw: if ‘have_effective_cap’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:1809:58: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def51]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘target_fd’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1869:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1873:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1873:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1897:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1914:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1920:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1924:18: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1925:12: branch_false: following ‘false’ branch (when ‘use_vsock == 0’)...
systemd-258/src/vmspawn/vmspawn.c:1954:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1961:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1966:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2019:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:2022:13: call_function: inlined call to ‘strv_extend’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2023:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2026:86: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2027:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2030:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2030:13: call_function: inlined call to ‘ovmf_config_format’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2031:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2034:43: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2035:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:2036:29: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:2040:21: throw: if ‘tempfn_random_child’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:2038:57: call_function: inlined call to ‘closep’ from ‘run_virtual_machine’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def52]
systemd-258/src/basic/fd-util.h:85:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vsock_fd’
systemd-258/src/ssh-generator/ssh-generator.c:457:12: enter_function: entry to ‘run’
systemd-258/src/ssh-generator/ssh-generator.c:460:9: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:462:13: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:477:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:481:12: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:481:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:484:50: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:486:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:489:30: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:491:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:494:30: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:495:9: call_function: calling ‘add_extra_sockets’ from ‘run’
systemd-258/src/ssh-generator/ssh-generator.c:495:9: return_function: returning to ‘run’ from ‘add_extra_sockets’
systemd-258/src/ssh-generator/ssh-generator.c:497:12: branch_true: following ‘true’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:498:17: branch_true: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:498:17: call_function: calling ‘add_vsock_socket’ from ‘run’
#   83|   
#   84|   static inline void closep(int *fd) {
#   85|->         safe_close(*fd);
#   86|   }
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
systemd-258/src/basic/fd-util.h:89:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<U6b48>[2]’
systemd-258/src/import/importd.c:426:12: enter_function: entry to ‘transfer_start’
systemd-258/src/import/importd.c:430:9: branch_false: following ‘false’ branch...
systemd-258/src/import/importd.c:431:9: call_function: inlined call to ‘pidref_is_set’ from ‘transfer_start’
systemd-258/src/import/importd.c:433:13: branch_false: ...to here
systemd-258/src/import/importd.c:433:12: branch_false: following ‘false’ branch...
systemd-258/src/import/importd.c:436:13: branch_false: ...to here
systemd-258/src/import/importd.c:438:48: branch_false: following ‘false’ branch...
systemd-258/src/import/importd.c:438:33: branch_false: ...to here
systemd-258/src/import/importd.c:436:13: throw: if ‘pidref_safe_fork_full’ throws an exception...
systemd-258/src/import/importd.c:427:34: call_function: inlined call to ‘close_pairp’ from ‘transfer_start’
#   87|   
#   88|   static inline void close_pairp(int (*p)[2]) {
#   89|->         safe_close_pair(*p);
#   90|   }
#   91|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
systemd-258/src/basic/fd-util.h:97:1: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/run/systemd/machines")’
systemd-258/src/machine/machined.c:166:12: enter_function: entry to ‘manager_enumerate_machines’
systemd-258/src/machine/machined.c:170:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:172:13: branch_false: ...to here
systemd-258/src/machine/machined.c:173:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:177:13: branch_false: ...to here
systemd-258/src/machine/machined.c:177:13: acquire_memory: allocated here
systemd-258/src/machine/machined.c:178:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:185:9: branch_false: ...to here
systemd-258/src/machine/machined.c:185:9: throw: if ‘readdir_ensure_type’ throws an exception...
systemd-258/src/machine/machined.c:167:33: call_function: inlined call to ‘closedirp’ from ‘manager_enumerate_machines’
#   95|   
#   96|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL);
#   97|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
#   98|   
#   99|   #define _cleanup_close_ _cleanup_(closep)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
systemd-258/src/basic/fd-util.h:97:1: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&buf)’
systemd-258/src/udev/udev-rules.c:3230:5: enter_function: entry to ‘udev_rules_apply_to_event’
systemd-258/src/udev/udev-rules.c:3233:9: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-rules.c:3234:9: branch_false: ...to here
systemd-258/src/udev/udev-rules.c:3234:9: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-rules.c:3236:9: branch_false: ...to here
systemd-258/src/udev/udev-rules.c:3236:9: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
systemd-258/src/udev/udev-rules.c:3236:9: branch_true: ...to here
systemd-258/src/udev/udev-rules.c:3238:29: call_function: calling ‘udev_rule_apply_line_to_event’ from ‘udev_rules_apply_to_event’
#   95|   
#   96|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL);
#   97|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
#   98|   
#   99|   #define _cleanup_close_ _cleanup_(closep)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
systemd-258/src/basic/fd-util.h:97:1: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fn)’
systemd-258/src/shared/cgroup-show.c:368:5: enter_function: entry to ‘show_cgroup_and_extra’
systemd-258/src/shared/cgroup-show.c:379:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/cgroup-show.c:381:13: branch_false: ...to here
systemd-258/src/shared/cgroup-show.c:381:13: call_function: calling ‘show_cgroup’ from ‘show_cgroup_and_extra’
#   95|   
#   96|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL);
#   97|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
#   98|   
#   99|   #define _cleanup_close_ _cleanup_(closep)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
systemd-258/src/basic/fd-util.h:97:1: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(get_home_root())’
systemd-258/src/home/homed-manager.c:997:5: enter_function: entry to ‘manager_enumerate_images’
systemd-258/src/home/homed-manager.c:1000:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1002:14: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1002:12: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1005:13: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1005:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1006:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1010:9: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1010:9: throw: if ‘readdir_ensure_type’ throws an exception...
systemd-258/src/home/homed-manager.c:998:33: call_function: inlined call to ‘closedirp’ from ‘manager_enumerate_images’
#   95|   
#   96|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL);
#   97|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
#   98|   
#   99|   #define _cleanup_close_ _cleanup_(closep)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
systemd-258/src/basic/fd-util.h:97:1: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(home_system_blob_dir())’
systemd-258/src/home/homed-manager.c:1661:12: enter_function: entry to ‘manager_gc_blob’
systemd-258/src/home/homed-manager.c:1665:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1667:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1667:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1668:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1674:9: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1674:9: throw: if ‘readdir_ensure_type’ throws an exception...
systemd-258/src/home/homed-manager.c:1662:33: call_function: inlined call to ‘closedirp’ from ‘manager_gc_blob’
#   95|   
#   96|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL);
#   97|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL);
#   98|   
#   99|   #define _cleanup_close_ _cleanup_(closep)

Error: COMPILER_WARNING: [#def59] [important]
systemd-258/src/basic/fs-util.c:299:13: error[-Wimplicit-function-declaration]: implicit declaration of function ‘fchmodat2’; did you mean ‘fchmodat’?
#  297|           assert(fd >= 0);
#  298|   
#  299|->         if (fchmodat2(fd, "", m, AT_EMPTY_PATH) >= 0)
#  300|                   return 0;
#  301|           if (!IN_SET(errno, ENOSYS, EPERM)) /* Some container managers block unknown syscalls with EPERM */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
systemd-258/src/basic/hashmap.h:65:24: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
systemd-258/src/sysupdate/sysupdate.c:1467:12: enter_function: entry to ‘verb_pending_or_reboot’
systemd-258/src/sysupdate/sysupdate.c:1472:9: branch_false: following ‘false’ branch...
systemd-258/src/sysupdate/sysupdate.c:1474:13: branch_false: ...to here
systemd-258/src/sysupdate/sysupdate.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/sysupdate/sysupdate.c:1478:13: call_function: calling ‘context_make_offline’ from ‘verb_pending_or_reboot’
systemd-258/src/sysupdate/sysupdate.c:1478:13: return_function: returning to ‘verb_pending_or_reboot’ from ‘context_make_offline’
systemd-258/src/sysupdate/sysupdate.c:1479:12: branch_false: following ‘false’ branch...
systemd-258/src/sysupdate/sysupdate.c:1482:9: branch_false: ...to here
systemd-258/src/sysupdate/sysupdate.c:1482:9: branch_true: following ‘true’ branch...
systemd-258/src/sysupdate/sysupdate.c:1482:9: call_function: inlined call to ‘glyph’ from ‘verb_pending_or_reboot’
systemd-258/src/sysupdate/sysupdate.c:1482:9: throw: if ‘log_internal’ throws an exception...
systemd-258/src/sysupdate/sysupdate.c:1468:43: call_function: inlined call to ‘context_freep’ from ‘verb_pending_or_reboot’
#   63|   HashmapBase* _hashmap_free(HashmapBase *h);
#   64|   static inline Hashmap* hashmap_free(Hashmap *h) {
#   65|->         return (void*) _hashmap_free(HASHMAP_BASE(h));
#   66|   }
#   67|   static inline OrderedHashmap* ordered_hashmap_free(OrderedHashmap *h) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
systemd-258/src/basic/hashmap.h:65:24: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#   63|   HashmapBase* _hashmap_free(HashmapBase *h);
#   64|   static inline Hashmap* hashmap_free(Hashmap *h) {
#   65|->         return (void*) _hashmap_free(HASHMAP_BASE(h));
#   66|   }
#   67|   static inline OrderedHashmap* ordered_hashmap_free(OrderedHashmap *h) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
systemd-258/src/basic/hashmap.h:68:24: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#   66|   }
#   67|   static inline OrderedHashmap* ordered_hashmap_free(OrderedHashmap *h) {
#   68|->         return (void*) _hashmap_free(HASHMAP_BASE(h));
#   69|   }
#   70|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
systemd-258/src/basic/parse-util.h:76:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(&*dentry.d_name, "i"), (long unsigned int)(endswith(<unknown>, ".userns") - <unknown>))’
systemd-258/src/nsresourced/nsresourced-manager.c:381:12: enter_function: entry to ‘manager_scan_registry’
systemd-258/src/nsresourced/nsresourced-manager.c:385:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:389:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:393:28: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:394:41: branch_true: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:400:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:403:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:404:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:407:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:407:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourced-manager.c:408:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:411:21: call_function: inlined call to ‘safe_atou64’ from ‘manager_scan_registry’
#   74|   
#   75|   static inline int safe_atollu(const char *s, unsigned long long *ret_llu) {
#   76|->         return safe_atollu_full(s, 0, ret_llu);
#   77|   }
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
systemd-258/src/basic/pidref.h:102:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
systemd-258/src/test/test-namespace.c:436:1: enter_function: entry to ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:442:9: branch_false: following ‘false’ branch (when ‘_result >= 0’)...
systemd-258/src/test/test-namespace.c:444:9: call_function: inlined call to ‘pidref_safe_fork’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:444:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:445:12: branch_false: ...to here
systemd-258/src/test/test-namespace.c:445:12: branch_true: following ‘true’ branch...
systemd-258/src/test/test-namespace.c:446:24: branch_true: ...to here
systemd-258/src/test/test-namespace.c:448:17: throw: if ‘detach_mount_namespace_harder’ throws an exception...
systemd-258/src/test/test-namespace.c:438:34: call_function: inlined call to ‘close_pairp’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:437:52: call_function: inlined call to ‘pidref_done_sigkill_wait’ from ‘test_detach_mount_namespace_harder’
#  100|                   return;
#  101|   
#  102|->         (void) pidref_kill(pidref, SIGKILL);
#  103|           (void) pidref_wait_for_terminate(pidref, NULL);
#  104|           pidref_done(pidref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
systemd-258/src/basic/pidref.h:103:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
systemd-258/src/test/test-namespace.c:436:1: enter_function: entry to ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:442:9: branch_false: following ‘false’ branch (when ‘_result >= 0’)...
systemd-258/src/test/test-namespace.c:444:9: call_function: inlined call to ‘pidref_safe_fork’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:444:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:445:12: branch_false: ...to here
systemd-258/src/test/test-namespace.c:445:12: branch_true: following ‘true’ branch...
systemd-258/src/test/test-namespace.c:446:24: branch_true: ...to here
systemd-258/src/test/test-namespace.c:448:17: throw: if ‘detach_mount_namespace_harder’ throws an exception...
systemd-258/src/test/test-namespace.c:438:34: call_function: inlined call to ‘close_pairp’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:437:52: call_function: inlined call to ‘pidref_done_sigkill_wait’ from ‘test_detach_mount_namespace_harder’
#  101|   
#  102|           (void) pidref_kill(pidref, SIGKILL);
#  103|->         (void) pidref_wait_for_terminate(pidref, NULL);
#  104|           pidref_done(pidref);
#  105|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
systemd-258/src/basic/pidref.h:104:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
systemd-258/src/test/test-namespace.c:436:1: enter_function: entry to ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:442:9: branch_false: following ‘false’ branch (when ‘_result >= 0’)...
systemd-258/src/test/test-namespace.c:444:9: call_function: inlined call to ‘pidref_safe_fork’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:444:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:445:12: branch_false: ...to here
systemd-258/src/test/test-namespace.c:445:12: branch_true: following ‘true’ branch...
systemd-258/src/test/test-namespace.c:446:24: branch_true: ...to here
systemd-258/src/test/test-namespace.c:448:17: throw: if ‘detach_mount_namespace_harder’ throws an exception...
systemd-258/src/test/test-namespace.c:438:34: call_function: inlined call to ‘close_pairp’ from ‘test_detach_mount_namespace_harder’
systemd-258/src/test/test-namespace.c:437:52: call_function: inlined call to ‘pidref_done_sigkill_wait’ from ‘test_detach_mount_namespace_harder’
#  102|           (void) pidref_kill(pidref, SIGKILL);
#  103|           (void) pidref_wait_for_terminate(pidref, NULL);
#  104|->         pidref_done(pidref);
#  105|   }
#  106|   

Error: COMPILER_WARNING (CWE-704): [#def67]
systemd-258/src/basic/sort-util.c: scope_hint: In function ‘bsearch_safe’
systemd-258/src/basic/sort-util.c:43:16: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   43 |         return bsearch(key, base, nmemb, size, compar);
#      |                ^~~~~~~
#   41|   
#   42|           assert(base);
#   43|->         return bsearch(key, base, nmemb, size, compar);
#   44|   }
#   45|   

Error: COMPILER_WARNING (CWE-704): [#def68]
systemd-258/src/basic/sort-util.c:43:16: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   41|   
#   42|           assert(base);
#   43|->         return bsearch(key, base, nmemb, size, compar);
#   44|   }
#   45|   

Error: COMPILER_WARNING (CWE-704): [#def69]
systemd-258/src/basic/string-util.c: scope_hint: In function ‘find_line_startswith’
systemd-258/src/basic/string-util.c:1351:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1351 |         p = strstr(haystack, needle);
#      |           ^
# 1349|            * first character after it */
# 1350|   
# 1351|->         p = strstr(haystack, needle);
# 1352|           if (!p)
# 1353|                   return NULL;

Error: COMPILER_WARNING (CWE-704): [#def70]
systemd-258/src/basic/string-util.c:1351:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1349|            * first character after it */
# 1350|   
# 1351|->         p = strstr(haystack, needle);
# 1352|           if (!p)
# 1353|                   return NULL;

Error: COMPILER_WARNING (CWE-704): [#def71]
systemd-258/src/basic/string-util.c: scope_hint: In function ‘strrstr’
systemd-258/src/basic/string-util.c:1502:24: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
# 1502 |                 return strchr(haystack, 0);
#      |                        ^~~~~~
# 1500|            * last char, not before. */
# 1501|           if (*needle == 0)
# 1502|->                 return strchr(haystack, 0);
# 1503|   
# 1504|           for (const char *p = strstr(haystack, needle), *q; p; p = q) {

Error: COMPILER_WARNING (CWE-704): [#def72]
systemd-258/src/basic/string-util.c:1502:24: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
# 1500|            * last char, not before. */
# 1501|           if (*needle == 0)
# 1502|->                 return strchr(haystack, 0);
# 1503|   
# 1504|           for (const char *p = strstr(haystack, needle), *q; p; p = q) {

Error: COMPILER_WARNING (CWE-704): [#def73]
systemd-258/src/basic/af-list.c:7: included_from: Included from here.
systemd-258/src/basic/string-util.h: scope_hint: In function ‘strstr_ptr’
systemd-258/src/basic/string-util.h:13:16: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   13 |         return strstr(haystack, needle);
#      |                ^~~~~~
#   11|           if (!haystack || !needle)
#   12|                   return NULL;
#   13|->         return strstr(haystack, needle);
#   14|   }
#   15|   

Error: COMPILER_WARNING (CWE-704): [#def74]
systemd-258/src/basic/string-util.h:13:16: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   11|           if (!haystack || !needle)
#   12|                   return NULL;
#   13|->         return strstr(haystack, needle);
#   14|   }
#   15|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
systemd-258/src/basic/strv.h:20:1: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(*c.parameter, "device-tree-compatible("), (long unsigned int)(end - <unknown>))’
systemd-258/src/shared/condition.c:594:12: enter_function: entry to ‘condition_test_firmware’
systemd-258/src/shared/condition.c:598:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:599:9: branch_false: ...to here
systemd-258/src/shared/condition.c:599:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:600:9: branch_false: ...to here
systemd-258/src/shared/condition.c:600:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:602:13: branch_false: ...to here
systemd-258/src/shared/condition.c:602:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/shared/condition.c:609:27: branch_false: ...to here
systemd-258/src/shared/condition.c:609:19: branch_true: following ‘true’ branch...
systemd-258/src/shared/condition.c:613:23: branch_true: ...to here
systemd-258/src/shared/condition.c:614:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:619:27: acquire_memory: allocated here
systemd-258/src/shared/condition.c:620:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:623:24: branch_false: ...to here
systemd-258/src/shared/condition.c:623:24: call_function: calling ‘condition_test_firmware_devicetree_compatible’ from ‘condition_test_firmware’
systemd-258/src/basic/strv.h:20:1: danger: ‘strndup(startswith(*c.parameter, "device-tree-compatible("), (long unsigned int)(end - <unknown>))’ leaks here; was allocated at [(14)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/13)
#   18|   
#   19|   char** strv_free(char **l);
#   20|-> DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free);
#   21|   #define _cleanup_strv_free_ _cleanup_(strv_freep)
#   22|   

Error: COMPILER_WARNING (CWE-704): [#def76]
systemd-258/src/basic/unit-name.c:228:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  226|                   return -EINVAL;
#  227|   
#  228|->         assert_se(e = strrchr(n, '.'));
#  229|   
#  230|           a = e - n;

Error: COMPILER_WARNING (CWE-704): [#def77]
systemd-258/src/fundamental/assert-fundamental.h:8: included_from: Included from here.
systemd-258/src/basic/assert-util.h:4: included_from: Included from here.
systemd-258/src/basic/forward.h:17: included_from: Included from here.
systemd-258/src/basic/alloc-util.h:6: included_from: Included from here.
systemd-258/src/basic/unit-name.c:5: included_from: Included from here.
systemd-258/src/basic/unit-name.c: scope_hint: In function ‘unit_name_change_suffix’
systemd-258/src/basic/unit-name.c:228:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  228 |         assert_se(e = strrchr(n, '.'));
#      |                     ^
systemd-258/src/fundamental/macro-fundamental.h:95:44: note: in definition of macro ‘_unlikely_’
#   95 | #define _unlikely_(x) (__builtin_expect(!!(x), 0))
#      |                                            ^
systemd-258/src/fundamental/assert-fundamental.h:65:25: note: in expansion of macro ‘assert_message_se’
#   65 | #define assert_se(expr) assert_message_se(expr, #expr)
#      |                         ^~~~~~~~~~~~~~~~~
systemd-258/src/basic/unit-name.c:228:9: note: in expansion of macro ‘assert_se’
#  228 |         assert_se(e = strrchr(n, '.'));
#      |         ^~~~~~~~~
#  226|                   return -EINVAL;
#  227|   
#  228|->         assert_se(e = strrchr(n, '.'));
#  229|   
#  230|           a = e - n;

Error: COMPILER_WARNING (CWE-704): [#def78]
systemd-258/src/basic/unit-name.c:529:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  527|                   return false;
#  528|   
#  529|->         assert_se(s = strrchr(name, '.'));
#  530|   
#  531|           if (s - name < UNIT_NAME_HASH_LENGTH_CHARS + 1)

Error: COMPILER_WARNING (CWE-704): [#def79]
systemd-258/src/basic/unit-name.c: scope_hint: In function ‘unit_name_is_hashed’
systemd-258/src/basic/unit-name.c:529:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  529 |         assert_se(s = strrchr(name, '.'));
#      |                     ^
systemd-258/src/fundamental/macro-fundamental.h:95:44: note: in definition of macro ‘_unlikely_’
#   95 | #define _unlikely_(x) (__builtin_expect(!!(x), 0))
#      |                                            ^
systemd-258/src/fundamental/assert-fundamental.h:65:25: note: in expansion of macro ‘assert_message_se’
#   65 | #define assert_se(expr) assert_message_se(expr, #expr)
#      |                         ^~~~~~~~~~~~~~~~~
systemd-258/src/basic/unit-name.c:529:9: note: in expansion of macro ‘assert_se’
#  529 |         assert_se(s = strrchr(name, '.'));
#      |         ^~~~~~~~~
#  527|                   return false;
#  528|   
#  529|->         assert_se(s = strrchr(name, '.'));
#  530|   
#  531|           if (s - name < UNIT_NAME_HASH_LENGTH_CHARS + 1)

Error: COMPILER_WARNING (CWE-704): [#def80]
systemd-258/src/basic/unit-name.c: scope_hint: In function ‘unit_name_hash_long’
systemd-258/src/basic/unit-name.c:554:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  554 |         suffix = strrchr(name, '.');
#      |                ^
#  552|                   return -EMSGSIZE;
#  553|   
#  554|->         suffix = strrchr(name, '.');
#  555|           if (!suffix)
#  556|                   return -EINVAL;

Error: COMPILER_WARNING (CWE-704): [#def81]
systemd-258/src/basic/unit-name.c:554:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  552|                   return -EMSGSIZE;
#  553|   
#  554|->         suffix = strrchr(name, '.');
#  555|           if (!suffix)
#  556|                   return -EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
systemd-258/src/basic/user-util.c:1093:21: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, bufsize + 48)’
systemd-258/src/basic/user-util.c:1075:5: enter_function: entry to ‘getpwnam_malloc’
systemd-258/src/basic/user-util.c:1088:23: acquire_memory: allocated here
systemd-258/src/basic/user-util.c:1089:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/user-util.c:1092:32: branch_false: ...to here
systemd-258/src/basic/user-util.c:1093:21: throw: if ‘getpwnam_r’ throws an exception...
systemd-258/src/basic/user-util.c:1093:21: danger: ‘calloc(1, bufsize + 48)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
# 1091|   
# 1092|                   struct passwd *pw = NULL;
# 1093|->                 r = getpwnam_r(name, buf, (char*) buf + ALIGN(sizeof(struct passwd)), (size_t) bufsize, &pw);
# 1094|                   if (r == 0) {
# 1095|                           if (pw) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
systemd-258/src/basic/user-util.c:1134:21: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, bufsize + 48)’
systemd-258/src/basic/user-util.c:1123:12: branch_true: following ‘true’ branch...
systemd-258/src/basic/user-util.c:1123:12: branch_true: ...to here
systemd-258/src/basic/user-util.c:1129:23: acquire_memory: allocated here
systemd-258/src/basic/user-util.c:1130:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/user-util.c:1133:32: branch_false: ...to here
systemd-258/src/basic/user-util.c:1134:21: throw: if ‘getpwuid_r’ throws an exception...
systemd-258/src/basic/user-util.c:1134:21: danger: ‘calloc(1, bufsize + 48)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
# 1132|   
# 1133|                   struct passwd *pw = NULL;
# 1134|->                 r = getpwuid_r(uid, buf, (char*) buf + ALIGN(sizeof(struct passwd)), (size_t) bufsize, &pw);
# 1135|                   if (r == 0) {
# 1136|                           if (pw) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
systemd-258/src/basic/user-util.c:1178:21: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, bufsize + 32)’
systemd-258/src/basic/user-util.c:1163:5: enter_function: entry to ‘getgrnam_malloc’
systemd-258/src/basic/user-util.c:1173:23: acquire_memory: allocated here
systemd-258/src/basic/user-util.c:1174:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/user-util.c:1177:31: branch_false: ...to here
systemd-258/src/basic/user-util.c:1178:21: throw: if ‘getgrnam_r’ throws an exception...
systemd-258/src/basic/user-util.c:1178:21: danger: ‘calloc(1, bufsize + 32)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
# 1176|   
# 1177|                   struct group *gr = NULL;
# 1178|->                 r = getgrnam_r(name, buf, (char*) buf + ALIGN(sizeof(struct group)), (size_t) bufsize, &gr);
# 1179|                   if (r == 0) {
# 1180|                           if (gr) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
systemd-258/src/basic/user-util.c:1217:21: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, bufsize + 32)’
systemd-258/src/basic/user-util.c:1206:12: branch_true: following ‘true’ branch...
systemd-258/src/basic/user-util.c:1206:12: branch_true: ...to here
systemd-258/src/basic/user-util.c:1212:23: acquire_memory: allocated here
systemd-258/src/basic/user-util.c:1213:20: branch_false: following ‘false’ branch...
systemd-258/src/basic/user-util.c:1216:31: branch_false: ...to here
systemd-258/src/basic/user-util.c:1217:21: throw: if ‘getgrgid_r’ throws an exception...
systemd-258/src/basic/user-util.c:1217:21: danger: ‘calloc(1, bufsize + 32)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
# 1215|   
# 1216|                   struct group *gr = NULL;
# 1217|->                 r = getgrgid_r(gid, buf, (char*) buf + ALIGN(sizeof(struct group)), (size_t) bufsize, &gr);
# 1218|                   if (r == 0) {
# 1219|                           if (gr) {

Error: COMPILER_WARNING: [#def86]
systemd-258/src/boot/efi-string.c:1027:11: warning: ‘memchr’ redefined
# 1027 | #  define memchr efi_memchr
#      |           ^~~~~~
systemd-258/src/fundamental/efi-fundamental.h:16: included_from: Included from here.
systemd-258/src/boot/efi.h:14: included_from: Included from here.
systemd-258/src/boot/efi-string.h:4: included_from: Included from here.
systemd-258/src/boot/efi-string.c:3: included_from: Included from here.
/usr/include/string.h:121:11: note: this is the location of the previous definition
#  121 | #  define memchr(S, C, N)                                       \
#      |           ^~~~~~
# 1025|   #else
# 1026|   /* And for userspace unit testing we need to give them an efi_ prefix. */
# 1027|-> #  define memchr efi_memchr
# 1028|   #  define memcmp efi_memcmp
# 1029|   #  define memcpy efi_memcpy

Error: COMPILER_WARNING: [#def87]
systemd-258/src/boot/efi-string.c:1027:11: warning[warning]: ‘memchr’ redefined
# 1025|   #else
# 1026|   /* And for userspace unit testing we need to give them an efi_ prefix. */
# 1027|-> #  define memchr efi_memchr
# 1028|   #  define memcmp efi_memcmp
# 1029|   #  define memcpy efi_memcpy

Error: COMPILER_WARNING (CWE-697): [#def88]
systemd-258/src/core/exec-invoke.c: scope_hint: In function ‘build_environment’
systemd-258/src/core/exec-invoke.c:2106:17: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘invocation_id_string’ will never be NULL
# 2106 |                 assert(p->invocation_id_string);
#      |                 ^~~~~~
systemd-258/src/core/exec-invoke.c:46: included_from: Included from here.
systemd-258/src/core/execute.h:443:14: note: ‘invocation_id_string’ declared here
#  443 |         char invocation_id_string[SD_ID128_STRING_MAX];
#      |              ^~~~~~~~~~~~~~~~~~~~
# 2104|   
# 2105|           if (!sd_id128_is_null(p->invocation_id)) {
# 2106|->                 assert(p->invocation_id_string);
# 2107|   
# 2108|                   x = strjoin("INVOCATION_ID=", p->invocation_id_string);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def89]
systemd-258/src/core/ima-setup.c:55:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/sys/kernel/security/ima/policy", 524289)’
systemd-258/src/core/ima-setup.c:27:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:32:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:32:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:37:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:37:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:42:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:42:17: acquire_resource: opened here
systemd-258/src/core/ima-setup.c:43:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:49:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:49:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:53:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:54:12: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:55:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:55:17: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:55:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:55:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/core/ima-setup.c:55:17: danger: ‘open("/sys/kernel/security/ima/policy", 524289)’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
#   53|           input = fopen(IMA_POLICY_PATH, "re");
#   54|           if (!input) {
#   55|->                 log_warning_errno(errno, "Failed to open the IMA custom policy file "IMA_POLICY_PATH", ignoring: %m");
#   56|                   return 0;
#   57|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
systemd-258/src/core/ima-setup.c:63:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/etc/ima/ima-policy", "re")’
systemd-258/src/core/ima-setup.c:27:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:32:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:32:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:37:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:37:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:42:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:43:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:49:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:49:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:53:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:53:17: acquire_resource: opened here
systemd-258/src/core/ima-setup.c:54:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:59:9: branch_false: ...to here
systemd-258/src/core/ima-setup.c:62:12: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:63:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:63:17: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:63:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:63:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/core/ima-setup.c:63:17: danger: ‘fopen("/etc/ima/ima-policy", "re")’ leaks here; was opened at [(11)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/10)
#   61|           imafd = open(IMA_SECFS_POLICY, O_WRONLY|O_CLOEXEC);
#   62|           if (imafd < 0) {
#   63|->                 log_error_errno(errno, "Failed to open the IMA kernel interface "IMA_SECFS_POLICY", ignoring: %m");
#   64|                   return 0;
#   65|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
systemd-258/src/core/ima-setup.c:63:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/etc/ima/ima-policy", "re")’
systemd-258/src/core/ima-setup.c:27:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:32:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:32:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:37:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:37:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:42:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:43:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:49:13: branch_false: ...to here
systemd-258/src/core/ima-setup.c:49:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:53:17: branch_false: ...to here
systemd-258/src/core/ima-setup.c:53:17: acquire_memory: allocated here
systemd-258/src/core/ima-setup.c:54:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ima-setup.c:59:9: branch_false: ...to here
systemd-258/src/core/ima-setup.c:62:12: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:63:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:63:17: branch_true: following ‘true’ branch...
systemd-258/src/core/ima-setup.c:63:17: branch_true: ...to here
systemd-258/src/core/ima-setup.c:63:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/core/ima-setup.c:63:17: danger: ‘fopen("/etc/ima/ima-policy", "re")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
#   61|           imafd = open(IMA_SECFS_POLICY, O_WRONLY|O_CLOEXEC);
#   62|           if (imafd < 0) {
#   63|->                 log_error_errno(errno, "Failed to open the IMA kernel interface "IMA_SECFS_POLICY", ignoring: %m");
#   64|                   return 0;
#   65|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
systemd-258/src/core/import-creds.c:228:30: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  226|                                   return log_oom();
#  227|   
#  228|->                         if (!credential_name_valid(n)) {
#  229|                                   log_warning("Credential '%s' has invalid name, ignoring.", d->d_name);
#  230|                                   continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
systemd-258/src/core/import-creds.c:229:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  227|   
#  228|                           if (!credential_name_valid(n)) {
#  229|->                                 log_warning("Credential '%s' has invalid name, ignoring.", d->d_name);
#  230|                                   continue;
#  231|                           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
systemd-258/src/core/import-creds.c:233:31: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  231|                           }
#  232|   
#  233|->                         cfd = openat(source_dir_fd, d->d_name, O_RDONLY|O_CLOEXEC);
#  234|                           if (cfd < 0) {
#  235|                                   log_warning_errno(errno, "Failed to open %s, ignoring: %m", d->d_name);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
systemd-258/src/core/import-creds.c:235:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  233|                           cfd = openat(source_dir_fd, d->d_name, O_RDONLY|O_CLOEXEC);
#  234|                           if (cfd < 0) {
#  235|->                                 log_warning_errno(errno, "Failed to open %s, ignoring: %m", d->d_name);
#  236|                                   continue;
#  237|                           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
systemd-258/src/core/import-creds.c:240:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  238|   
#  239|                           if (fstat(cfd, &st) < 0) {
#  240|->                                 log_warning_errno(errno, "Failed to stat %s, ignoring: %m", d->d_name);
#  241|                                   continue;
#  242|                           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
systemd-258/src/core/import-creds.c:244:29: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  242|                           }
#  243|   
#  244|->                         r = stat_verify_regular(&st);
#  245|                           if (r < 0) {
#  246|                                   log_warning_errno(r, "Credential file %s is not a regular file, ignoring: %m", d->d_name);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
systemd-258/src/core/import-creds.c:246:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  244|                           r = stat_verify_regular(&st);
#  245|                           if (r < 0) {
#  246|->                                 log_warning_errno(r, "Credential file %s is not a regular file, ignoring: %m", d->d_name);
#  247|                                   continue;
#  248|                           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
systemd-258/src/core/import-creds.c:250:62: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*d.d_name, (long unsigned int)(endswith(<unknown>, ".cred") - &d_88->d_name))’
systemd-258/src/core/import-creds.c:854:5: enter_function: entry to ‘import_credentials’
systemd-258/src/core/import-creds.c:871:12: branch_false: following ‘false’ branch...
systemd-258/src/core/import-creds.c:889:22: branch_false: ...to here
systemd-258/src/core/import-creds.c:899:21: call_function: calling ‘import_credentials_boot’ from ‘import_credentials’
#  248|                           }
#  249|   
#  250|->                         if (!credential_size_ok(&context, n, st.st_size))
#  251|                                   continue;
#  252|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
systemd-258/src/core/ipe-setup.c:61:32: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(file_name, (long unsigned int)(endswith(<unknown>, ".p7b") - file_name))’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:56:31: acquire_memory: allocated here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:61:32: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:61:32: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:61:32: throw: if ‘log_internal’ throws an exception...
systemd-258/src/core/ipe-setup.c:61:32: danger: ‘strndup(file_name, (long unsigned int)(endswith(<unknown>, ".p7b") - file_name))’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
#   59|   
#   60|                   if (!filename_is_valid(policy_name))
#   61|->                         return log_error_errno(
#   62|                                           SYNTHETIC_ERRNO(EINVAL),
#   63|                                           "Invalid IPE policy name %s",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
systemd-258/src/core/ipe-setup.c:66:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(file_name, (long unsigned int)(endswith(<unknown>, ".p7b") - file_name))’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:56:31: acquire_memory: allocated here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:60:20: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:66:25: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:66:25: throw: if ‘open’ throws an exception...
systemd-258/src/core/ipe-setup.c:66:25: danger: ‘strndup(file_name, (long unsigned int)(endswith(<unknown>, ".p7b") - file_name))’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
#   64|                                           policy_name);
#   65|   
#   66|->                 input = open(*policy, O_RDONLY|O_NOFOLLOW|O_CLOEXEC);
#   67|                   if (input < 0)
#   68|                           return log_error_errno(

Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
systemd-258/src/core/ipe-setup.c:74:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*__unique_prefix_i11, 655360)’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:60:20: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:66:25: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:66:25: acquire_resource: opened here
systemd-258/src/core/ipe-setup.c:67:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:74:31: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:74:31: throw: if ‘path_extend_internal’ throws an exception...
systemd-258/src/core/ipe-setup.c:74:31: danger: ‘open(*__unique_prefix_i11, 655360)’ leaks here; was opened at [(15)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/14)
#   72|   
#   73|                   /* If policy is already installed, try to update it */
#   74|->                 output_path = path_join(IPE_SECFS_POLICIES, policy_name, "update");
#   75|                   if (!output_path)
#   76|                           return log_oom();

Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
systemd-258/src/core/ipe-setup.c:76:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*__unique_prefix_i11, 655360)’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:60:20: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:66:25: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:66:25: acquire_resource: opened here
systemd-258/src/core/ipe-setup.c:67:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:74:31: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:76:32: throw: if ‘log_oom_internal’ throws an exception...
systemd-258/src/core/ipe-setup.c:76:32: danger: ‘open(*__unique_prefix_i11, 655360)’ leaks here; was opened at [(15)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/14)
#   74|                   output_path = path_join(IPE_SECFS_POLICIES, policy_name, "update");
#   75|                   if (!output_path)
#   76|->                         return log_oom();
#   77|   
#   78|                   output = open(output_path, O_WRONLY|O_CLOEXEC);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
systemd-258/src/core/ipe-setup.c:78:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*__unique_prefix_i11, 655360)’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:60:20: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:66:25: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:66:25: acquire_resource: opened here
systemd-258/src/core/ipe-setup.c:67:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:74:31: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:75:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:78:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:78:26: throw: if ‘open’ throws an exception...
systemd-258/src/core/ipe-setup.c:78:26: danger: ‘open(*__unique_prefix_i11, 655360)’ leaks here; was opened at [(15)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/14)
#   76|                           return log_oom();
#   77|   
#   78|->                 output = open(output_path, O_WRONLY|O_CLOEXEC);
#   79|                   if (output < 0 && errno == ENOENT)
#   80|                           /* Policy is not installed, install it and activate it */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
systemd-258/src/core/ipe-setup.c:89:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*__unique_prefix_i11, 655360)’
systemd-258/src/core/ipe-setup.c:21:5: enter_function: entry to ‘ipe_setup’
systemd-258/src/core/ipe-setup.c:30:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:35:13: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:41:12: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:44:9: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:44:9: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:50:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:54:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:54:26: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:56:50: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:57:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:60:22: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:60:20: branch_true: following ‘true’ branch...
systemd-258/src/core/ipe-setup.c:66:25: branch_true: ...to here
systemd-258/src/core/ipe-setup.c:66:25: acquire_resource: opened here
systemd-258/src/core/ipe-setup.c:67:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:74:31: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:75:20: branch_false: following ‘false’ branch...
systemd-258/src/core/ipe-setup.c:78:26: branch_false: ...to here
systemd-258/src/core/ipe-setup.c:89:21: call_function: calling ‘copy_bytes’ from ‘ipe_setup’
systemd-258/src/core/ipe-setup.c:89:21: danger: ‘open(*__unique_prefix_i11, 655360)’ leaks here; was opened at [(16)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/15)
#   87|                   /* The policy is inline signed in binary format, so it has to be copied in one go, otherwise the
#   88|                    * kernel will reject partial inputs with -EBADMSG. */
#   89|->                 r = copy_bytes(input, output, UINT64_MAX, /* copy_flags= */ 0);
#   90|                   if (r < 0)
#   91|                           return log_error_errno(

Error: CPPCHECK_WARNING (CWE-457): [#def106]
systemd-258/src/creds/creds.c:156: error[uninitvar]: Uninitialized variable: &p
#  154|           else {
#  155|                   /* Otherwise take the dirs from the env vars we got passed */
#  156|->                 r = (encrypted ? get_encrypted_credentials_dir : get_credentials_dir)(&p);
#  157|                   if (r == -ENXIO) /* No environment variable? */
#  158|                           goto not_found;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
systemd-258/src/debug-generator/debug-generator.c:338:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(&*de.d_name, "systemd.unit-dropin."), (long unsigned int)(tilde - <unknown>))’
systemd-258/src/debug-generator/debug-generator.c:365:12: enter_function: entry to ‘run’
systemd-258/src/debug-generator/debug-generator.c:369:9: branch_false: following ‘false’ branch...
systemd-258/src/debug-generator/debug-generator.c:371:13: branch_false: ...to here
systemd-258/src/debug-generator/debug-generator.c:382:9: branch_true: following ‘true’ branch (when ‘__unique_prefix__last24 != 31’)...
systemd-258/src/debug-generator/debug-generator.c:382:9: branch_true: ...to here
systemd-258/src/debug-generator/debug-generator.c:386:12: branch_true: following ‘true’ branch...
systemd-258/src/debug-generator/debug-generator.c:387:17: branch_true: ...to here
systemd-258/src/debug-generator/debug-generator.c:387:17: call_function: calling ‘process_unit_credentials’ from ‘run’
#  336|   
#  337|                           if (!unit_name_is_valid(dropin_unit, UNIT_NAME_ANY)) {
#  338|->                                 log_warning("Invalid unit name '%s' in credential '%s', ignoring.",
#  339|                                               dropin_unit, de->d_name);
#  340|                                   continue;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
systemd-258/src/fsck/fsck.c:368:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/dev/console", "we")’
systemd-258/src/fsck/fsck.c:275:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
systemd-258/src/fsck/fsck.c:279:9: branch_false: ...to here
systemd-258/src/fsck/fsck.c:289:12: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:292:12: branch_false: ...to here
systemd-258/src/fsck/fsck.c:292:12: branch_true: following ‘true’ branch (when ‘argc == 2’)...
systemd-258/src/fsck/fsck.c:293:25: branch_true: ...to here
systemd-258/src/fsck/fsck.c:294:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:297:17: branch_false: ...to here
systemd-258/src/fsck/fsck.c:299:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:302:22: branch_false: ...to here
systemd-258/src/fsck/fsck.c:302:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:307:21: branch_false: ...to here
systemd-258/src/fsck/fsck.c:308:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:346:13: branch_false: ...to here
systemd-258/src/fsck/fsck.c:358:25: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:364:19: branch_false: ...to here
systemd-258/src/fsck/fsck.c:364:19: acquire_resource: opened here
systemd-258/src/fsck/fsck.c:365:12: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:365:13: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:368:24: branch_true: ...to here
systemd-258/src/fsck/fsck.c:368:24: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:368:24: branch_true: ...to here
systemd-258/src/fsck/fsck.c:368:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/fsck/fsck.c:368:24: danger: ‘fopen("/dev/console", "we")’ leaks here; was opened at [(17)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/16)
#  366|               show_progress &&
#  367|               pipe(progress_pipe) < 0)
#  368|->                 return log_error_errno(errno, "pipe(): %m");
#  369|   
#  370|           r = safe_fork("(fsck)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG|FORK_RLIMIT_NOFILE_SAFE, &pid);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
systemd-258/src/fsck/fsck.c:368:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/dev/console", "we")’
systemd-258/src/fsck/fsck.c:275:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
systemd-258/src/fsck/fsck.c:279:9: branch_false: ...to here
systemd-258/src/fsck/fsck.c:289:12: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:292:12: branch_false: ...to here
systemd-258/src/fsck/fsck.c:292:12: branch_true: following ‘true’ branch (when ‘argc == 2’)...
systemd-258/src/fsck/fsck.c:293:25: branch_true: ...to here
systemd-258/src/fsck/fsck.c:294:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:297:17: branch_false: ...to here
systemd-258/src/fsck/fsck.c:299:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:302:22: branch_false: ...to here
systemd-258/src/fsck/fsck.c:302:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:307:21: branch_false: ...to here
systemd-258/src/fsck/fsck.c:308:20: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:346:13: branch_false: ...to here
systemd-258/src/fsck/fsck.c:358:25: branch_false: following ‘false’ branch...
systemd-258/src/fsck/fsck.c:364:19: branch_false: ...to here
systemd-258/src/fsck/fsck.c:364:19: acquire_memory: allocated here
systemd-258/src/fsck/fsck.c:365:12: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:365:13: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:368:24: branch_true: ...to here
systemd-258/src/fsck/fsck.c:368:24: branch_true: following ‘true’ branch...
systemd-258/src/fsck/fsck.c:368:24: branch_true: ...to here
systemd-258/src/fsck/fsck.c:368:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/fsck/fsck.c:368:24: danger: ‘fopen("/dev/console", "we")’ leaks here; was allocated at [(17)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/16)
#  366|               show_progress &&
#  367|               pipe(progress_pipe) < 0)
#  368|->                 return log_error_errno(errno, "pipe(): %m");
#  369|   
#  370|           r = safe_fork("(fsck)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG|FORK_RLIMIT_NOFILE_SAFE, &pid);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
systemd-258/src/fundamental/string-util-fundamental.h:86:22: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(&*de.d_name, "systemd.unit-dropin."), (long unsigned int)(tilde - <unknown>))’
systemd-258/src/debug-generator/debug-generator.c:365:12: enter_function: entry to ‘run’
systemd-258/src/debug-generator/debug-generator.c:369:9: branch_false: following ‘false’ branch...
systemd-258/src/debug-generator/debug-generator.c:371:13: branch_false: ...to here
systemd-258/src/debug-generator/debug-generator.c:382:9: branch_true: following ‘true’ branch (when ‘__unique_prefix__last24 != 31’)...
systemd-258/src/debug-generator/debug-generator.c:382:9: branch_true: ...to here
systemd-258/src/debug-generator/debug-generator.c:386:12: branch_true: following ‘true’ branch...
systemd-258/src/debug-generator/debug-generator.c:387:17: branch_true: ...to here
systemd-258/src/debug-generator/debug-generator.c:387:17: call_function: calling ‘process_unit_credentials’ from ‘run’
#   84|   
#   85|   static inline bool isempty(const sd_char *a) {
#   86|->         return !a || a[0] == '\0';
#   87|   }
#   88|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def111]
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘data_to_file(data, (long unsigned int)cunescape_length_with_prefix(sd_json_variant_string(sd_json_variant_by_index(sd_json_variant_by_index(variant,  __unique_prefix_state14.idx), 1)), 18446744073709551615, 0, 3, &data))’
systemd-258/src/fuzz/fuzz-bootspec.c:30:12: enter_function: entry to ‘json_dispatch_entries’
systemd-258/src/fuzz/fuzz-bootspec.c:31:30: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:31:30: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:34:9: branch_true: following ‘true’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:35:20: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:36:21: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:35:21: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:41:38: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: call_function: calling ‘data_to_file’ from ‘json_dispatch_entries’
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: return_function: returning to ‘json_dispatch_entries’ from ‘data_to_file’
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:59:25: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:59:25: throw: if ‘boot_config_load_type1’ throws an exception...
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: danger: ‘data_to_file(data, (long unsigned int)cunescape_length_with_prefix(sd_json_variant_string(sd_json_variant_by_index(sd_json_variant_by_index(variant,  __unique_prefix_state14.idx), 1)), 18446744073709551615, 0, 3, &data))’ leaks here; was opened at [(12)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/11)
#   55|                   if (len >= 0) {
#   56|                           _cleanup_fclose_ FILE *f = NULL;
#   57|->                         assert_se(f = data_to_file((const uint8_t*) data, len));
#   58|   
#   59|                           assert_se(boot_config_load_type1(config, f, "/", BOOT_ENTRY_ESP, "/entries", id) != -ENOMEM);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: warning[-Wanalyzer-malloc-leak]: leak of ‘data_to_file(data, (long unsigned int)cunescape_length_with_prefix(sd_json_variant_string(sd_json_variant_by_index(sd_json_variant_by_index(variant,  __unique_prefix_state14.idx), 1)), 18446744073709551615, 0, 3, &data))’
systemd-258/src/fuzz/fuzz-bootspec.c:30:12: enter_function: entry to ‘json_dispatch_entries’
systemd-258/src/fuzz/fuzz-bootspec.c:31:30: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:31:30: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:34:9: branch_true: following ‘true’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:35:20: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:36:21: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:35:21: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:41:38: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: call_function: calling ‘data_to_file’ from ‘json_dispatch_entries’
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: return_function: returning to ‘json_dispatch_entries’ from ‘data_to_file’
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: branch_false: following ‘false’ branch...
systemd-258/src/fuzz/fuzz-bootspec.c:59:25: branch_false: ...to here
systemd-258/src/fuzz/fuzz-bootspec.c:59:25: throw: if ‘boot_config_load_type1’ throws an exception...
systemd-258/src/fuzz/fuzz-bootspec.c:57:25: danger: ‘data_to_file(data, (long unsigned int)cunescape_length_with_prefix(sd_json_variant_string(sd_json_variant_by_index(sd_json_variant_by_index(variant,  __unique_prefix_state14.idx), 1)), 18446744073709551615, 0, 3, &data))’ leaks here; was allocated at [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
#   55|                   if (len >= 0) {
#   56|                           _cleanup_fclose_ FILE *f = NULL;
#   57|->                         assert_se(f = data_to_file((const uint8_t*) data, len));
#   58|   
#   59|                           assert_se(boot_config_load_type1(config, f, "/", BOOT_ENTRY_ESP, "/entries", id) != -ENOMEM);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
systemd-258/src/growfs/makefs.c:39:24: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(argv[2])’
systemd-258/src/growfs/makefs.c:25:12: branch_false: following ‘false’ branch (when ‘argc == 3’)...
systemd-258/src/growfs/makefs.c:30:18: branch_false: ...to here
systemd-258/src/growfs/makefs.c:31:12: branch_false: following ‘false’ branch...
systemd-258/src/growfs/makefs.c:34:18: branch_false: ...to here
systemd-258/src/growfs/makefs.c:34:18: acquire_memory: allocated here
systemd-258/src/growfs/makefs.c:35:12: branch_false: following ‘false’ branch...
systemd-258/src/growfs/makefs.c:38:13: branch_false: ...to here
systemd-258/src/growfs/makefs.c:38:12: branch_true: following ‘true’ branch...
systemd-258/src/growfs/makefs.c:39:24: branch_true: ...to here
systemd-258/src/growfs/makefs.c:39:24: branch_true: following ‘true’ branch...
systemd-258/src/growfs/makefs.c:39:24: branch_true: ...to here
systemd-258/src/growfs/makefs.c:39:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/growfs/makefs.c:39:24: danger: ‘strdup(argv[2])’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
#   37|   
#   38|           if (stat(device, &st) < 0)
#   39|->                 return log_error_errno(errno, "Failed to stat \"%s\": %m", device);
#   40|   
#   41|           if (S_ISBLK(st.st_mode)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
systemd-258/src/home/homed-manager.c:1489:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_resource: opened here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1489:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1489:24: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1489:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1489:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/home/homed-manager.c:1489:24: danger: ‘fopen(path, "re")’ leaks here; was opened at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
# 1487|   
# 1488|           if (fstat(fileno(f), &st) < 0)
# 1489|->                 return log_error_errno(errno, "Failed to stat public key %s: %m", path);
# 1490|   
# 1491|           r = stat_verify_regular(&st);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
systemd-258/src/home/homed-manager.c:1489:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1489:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1489:24: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1489:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1489:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/home/homed-manager.c:1489:24: danger: ‘fopen(path, "re")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/6)
# 1487|   
# 1488|           if (fstat(fileno(f), &st) < 0)
# 1489|->                 return log_error_errno(errno, "Failed to stat public key %s: %m", path);
# 1490|   
# 1491|           r = stat_verify_regular(&st);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
systemd-258/src/home/homed-manager.c:1491:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_resource: opened here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1491:13: throw: if ‘stat_verify_regular’ throws an exception...
systemd-258/src/home/homed-manager.c:1491:13: danger: ‘fopen(path, "re")’ leaks here; was opened at [(7)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/6)
# 1489|                   return log_error_errno(errno, "Failed to stat public key %s: %m", path);
# 1490|   
# 1491|->         r = stat_verify_regular(&st);
# 1492|           if (r < 0)
# 1493|                   return log_error_errno(r, "Public key file %s is not a regular file: %m", path);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
systemd-258/src/home/homed-manager.c:1491:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1491:13: throw: if ‘stat_verify_regular’ throws an exception...
systemd-258/src/home/homed-manager.c:1491:13: danger: ‘fopen(path, "re")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/6)
# 1489|                   return log_error_errno(errno, "Failed to stat public key %s: %m", path);
# 1490|   
# 1491|->         r = stat_verify_regular(&st);
# 1492|           if (r < 0)
# 1493|                   return log_error_errno(r, "Public key file %s is not a regular file: %m", path);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
systemd-258/src/home/homed-manager.c:1493:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_resource: opened here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1492:12: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1493:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1493:24: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1493:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1493:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/home/homed-manager.c:1493:24: danger: ‘fopen(path, "re")’ leaks here; was opened at [(7)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/6)
# 1491|           r = stat_verify_regular(&st);
# 1492|           if (r < 0)
# 1493|->                 return log_error_errno(r, "Public key file %s is not a regular file: %m", path);
# 1494|   
# 1495|           if (st.st_uid != 0 || (st.st_mode & 0022) != 0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
systemd-258/src/home/homed-manager.c:1493:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1492:12: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1493:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1493:24: branch_true: following ‘true’ branch...
systemd-258/src/home/homed-manager.c:1493:24: branch_true: ...to here
systemd-258/src/home/homed-manager.c:1493:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/home/homed-manager.c:1493:24: danger: ‘fopen(path, "re")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/6)
# 1491|           r = stat_verify_regular(&st);
# 1492|           if (r < 0)
# 1493|->                 return log_error_errno(r, "Public key file %s is not a regular file: %m", path);
# 1494|   
# 1495|           if (st.st_uid != 0 || (st.st_mode & 0022) != 0)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
systemd-258/src/home/homed-manager.c:1495:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_resource: opened here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1492:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1495:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1495:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1498:16: throw: if ‘PEM_read_PUBKEY’ throws an exception...
systemd-258/src/home/homed-manager.c:1495:13: danger: ‘fopen(path, "re")’ leaks here; was opened at [(7)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/6)
# 1493|                   return log_error_errno(r, "Public key file %s is not a regular file: %m", path);
# 1494|   
# 1495|->         if (st.st_uid != 0 || (st.st_mode & 0022) != 0)
# 1496|                   return log_error_errno(SYNTHETIC_ERRNO(EPERM), "Public key file %s is writable by more than the root user, refusing.", path);
# 1497|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
systemd-258/src/home/homed-manager.c:1495:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "re")’
systemd-258/src/home/homed-manager.c:1471:9: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1473:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1474:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1477:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1477:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/home/homed-manager.c:1480:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1480:13: acquire_memory: allocated here
systemd-258/src/home/homed-manager.c:1481:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1488:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1488:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1491:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1492:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1495:13: branch_false: ...to here
systemd-258/src/home/homed-manager.c:1495:12: branch_false: following ‘false’ branch...
systemd-258/src/home/homed-manager.c:1498:16: throw: if ‘PEM_read_PUBKEY’ throws an exception...
systemd-258/src/home/homed-manager.c:1495:13: danger: ‘fopen(path, "re")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/6)
# 1493|                   return log_error_errno(r, "Public key file %s is not a regular file: %m", path);
# 1494|   
# 1495|->         if (st.st_uid != 0 || (st.st_mode & 0022) != 0)
# 1496|                   return log_error_errno(SYNTHETIC_ERRNO(EPERM), "Public key file %s is writable by more than the root user, refusing.", path);
# 1497|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
systemd-258/src/import/export-tar.c:64:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(440)’
systemd-258/src/import/export-tar.c:85:5: enter_function: entry to ‘tar_export_new’
systemd-258/src/import/export-tar.c:94:9: branch_false: following ‘false’ branch...
systemd-258/src/import/export-tar.c:96:13: call_function: inlined call to ‘malloc_multiply’ from ‘tar_export_new’
systemd-258/src/import/export-tar.c:97:12: branch_false: following ‘false’ branch...
systemd-258/src/import/export-tar.c:100:9: branch_false: ...to here
systemd-258/src/import/export-tar.c:110:12: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
systemd-258/src/import/export-tar.c:111:28: branch_true: ...to here
systemd-258/src/import/export-tar.c:111:28: throw: if ‘sd_event_ref’ throws an exception...
systemd-258/src/import/export-tar.c:91:49: call_function: inlined call to ‘tar_export_unrefp’ from ‘tar_export_new’
#   62|                   return NULL;
#   63|   
#   64|->         sd_event_source_unref(e->output_event_source);
#   65|   
#   66|           if (e->tar_pid > 1)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
systemd-258/src/import/export-tar.c:113:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(440)’
systemd-258/src/import/export-tar.c:85:5: enter_function: entry to ‘tar_export_new’
systemd-258/src/import/export-tar.c:94:9: branch_false: following ‘false’ branch...
systemd-258/src/import/export-tar.c:96:13: call_function: inlined call to ‘malloc_multiply’ from ‘tar_export_new’
systemd-258/src/import/export-tar.c:97:12: branch_false: following ‘false’ branch...
systemd-258/src/import/export-tar.c:100:9: branch_false: ...to here
systemd-258/src/import/export-tar.c:110:12: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
systemd-258/src/import/export-tar.c:113:21: branch_false: ...to here
systemd-258/src/import/export-tar.c:113:21: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/import/export-tar.c:91:49: call_function: inlined call to ‘tar_export_unrefp’ from ‘tar_export_new’
#  111|                   e->event = sd_event_ref(event);
#  112|           else {
#  113|->                 r = sd_event_default(&e->event);
#  114|                   if (r < 0)
#  115|                           return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
systemd-258/src/import/import-common.c:174:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
systemd-258/src/import/import-common.c:147:5: enter_function: entry to ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:154:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:159:13: call_function: inlined call to ‘path_is_os_tree’ from ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:160:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:162:12: branch_false: ...to here
systemd-258/src/import/import-common.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:167:9: branch_false: ...to here
systemd-258/src/import/import-common.c:169:13: acquire_memory: allocated here
systemd-258/src/import/import-common.c:170:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:173:9: branch_false: ...to here
systemd-258/src/import/import-common.c:174:16: throw: if ‘readdir_no_dot’ throws an exception...
systemd-258/src/import/import-common.c:174:16: danger: ‘opendir(path)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
#  172|   
#  173|           errno = 0;
#  174|->         dent = readdir_no_dot(d);
#  175|           if (!dent) {
#  176|                   if (errno != 0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
systemd-258/src/import/import-common.c:198:24: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&*<unknown>.d_name)’
systemd-258/src/import/import-common.c:147:5: enter_function: entry to ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:154:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:159:13: call_function: inlined call to ‘path_is_os_tree’ from ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:160:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:162:12: branch_false: ...to here
systemd-258/src/import/import-common.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:167:9: branch_false: ...to here
systemd-258/src/import/import-common.c:170:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:173:9: branch_false: ...to here
systemd-258/src/import/import-common.c:175:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:183:24: branch_false: ...to here
systemd-258/src/import/import-common.c:183:17: acquire_memory: allocated here
systemd-258/src/import/import-common.c:184:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:187:9: branch_false: ...to here
systemd-258/src/import/import-common.c:189:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:197:13: branch_false: ...to here
systemd-258/src/import/import-common.c:197:12: branch_true: following ‘true’ branch...
systemd-258/src/import/import-common.c:198:24: branch_true: ...to here
systemd-258/src/import/import-common.c:198:24: branch_true: following ‘true’ branch...
systemd-258/src/import/import-common.c:198:24: branch_true: ...to here
systemd-258/src/import/import-common.c:198:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/import/import-common.c:198:24: danger: ‘strdup(&*<unknown>.d_name)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
#  196|   
#  197|           if (fstatat(dirfd(d), child, &st, AT_SYMLINK_NOFOLLOW) < 0)
#  198|->                 return log_debug_errno(errno, "Failed to stat file '%s/%s': %m", path, child);
#  199|           r = stat_verify_directory(&st);
#  200|           if (r < 0) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
systemd-258/src/import/import-common.c:199:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&*<unknown>.d_name)’
systemd-258/src/import/import-common.c:147:5: enter_function: entry to ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:154:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:159:13: call_function: inlined call to ‘path_is_os_tree’ from ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:160:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:162:12: branch_false: ...to here
systemd-258/src/import/import-common.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:167:9: branch_false: ...to here
systemd-258/src/import/import-common.c:170:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:173:9: branch_false: ...to here
systemd-258/src/import/import-common.c:175:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:183:24: branch_false: ...to here
systemd-258/src/import/import-common.c:183:17: acquire_memory: allocated here
systemd-258/src/import/import-common.c:184:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:187:9: branch_false: ...to here
systemd-258/src/import/import-common.c:189:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:197:13: branch_false: ...to here
systemd-258/src/import/import-common.c:197:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:199:13: branch_false: ...to here
systemd-258/src/import/import-common.c:199:13: throw: if ‘stat_verify_directory’ throws an exception...
systemd-258/src/import/import-common.c:199:13: danger: ‘strdup(&*<unknown>.d_name)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/12)
#  197|           if (fstatat(dirfd(d), child, &st, AT_SYMLINK_NOFOLLOW) < 0)
#  198|                   return log_debug_errno(errno, "Failed to stat file '%s/%s': %m", path, child);
#  199|->         r = stat_verify_directory(&st);
#  200|           if (r < 0) {
#  201|                   log_debug_errno(r, "Child '%s' of directory '%s' is not a directory, leaving things as they are.", child, path);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
systemd-258/src/import/import-common.c:201:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&*<unknown>.d_name)’
systemd-258/src/import/import-common.c:147:5: enter_function: entry to ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:154:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:159:13: call_function: inlined call to ‘path_is_os_tree’ from ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:160:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:162:12: branch_false: ...to here
systemd-258/src/import/import-common.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:167:9: branch_false: ...to here
systemd-258/src/import/import-common.c:170:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:173:9: branch_false: ...to here
systemd-258/src/import/import-common.c:175:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:183:24: branch_false: ...to here
systemd-258/src/import/import-common.c:183:17: acquire_memory: allocated here
systemd-258/src/import/import-common.c:184:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:187:9: branch_false: ...to here
systemd-258/src/import/import-common.c:189:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:197:13: branch_false: ...to here
systemd-258/src/import/import-common.c:197:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:199:13: branch_false: ...to here
systemd-258/src/import/import-common.c:200:12: branch_true: following ‘true’ branch...
systemd-258/src/import/import-common.c:201:17: branch_true: ...to here
systemd-258/src/import/import-common.c:201:17: branch_true: following ‘true’ branch...
systemd-258/src/import/import-common.c:201:17: branch_true: ...to here
systemd-258/src/import/import-common.c:201:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/import/import-common.c:201:17: danger: ‘strdup(&*<unknown>.d_name)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/12)
#  199|           r = stat_verify_directory(&st);
#  200|           if (r < 0) {
#  201|->                 log_debug_errno(r, "Child '%s' of directory '%s' is not a directory, leaving things as they are.", child, path);
#  202|                   return 0;
#  203|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
systemd-258/src/import/import-common.c:205:18: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&*<unknown>.d_name)’
systemd-258/src/import/import-common.c:147:5: enter_function: entry to ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:154:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:159:13: call_function: inlined call to ‘path_is_os_tree’ from ‘import_mangle_os_tree’
systemd-258/src/import/import-common.c:160:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:162:12: branch_false: ...to here
systemd-258/src/import/import-common.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:167:9: branch_false: ...to here
systemd-258/src/import/import-common.c:170:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:173:9: branch_false: ...to here
systemd-258/src/import/import-common.c:175:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:183:24: branch_false: ...to here
systemd-258/src/import/import-common.c:183:17: acquire_memory: allocated here
systemd-258/src/import/import-common.c:184:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:187:9: branch_false: ...to here
systemd-258/src/import/import-common.c:189:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:197:13: branch_false: ...to here
systemd-258/src/import/import-common.c:197:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:199:13: branch_false: ...to here
systemd-258/src/import/import-common.c:200:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-common.c:205:18: branch_false: ...to here
systemd-258/src/import/import-common.c:205:18: throw: if ‘path_extend_internal’ throws an exception...
systemd-258/src/import/import-common.c:205:18: danger: ‘strdup(&*<unknown>.d_name)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/12)
#  203|           }
#  204|   
#  205|->         joined = path_join(path, child);
#  206|           if (!joined)
#  207|                   return log_oom();

Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
systemd-258/src/import/import-raw.c:121:28: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(16968)’
systemd-258/src/import/import-raw.c:86:5: enter_function: entry to ‘raw_import_new’
systemd-258/src/import/import-raw.c:97:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:98:9: branch_false: ...to here
systemd-258/src/import/import-raw.c:98:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:100:16: branch_false: ...to here
systemd-258/src/import/import-raw.c:101:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:104:13: call_function: inlined call to ‘malloc_multiply’ from ‘raw_import_new’
systemd-258/src/import/import-raw.c:105:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:108:9: branch_false: ...to here
systemd-258/src/import/import-raw.c:120:12: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
systemd-258/src/import/import-raw.c:121:28: branch_true: ...to here
systemd-258/src/import/import-raw.c:121:28: throw: if ‘sd_event_ref’ throws an exception...
systemd-258/src/import/import-raw.c:121:28: danger: ‘malloc(16968)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
#  119|   
#  120|           if (event)
#  121|->                 i->event = sd_event_ref(event);
#  122|           else {
#  123|                   r = sd_event_default(&i->event);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
systemd-258/src/import/import-raw.c:123:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(16968)’
systemd-258/src/import/import-raw.c:86:5: enter_function: entry to ‘raw_import_new’
systemd-258/src/import/import-raw.c:97:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:98:9: branch_false: ...to here
systemd-258/src/import/import-raw.c:98:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:100:16: branch_false: ...to here
systemd-258/src/import/import-raw.c:101:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:104:13: call_function: inlined call to ‘malloc_multiply’ from ‘raw_import_new’
systemd-258/src/import/import-raw.c:105:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-raw.c:108:9: branch_false: ...to here
systemd-258/src/import/import-raw.c:120:12: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
systemd-258/src/import/import-raw.c:123:21: branch_false: ...to here
systemd-258/src/import/import-raw.c:123:21: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/import/import-raw.c:123:21: danger: ‘malloc(16968)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
#  121|                   i->event = sd_event_ref(event);
#  122|           else {
#  123|->                 r = sd_event_default(&i->event);
#  124|                   if (r < 0)
#  125|                           return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
systemd-258/src/import/import-tar.c:122:28: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(16808)’
systemd-258/src/import/import-tar.c:89:5: enter_function: entry to ‘tar_import_new’
systemd-258/src/import/import-tar.c:100:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:101:9: branch_false: ...to here
systemd-258/src/import/import-tar.c:101:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:103:16: branch_false: ...to here
systemd-258/src/import/import-tar.c:104:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:107:13: call_function: inlined call to ‘malloc_multiply’ from ‘tar_import_new’
systemd-258/src/import/import-tar.c:108:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:111:9: branch_false: ...to here
systemd-258/src/import/import-tar.c:121:12: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
systemd-258/src/import/import-tar.c:122:28: branch_true: ...to here
systemd-258/src/import/import-tar.c:122:28: throw: if ‘sd_event_ref’ throws an exception...
systemd-258/src/import/import-tar.c:122:28: danger: ‘malloc(16808)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
#  120|   
#  121|           if (event)
#  122|->                 i->event = sd_event_ref(event);
#  123|           else {
#  124|                   r = sd_event_default(&i->event);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
systemd-258/src/import/import-tar.c:124:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(16808)’
systemd-258/src/import/import-tar.c:89:5: enter_function: entry to ‘tar_import_new’
systemd-258/src/import/import-tar.c:100:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:101:9: branch_false: ...to here
systemd-258/src/import/import-tar.c:101:9: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:103:16: branch_false: ...to here
systemd-258/src/import/import-tar.c:104:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:107:13: call_function: inlined call to ‘malloc_multiply’ from ‘tar_import_new’
systemd-258/src/import/import-tar.c:108:12: branch_false: following ‘false’ branch...
systemd-258/src/import/import-tar.c:111:9: branch_false: ...to here
systemd-258/src/import/import-tar.c:121:12: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
systemd-258/src/import/import-tar.c:124:21: branch_false: ...to here
systemd-258/src/import/import-tar.c:124:21: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/import/import-tar.c:124:21: danger: ‘malloc(16808)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
#  122|                   i->event = sd_event_ref(event);
#  123|           else {
#  124|->                 r = sd_event_default(&i->event);
#  125|                   if (r < 0)
#  126|                           return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
systemd-258/src/import/importd.c:702:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
systemd-258/src/import/importd.c:686:12: enter_function: entry to ‘manager_new’
systemd-258/src/import/importd.c:690:9: branch_false: following ‘false’ branch...
systemd-258/src/import/importd.c:692:13: call_function: inlined call to ‘malloc_multiply’ from ‘manager_new’
systemd-258/src/import/importd.c:693:12: branch_false: following ‘false’ branch...
systemd-258/src/import/importd.c:696:9: branch_false: ...to here
systemd-258/src/import/importd.c:702:13: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/import/importd.c:687:44: call_function: inlined call to ‘manager_unrefp’ from ‘manager_new’
#  700|           };
#  701|   
#  702|->         r = sd_event_default(&m->event);
#  703|           if (r < 0)
#  704|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
systemd-258/src/import/pull-job.c:668:31: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(536)’
systemd-258/src/import/pull-job.c:640:5: enter_function: entry to ‘pull_job_new’
systemd-258/src/import/pull-job.c:649:9: branch_false: following ‘false’ branch...
systemd-258/src/import/pull-job.c:650:9: branch_false: ...to here
systemd-258/src/import/pull-job.c:650:9: branch_false: following ‘false’ branch...
systemd-258/src/import/pull-job.c:651:9: branch_false: ...to here
systemd-258/src/import/pull-job.c:651:9: branch_false: following ‘false’ branch...
systemd-258/src/import/pull-job.c:653:13: branch_false: ...to here
systemd-258/src/import/pull-job.c:654:12: branch_false: following ‘false’ branch...
systemd-258/src/import/pull-job.c:657:13: call_function: inlined call to ‘malloc_multiply’ from ‘pull_job_new’
systemd-258/src/import/pull-job.c:658:12: branch_false: following ‘false’ branch...
systemd-258/src/import/pull-job.c:668:31: branch_false: ...to here
systemd-258/src/import/pull-job.c:668:31: throw: if ‘now’ throws an exception...
systemd-258/src/import/pull-job.c:668:31: danger: ‘malloc(536)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
#  666|                   .glue = glue,
#  667|                   .content_length = UINT64_MAX,
#  668|->                 .start_usec = now(CLOCK_MONOTONIC),
#  669|                   .compressed_max = 64LLU * 1024LLU * 1024LLU * 1024LLU, /* 64GB safety limit */
#  670|                   .uncompressed_max = 64LLU * 1024LLU * 1024LLU * 1024LLU, /* 64GB safety limit */

Error: COMPILER_WARNING (CWE-9001): [#def135]
systemd-258/src/import/pull-job.c: scope_hint: In function ‘pull_job_begin’
systemd-258/src/import/pull-job.c:742:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
#  742 |         if (curl_easy_setopt(j->curl, CURLOPT_NOPROGRESS, 0) != CURLE_OK)
#      |             ^
#  740|                   return -EIO;
#  741|   
#  742|->         if (curl_easy_setopt(j->curl, CURLOPT_NOPROGRESS, 0) != CURLE_OK)
#  743|                   return -EIO;
#  744|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
systemd-258/src/journal-remote/journal-remote-main.c:134:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<U97b8>[1]’
systemd-258/src/journal-remote/journal-remote-main.c:651:12: enter_function: entry to ‘create_remoteserver’
systemd-258/src/journal-remote/journal-remote-main.c:665:12: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:668:13: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:669:12: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:672:13: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:673:12: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:676:17: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:678:12: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:678:12: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:721:12: branch_true: following ‘true’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:724:22: branch_true: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:724:20: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:730:31: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:730:31: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:730:31: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:730:31: call_function: calling ‘memcpy_safe’ from ‘create_remoteserver’
systemd-258/src/journal-remote/journal-remote-main.c:730:31: return_function: returning to ‘create_remoteserver’ from ‘memcpy_safe’
systemd-258/src/journal-remote/journal-remote-main.c:732:17: branch_false: following ‘false’ branch...
systemd-258/src/journal-remote/journal-remote-main.c:733:22: branch_false: ...to here
systemd-258/src/journal-remote/journal-remote-main.c:733:22: call_function: calling ‘spawn_curl’ from ‘create_remoteserver’
#  132|                   return log_error_errno(errno, "Failed to create pager pipe: %m");
#  133|   
#  134|->         r = safe_fork_full("(remote)",
#  135|                              (int[]) {STDIN_FILENO, fd[1], STDERR_FILENO },
#  136|                              NULL, 0,

Error: COMPILER_WARNING (CWE-9001): [#def137]
systemd-258/src/journal-remote/journal-upload.c: scope_hint: In function ‘start_upload’
systemd-258/src/journal-remote/journal-upload.c:311:25: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
#  311 |                         easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0,
#      |                         ^
#  309|   
#  310|                   if (STRPTR_IN_SET(arg_trust, "-", "all"))
#  311|->                         easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0,
#  312|                                       LOG_ERR, return -EUCLEAN);
#  313|                   else if (arg_trust || startswith(u->url, "https://"))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
systemd-258/src/journal/journalctl-misc.c:325:29: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’
systemd-258/src/journal/journalctl-misc.c:288:9: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:290:13: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:291:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:294:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:295:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:298:16: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:300:9: branch_true: following ‘true’ branch (when ‘dir’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:304:24: branch_true: ...to here
systemd-258/src/journal/journalctl-misc.c:305:20: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:308:24: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:317:28: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:320:72: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:320:52: acquire_memory: allocated here
systemd-258/src/journal/journalctl-misc.c:321:28: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:324:36: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:325:29: throw: if ‘sd_id128_from_string’ throws an exception...
systemd-258/src/journal/journalctl-misc.c:325:29: danger: ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’ leaks here; was allocated at [(16)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/15)
#  323|   
#  324|                           sd_id128_t id;
#  325|->                         r = sd_id128_from_string(ids, &id);
#  326|                           if (r < 0)
#  327|                                   continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
systemd-258/src/journal/journalctl-misc.c:334:30: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’
systemd-258/src/journal/journalctl-misc.c:288:9: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:290:13: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:291:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:294:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:295:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:298:16: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:300:9: branch_true: following ‘true’ branch (when ‘dir’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:304:24: branch_true: ...to here
systemd-258/src/journal/journalctl-misc.c:305:20: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:308:24: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:320:52: acquire_memory: allocated here
systemd-258/src/journal/journalctl-misc.c:321:28: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:324:36: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:334:30: throw: if ‘log_namespace_name_valid’ throws an exception...
systemd-258/src/journal/journalctl-misc.c:334:30: danger: ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’ leaks here; was allocated at [(14)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/13)
#  332|                           e++;
#  333|   
#  334|->                         if (!log_namespace_name_valid(e))
#  335|                                   continue;
#  336|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
systemd-258/src/journal/journalctl-misc.c:337:29: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’
systemd-258/src/journal/journalctl-misc.c:283:5: enter_function: entry to ‘action_list_namespaces’
systemd-258/src/journal/journalctl-misc.c:288:9: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:290:13: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:291:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:294:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:295:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:298:16: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:300:9: branch_true: following ‘true’ branch (when ‘dir’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:304:24: branch_true: ...to here
systemd-258/src/journal/journalctl-misc.c:305:20: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:308:24: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:314:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:320:52: acquire_memory: allocated here
systemd-258/src/journal/journalctl-misc.c:321:28: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:324:36: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:337:29: call_function: calling ‘table_add_cell’ from ‘action_list_namespaces’
systemd-258/src/journal/journalctl-misc.c:337:29: danger: ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/14)
#  335|                                   continue;
#  336|   
#  337|->                         r = table_add_cell(table, NULL, TABLE_STRING, e);
#  338|                           if (r < 0)
#  339|                                   return table_log_add_error(r);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
systemd-258/src/journal/journalctl-misc.c:339:40: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’
systemd-258/src/journal/journalctl-misc.c:288:9: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:290:13: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:291:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:294:17: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:295:12: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:298:16: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:300:9: branch_true: following ‘true’ branch (when ‘dir’ is non-NULL)...
systemd-258/src/journal/journalctl-misc.c:304:24: branch_true: ...to here
systemd-258/src/journal/journalctl-misc.c:305:20: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:308:24: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:320:52: acquire_memory: allocated here
systemd-258/src/journal/journalctl-misc.c:321:28: branch_false: following ‘false’ branch...
systemd-258/src/journal/journalctl-misc.c:324:36: branch_false: ...to here
systemd-258/src/journal/journalctl-misc.c:339:40: branch_true: following ‘true’ branch...
systemd-258/src/journal/journalctl-misc.c:339:40: branch_true: ...to here
systemd-258/src/journal/journalctl-misc.c:339:40: throw: if ‘log_internal’ throws an exception...
systemd-258/src/journal/journalctl-misc.c:339:40: danger: ‘strndup(&*de.d_name, (long unsigned int)(e - &de_37->d_name))’ leaks here; was allocated at [(12)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/11)
#  337|                           r = table_add_cell(table, NULL, TABLE_STRING, e);
#  338|                           if (r < 0)
#  339|->                                 return table_log_add_error(r);
#  340|                   }
#  341|           }

Error: COMPILER_WARNING (CWE-704): [#def142]
systemd-258/src/journal/journalctl-util.c: scope_hint: In function ‘get_possible_units’
systemd-258/src/journal/journalctl-util.c:156:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  156 |                         eq = memchr(data, '=', size);
#      |                            ^
#  154|                           char *eq;
#  155|   
#  156|->                         eq = memchr(data, '=', size);
#  157|                           if (eq) {
#  158|                                   size -= eq - (char*) data + 1;

Error: COMPILER_WARNING (CWE-704): [#def143]
systemd-258/src/journal/journalctl-util.c:156:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  154|                           char *eq;
#  155|   
#  156|->                         eq = memchr(data, '=', size);
#  157|                           if (eq) {
#  158|                                   size -= eq - (char*) data + 1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:212:28: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(328)’
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:180:5: enter_function: entry to ‘sd_dhcp_server_set_static_lease’
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:190:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:191:9: branch_false: ...to here
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:191:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:192:9: call_function: inlined call to ‘client_id_size_is_valid’ from ‘sd_dhcp_server_set_static_lease’
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:192:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:193:9: branch_false: ...to here
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:193:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:195:13: branch_false: ...to here
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:196:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:201:12: branch_false: ...to here
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:201:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:207:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:212:28: branch_false: ...to here
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:216:13: call_function: calling ‘dhcp_server_put_lease’ from ‘sd_dhcp_server_set_static_lease’
systemd-258/src/libsystemd-network/sd-dhcp-server-lease.c:186:70: call_function: inlined call to ‘sd_dhcp_server_lease_unrefp’ from ‘sd_dhcp_server_set_static_lease’
#  210|           *lease = (sd_dhcp_server_lease) {
#  211|                   .n_ref = 1,
#  212|->                 .address = address->s_addr,
#  213|                   .client_id = client_id,
#  214|           };

Error: COMPILER_WARNING (CWE-704): [#def145]
systemd-258/src/libsystemd/sd-bus/sd-bus.c: scope_hint: In function ‘bus_set_address_system_remote’
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1449:26: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1449 |                 rbracket = strchr(host, ']');
#      |                          ^
# 1447|                   char *t;
# 1448|   
# 1449|->                 rbracket = strchr(host, ']');
# 1450|                   if (!rbracket)
# 1451|                           return -EINVAL;

Error: COMPILER_WARNING (CWE-704): [#def146]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1449:26: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1447|                   char *t;
# 1448|   
# 1449|->                 rbracket = strchr(host, ']');
# 1450|                   if (!rbracket)
# 1451|                           return -EINVAL;

Error: COMPILER_WARNING (CWE-704): [#def147]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1456:23: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1456 |         } else if ((a = strchr(host, '@'))) {
#      |                       ^
# 1454|                   if (!e)
# 1455|                           return -ENOMEM;
# 1456|->         } else if ((a = strchr(host, '@'))) {
# 1457|                   if (*(a + 1) == '[') {
# 1458|                           _cleanup_free_ char *t = NULL;

Error: COMPILER_WARNING (CWE-704): [#def148]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1456:23: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1454|                   if (!e)
# 1455|                           return -ENOMEM;
# 1456|->         } else if ((a = strchr(host, '@'))) {
# 1457|                   if (*(a + 1) == '[') {
# 1458|                           _cleanup_free_ char *t = NULL;

Error: COMPILER_WARNING (CWE-704): [#def149]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1476:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1476 |         m = strchr(rbracket ? rbracket + 1 : host, ':');
#      |           ^
# 1474|   
# 1475|           /* Let's see if a port was given */
# 1476|->         m = strchr(rbracket ? rbracket + 1 : host, ':');
# 1477|           if (m) {
# 1478|                   char *t;

Error: COMPILER_WARNING (CWE-704): [#def150]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1476:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1474|   
# 1475|           /* Let's see if a port was given */
# 1476|->         m = strchr(rbracket ? rbracket + 1 : host, ':');
# 1477|           if (m) {
# 1478|                   char *t;

Error: COMPILER_WARNING (CWE-704): [#def151]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1499:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1499 |         m = strchr(rbracket ? rbracket + 1 : host, '/');
#      |           ^
# 1497|   
# 1498|           /* Let's see if a machine was given */
# 1499|->         m = strchr(rbracket ? rbracket + 1 : host, '/');
# 1500|           if (m) {
# 1501|                   m++;

Error: COMPILER_WARNING (CWE-704): [#def152]
systemd-258/src/libsystemd/sd-bus/sd-bus.c:1499:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1497|   
# 1498|           /* Let's see if a machine was given */
# 1499|->         m = strchr(rbracket ? rbracket + 1 : host, '/');
# 1500|           if (m) {
# 1501|                   m++;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 524289, 0)’
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:154:14: acquire_resource: socket created here
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:155:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:157:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:157:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-bus/test-bus-peersockaddr.c:159:9: danger: ‘socket(1, 524289, 0)’ leaks here
#  157|           assert_se(bind(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path)) >= 0); /* force auto-bind */
#  158|   
#  159|->         assert_se(listen(fd, 1) >= 0);
#  160|   
#  161|           salen = sizeof(sa);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 524289, 0)’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:47:14: enter_function: entry to ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:59:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:60:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:62:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:63:9: call_function: inlined call to ‘random_u64’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:63:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:64:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:64:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:65:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:67:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:68:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:68:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:69:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:71:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:72:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:72:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:73:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:77:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:78:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:80:14: acquire_resource: socket created here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:81:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:83:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:83:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:84:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: danger: ‘socket(1, 524289, 0)’ leaks here
#   84|           usleep_safe(100 * USEC_PER_MSEC);
#   85|   
#   86|->         assert_se(listen(fd, SOMAXCONN_DELUXE) >= 0);
#   87|           usleep_safe(100 * USEC_PER_MSEC);
#   88|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:89:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 524289, 0)’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:47:14: enter_function: entry to ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:59:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:60:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:62:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:63:9: call_function: inlined call to ‘random_u64’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:63:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:64:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:64:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:65:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:67:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:68:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:68:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:69:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:71:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:72:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:72:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:73:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:77:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:78:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:80:14: acquire_resource: socket created here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:81:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:83:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:83:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:84:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:86:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:87:9: call_function: inlined call to ‘usleep_safe’ from ‘thread_server’
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:89:9: throw: if ‘touch’ throws an exception...
systemd-258/src/libsystemd/sd-bus/test-bus-watch-bind.c:89:9: danger: ‘socket(1, 524289, 0)’ leaks here
#   87|           usleep_safe(100 * USEC_PER_MSEC);
#   88|   
#   89|->         assert_se(touch(path) >= 0);
#   90|           usleep_safe(100 * USEC_PER_MSEC);
#   91|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: danger: ‘a[0]’ leaks here
#  205|   
#  206|           assert_se(pipe(a) >= 0);
#  207|->         assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: danger: ‘a[1]’ leaks here
#  205|   
#  206|           assert_se(pipe(a) >= 0);
#  207|->         assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: danger: ‘a[0]’ leaks here
#  206|           assert_se(pipe(a) >= 0);
#  207|           assert_se(pipe(b) >= 0);
#  208|->         assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);
#  210|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: danger: ‘a[1]’ leaks here
#  206|           assert_se(pipe(a) >= 0);
#  207|           assert_se(pipe(b) >= 0);
#  208|->         assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);
#  210|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: danger: ‘b[0]’ leaks here
#  206|           assert_se(pipe(a) >= 0);
#  207|           assert_se(pipe(b) >= 0);
#  208|->         assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);
#  210|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: danger: ‘b[1]’ leaks here
#  206|           assert_se(pipe(a) >= 0);
#  207|           assert_se(pipe(b) >= 0);
#  208|->         assert_se(pipe(d) >= 0);
#  209|           assert_se(pipe(k) >= 0);
#  210|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘a[0]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘a[1]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘b[0]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘b[1]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘d[0]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: danger: ‘d[1]’ leaks here
#  207|           assert_se(pipe(b) >= 0);
#  208|           assert_se(pipe(d) >= 0);
#  209|->         assert_se(pipe(k) >= 0);
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘a[0]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘a[1]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘b[0]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘b[1]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘d[0]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘d[1]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘k[0]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: danger: ‘k[1]’ leaks here
#  209|           assert_se(pipe(k) >= 0);
#  210|   
#  211|->         assert_se(sd_event_default(&e) >= 0);
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘a[0]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘a[1]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘b[0]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘b[1]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘d[0]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘d[1]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘k[0]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: danger: ‘k[1]’ leaks here
#  210|   
#  211|           assert_se(sd_event_default(&e) >= 0);
#  212|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|           assert_se(sd_event_set_watchdog(e, true) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘a[0]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘a[1]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘b[0]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘b[1]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘d[0]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘d[1]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘k[0]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: throw: if ‘sd_event_set_watchdog’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: danger: ‘k[1]’ leaks here
#  212|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) > 0);
#  213|   
#  214|->         assert_se(sd_event_set_watchdog(e, true) >= 0);
#  215|   
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def192]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘a[0]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘a[1]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def194]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘b[0]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘b[1]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def196]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘d[0]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def197]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘d[1]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def198]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘k[0]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def199]
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: danger: ‘k[1]’ leaks here
#  216|           /* Test whether we cleanly can destroy an io event source from its own handler */
#  217|           got_unref = false;
#  218|->         assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def200]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘a[0]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘a[1]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘b[0]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘b[1]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘d[0]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def205]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘d[1]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def206]
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: danger: ‘k[1]’ leaks here
#  217|           got_unref = false;
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|->         assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def207]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘a[0]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def208]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘a[1]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def209]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘b[0]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def210]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘b[1]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def211]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘d[0]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def212]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘d[1]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def213]
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: danger: ‘k[1]’ leaks here
#  218|           assert_se(sd_event_add_io(e, &t, k[0], EPOLLIN, unref_handler, NULL) >= 0);
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|           assert_se(got_unref);
#  222|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def214]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘a[0]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def215]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘a[1]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def216]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘b[0]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def217]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘b[1]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def218]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘d[0]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘d[1]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: danger: ‘k[1]’ leaks here
#  219|           assert_se(write(k[1], &ch, 1) == 1);
#  220|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  221|->         assert_se(got_unref);
#  222|   
#  223|           got_a = false, got_b = false, got_c = false, got_d = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘a[0]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def222]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘a[1]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def223]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘b[0]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def224]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘b[1]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘d[0]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘d[1]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: danger: ‘k[1]’ leaks here
#  224|   
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|->         assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘a[0]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘a[1]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘b[0]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def231]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘b[1]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘d[1]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def233]
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: danger: ‘k[1]’ leaks here
#  225|           /* Add a oneshot handler, trigger it, reenable it, and trigger it again. */
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|->         assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘a[0]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘a[1]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘b[0]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘b[1]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘d[1]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: danger: ‘k[1]’ leaks here
#  226|           assert_se(sd_event_add_io(e, &w, d[0], EPOLLIN, io_handler, INT_TO_PTR('d')) >= 0);
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|->         assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘a[0]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘a[1]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘b[0]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘b[1]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘d[1]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: danger: ‘k[1]’ leaks here
#  227|           assert_se(sd_event_source_set_enabled(w, SD_EVENT_ONESHOT) >= 0);
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘a[0]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘a[1]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘b[0]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘b[1]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘d[1]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: danger: ‘k[1]’ leaks here
#  228|           assert_se(write(d[1], &ch, 1) >= 0);
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|->         assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘a[0]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘a[1]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘b[0]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘b[1]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def256]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘d[1]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: danger: ‘k[1]’ leaks here
#  229|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  230|           assert_se(got_d == 1);
#  231|->         assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘a[0]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘a[1]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘b[0]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def261]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘b[1]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘d[1]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: danger: ‘k[1]’ leaks here
#  230|           assert_se(got_d == 1);
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|           assert_se(got_d == 2);
#  234|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘a[0]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘a[1]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘b[0]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘b[1]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘d[1]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: danger: ‘k[1]’ leaks here
#  231|           assert_se(write(d[1], &ch, 1) >= 0);
#  232|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  233|->         assert_se(got_d == 2);
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘a[0]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘a[1]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘b[0]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘b[1]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘d[1]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: danger: ‘k[1]’ leaks here
#  233|           assert_se(got_d == 2);
#  234|   
#  235|->         assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|           assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: danger: ‘a[1]’ leaks here
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|->         assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   
#  238|           do_quit = false;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[0]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: danger: ‘b[0]’ leaks here
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|->         assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   
#  238|           do_quit = false;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: danger: ‘b[1]’ leaks here
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|->         assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   
#  238|           do_quit = false;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: danger: ‘d[1]’ leaks here
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|->         assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   
#  238|           do_quit = false;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: danger: ‘k[1]’ leaks here
#  234|   
#  235|           assert_se(sd_event_add_io(e, &x, a[0], EPOLLIN, io_handler, INT_TO_PTR('a')) >= 0);
#  236|->         assert_se(sd_event_add_io(e, &y, b[0], EPOLLIN, io_handler, INT_TO_PTR('b')) >= 0);
#  237|   
#  238|           do_quit = false;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: throw: if ‘sd_event_add_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: danger: ‘a[1]’ leaks here
#  237|   
#  238|           do_quit = false;
#  239|->         assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: throw: if ‘sd_event_add_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: danger: ‘b[1]’ leaks here
#  237|   
#  238|           do_quit = false;
#  239|->         assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: throw: if ‘sd_event_add_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: danger: ‘d[1]’ leaks here
#  237|   
#  238|           do_quit = false;
#  239|->         assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: throw: if ‘sd_event_add_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: danger: ‘k[1]’ leaks here
#  237|   
#  238|           do_quit = false;
#  239|->         assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: throw: if ‘sd_event_add_exit’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: danger: ‘a[1]’ leaks here
#  238|           do_quit = false;
#  239|           assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|->         assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: throw: if ‘sd_event_add_exit’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: danger: ‘b[1]’ leaks here
#  238|           do_quit = false;
#  239|           assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|->         assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: throw: if ‘sd_event_add_exit’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: danger: ‘d[1]’ leaks here
#  238|           do_quit = false;
#  239|           assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|->         assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: throw: if ‘sd_event_add_exit’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: danger: ‘k[1]’ leaks here
#  238|           do_quit = false;
#  239|           assert_se(sd_event_add_time(e, &z, CLOCK_MONOTONIC, 0, 0, time_handler, INT_TO_PTR('c')) >= 0);
#  240|->         assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def289]
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: danger: ‘a[1]’ leaks here
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|->         assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: danger: ‘b[1]’ leaks here
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|->         assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def291]
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: danger: ‘d[1]’ leaks here
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|->         assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: danger: ‘k[1]’ leaks here
#  240|           assert_se(sd_event_add_exit(e, &q, exit_handler, INT_TO_PTR('g')) >= 0);
#  241|   
#  242|->         assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: throw: if ‘sd_event_source_get_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: danger: ‘a[1]’ leaks here
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|->         assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: throw: if ‘sd_event_source_get_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: danger: ‘b[1]’ leaks here
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|->         assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def295]
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: throw: if ‘sd_event_source_get_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: danger: ‘d[1]’ leaks here
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|->         assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: throw: if ‘sd_event_source_get_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: danger: ‘k[1]’ leaks here
#  241|   
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|->         assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def297]
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: danger: ‘a[1]’ leaks here
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|->         assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: danger: ‘b[1]’ leaks here
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|->         assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: danger: ‘d[1]’ leaks here
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|->         assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: danger: ‘k[1]’ leaks here
#  242|           assert_se(sd_event_source_set_priority(x, 99) >= 0);
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|->         assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: danger: ‘a[1]’ leaks here
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|->         assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: danger: ‘b[1]’ leaks here
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|->         assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def303]
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: danger: ‘d[1]’ leaks here
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|->         assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: danger: ‘k[1]’ leaks here
#  243|           assert_se(sd_event_source_get_priority(x, &priority) >= 0);
#  244|           assert_se(priority == 99);
#  245|->         assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: danger: ‘a[1]’ leaks here
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|->         assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: danger: ‘b[1]’ leaks here
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|->         assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: danger: ‘d[1]’ leaks here
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|->         assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: danger: ‘k[1]’ leaks here
#  244|           assert_se(priority == 99);
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|->         assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def309]
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: danger: ‘a[1]’ leaks here
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|->         assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: danger: ‘b[1]’ leaks here
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|->         assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: danger: ‘d[1]’ leaks here
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|->         assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: throw: if ‘sd_event_source_set_priority’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: danger: ‘k[1]’ leaks here
#  245|           assert_se(sd_event_source_set_enabled(y, SD_EVENT_ONESHOT) >= 0);
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|->         assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: danger: ‘a[1]’ leaks here
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: danger: ‘b[1]’ leaks here
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def315]
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: danger: ‘d[1]’ leaks here
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: danger: ‘k[1]’ leaks here
#  246|           assert_se(sd_event_source_set_prepare(x, prepare_handler) >= 0);
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|           assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def317]
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: danger: ‘a[1]’ leaks here
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|->         assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   
#  251|           /* Test for floating event sources */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: danger: ‘b[1]’ leaks here
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|->         assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   
#  251|           /* Test for floating event sources */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: danger: ‘d[1]’ leaks here
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|->         assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   
#  251|           /* Test for floating event sources */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: throw: if ‘sd_event_source_set_prepare’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: danger: ‘k[1]’ leaks here
#  247|           assert_se(sd_event_source_set_priority(z, 50) >= 0);
#  248|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  249|->         assert_se(sd_event_source_set_prepare(z, prepare_handler) >= 0);
#  250|   
#  251|           /* Test for floating event sources */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: throw: if ‘sigprocmask_many_internal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: danger: ‘a[1]’ leaks here
#  250|   
#  251|           /* Test for floating event sources */
#  252|->         assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: throw: if ‘sigprocmask_many_internal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: danger: ‘b[1]’ leaks here
#  250|   
#  251|           /* Test for floating event sources */
#  252|->         assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: throw: if ‘sigprocmask_many_internal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: danger: ‘d[1]’ leaks here
#  250|   
#  251|           /* Test for floating event sources */
#  252|->         assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def324]
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: throw: if ‘sigprocmask_many_internal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: danger: ‘k[1]’ leaks here
#  250|   
#  251|           /* Test for floating event sources */
#  252|->         assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: throw: if ‘sd_event_add_signal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: danger: ‘a[1]’ leaks here
#  251|           /* Test for floating event sources */
#  252|           assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|->         assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def326]
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: throw: if ‘sd_event_add_signal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: danger: ‘b[1]’ leaks here
#  251|           /* Test for floating event sources */
#  252|           assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|->         assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: throw: if ‘sd_event_add_signal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: danger: ‘d[1]’ leaks here
#  251|           /* Test for floating event sources */
#  252|           assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|->         assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def328]
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: throw: if ‘sd_event_add_signal’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: danger: ‘k[1]’ leaks here
#  251|           /* Test for floating event sources */
#  252|           assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGRTMIN+1) >= 0);
#  253|->         assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: danger: ‘a[1]’ leaks here
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|->         assert_se(write(a[1], &ch, 1) >= 0);
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def330]
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: danger: ‘b[1]’ leaks here
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|->         assert_se(write(a[1], &ch, 1) >= 0);
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: danger: ‘d[1]’ leaks here
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|->         assert_se(write(a[1], &ch, 1) >= 0);
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def332]
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: danger: ‘k[1]’ leaks here
#  253|           assert_se(sd_event_add_signal(e, NULL, SIGRTMIN+1, NULL, NULL) >= 0);
#  254|   
#  255|->         assert_se(write(a[1], &ch, 1) >= 0);
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def333]
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: danger: ‘a[1]’ leaks here
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);
#  256|->         assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|           assert_se(!got_a && !got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def334]
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: danger: ‘b[1]’ leaks here
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);
#  256|->         assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|           assert_se(!got_a && !got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: danger: ‘d[1]’ leaks here
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);
#  256|->         assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|           assert_se(!got_a && !got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def336]
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: throw: if ‘write’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: danger: ‘k[1]’ leaks here
#  254|   
#  255|           assert_se(write(a[1], &ch, 1) >= 0);
#  256|->         assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|           assert_se(!got_a && !got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: danger: ‘a[1]’ leaks here
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|->         assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def338]
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: danger: ‘b[1]’ leaks here
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|->         assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def339]
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: danger: ‘d[1]’ leaks here
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|->         assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: danger: ‘k[1]’ leaks here
#  256|           assert_se(write(b[1], &ch, 1) >= 0);
#  257|   
#  258|->         assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def341]
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: danger: ‘a[1]’ leaks here
#  258|           assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|           assert_se(!got_a && got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: danger: ‘b[1]’ leaks here
#  258|           assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|           assert_se(!got_a && got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: danger: ‘d[1]’ leaks here
#  258|           assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|           assert_se(!got_a && got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: danger: ‘k[1]’ leaks here
#  258|           assert_se(!got_a && !got_b && !got_c);
#  259|   
#  260|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|           assert_se(!got_a && got_b && !got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: danger: ‘a[1]’ leaks here
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|->         assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def346]
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: danger: ‘b[1]’ leaks here
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|->         assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def347]
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: danger: ‘d[1]’ leaks here
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|->         assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: danger: ‘k[1]’ leaks here
#  260|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  261|   
#  262|->         assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def349]
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: danger: ‘a[1]’ leaks here
#  262|           assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|           assert_se(!got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: danger: ‘b[1]’ leaks here
#  262|           assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|           assert_se(!got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def351]
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: danger: ‘d[1]’ leaks here
#  262|           assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|           assert_se(!got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: danger: ‘k[1]’ leaks here
#  262|           assert_se(!got_a && got_b && !got_c);
#  263|   
#  264|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|           assert_se(!got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def353]
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: danger: ‘a[1]’ leaks here
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|->         assert_se(!got_a && got_b && got_c);
#  267|   
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: danger: ‘b[1]’ leaks here
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|->         assert_se(!got_a && got_b && got_c);
#  267|   
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: danger: ‘d[1]’ leaks here
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|->         assert_se(!got_a && got_b && got_c);
#  267|   
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: danger: ‘k[1]’ leaks here
#  264|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  265|   
#  266|->         assert_se(!got_a && got_b && got_c);
#  267|   
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: danger: ‘a[1]’ leaks here
#  266|           assert_se(!got_a && got_b && got_c);
#  267|   
#  268|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|           assert_se(got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: danger: ‘b[1]’ leaks here
#  266|           assert_se(!got_a && got_b && got_c);
#  267|   
#  268|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|           assert_se(got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: danger: ‘d[1]’ leaks here
#  266|           assert_se(!got_a && got_b && got_c);
#  267|   
#  268|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|           assert_se(got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: throw: if ‘sd_event_run’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: danger: ‘k[1]’ leaks here
#  266|           assert_se(!got_a && got_b && got_c);
#  267|   
#  268|->         assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|           assert_se(got_a && got_b && got_c);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: danger: ‘a[1]’ leaks here
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|->         assert_se(got_a && got_b && got_c);
#  271|   
#  272|           sd_event_source_unref(x);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def362]
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: danger: ‘b[1]’ leaks here
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|->         assert_se(got_a && got_b && got_c);
#  271|   
#  272|           sd_event_source_unref(x);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def363]
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: danger: ‘d[1]’ leaks here
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|->         assert_se(got_a && got_b && got_c);
#  271|   
#  272|           sd_event_source_unref(x);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: danger: ‘k[1]’ leaks here
#  268|           assert_se(sd_event_run(e, UINT64_MAX) >= 1);
#  269|   
#  270|->         assert_se(got_a && got_b && got_c);
#  271|   
#  272|           sd_event_source_unref(x);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def365]
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: danger: ‘a[1]’ leaks here
#  270|           assert_se(got_a && got_b && got_c);
#  271|   
#  272|->         sd_event_source_unref(x);
#  273|           sd_event_source_unref(y);
#  274|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: danger: ‘b[1]’ leaks here
#  270|           assert_se(got_a && got_b && got_c);
#  271|   
#  272|->         sd_event_source_unref(x);
#  273|           sd_event_source_unref(y);
#  274|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: danger: ‘d[1]’ leaks here
#  270|           assert_se(got_a && got_b && got_c);
#  271|   
#  272|->         sd_event_source_unref(x);
#  273|           sd_event_source_unref(y);
#  274|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:272:9: danger: ‘k[1]’ leaks here
#  270|           assert_se(got_a && got_b && got_c);
#  271|   
#  272|->         sd_event_source_unref(x);
#  273|           sd_event_source_unref(y);
#  274|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: danger: ‘a[1]’ leaks here
#  271|   
#  272|           sd_event_source_unref(x);
#  273|->         sd_event_source_unref(y);
#  274|   
#  275|           do_quit = true;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def370]
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: danger: ‘b[1]’ leaks here
#  271|   
#  272|           sd_event_source_unref(x);
#  273|->         sd_event_source_unref(y);
#  274|   
#  275|           do_quit = true;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: danger: ‘d[1]’ leaks here
#  271|   
#  272|           sd_event_source_unref(x);
#  273|->         sd_event_source_unref(y);
#  274|   
#  275|           do_quit = true;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def372]
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:273:9: danger: ‘k[1]’ leaks here
#  271|   
#  272|           sd_event_source_unref(x);
#  273|->         sd_event_source_unref(y);
#  274|   
#  275|           do_quit = true;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def373]
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: throw: if ‘sd_event_add_post’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: danger: ‘a[1]’ leaks here
#  274|   
#  275|           do_quit = true;
#  276|->         assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def374]
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: throw: if ‘sd_event_add_post’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: danger: ‘b[1]’ leaks here
#  274|   
#  275|           do_quit = true;
#  276|->         assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def375]
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: throw: if ‘sd_event_add_post’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: danger: ‘d[1]’ leaks here
#  274|   
#  275|           do_quit = true;
#  276|->         assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def376]
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: throw: if ‘sd_event_add_post’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: danger: ‘k[1]’ leaks here
#  274|   
#  275|           do_quit = true;
#  276|->         assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def377]
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: danger: ‘a[1]’ leaks here
#  275|           do_quit = true;
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def378]
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: danger: ‘b[1]’ leaks here
#  275|           do_quit = true;
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def379]
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: danger: ‘d[1]’ leaks here
#  275|           do_quit = true;
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def380]
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: throw: if ‘sd_event_now’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: danger: ‘k[1]’ leaks here
#  275|           do_quit = true;
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|->         assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def381]
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: throw: if ‘sd_event_source_set_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: danger: ‘a[1]’ leaks here
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|->         assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def382]
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: throw: if ‘sd_event_source_set_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: danger: ‘b[1]’ leaks here
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|->         assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def383]
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: throw: if ‘sd_event_source_set_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: danger: ‘d[1]’ leaks here
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|->         assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: throw: if ‘sd_event_source_set_time’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: danger: ‘k[1]’ leaks here
#  276|           assert_se(sd_event_add_post(e, NULL, post_handler, NULL) >= 0);
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|->         assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: danger: ‘a[1]’ leaks here
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def386]
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: danger: ‘b[1]’ leaks here
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: danger: ‘d[1]’ leaks here
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: throw: if ‘sd_event_source_set_enabled’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: danger: ‘k[1]’ leaks here
#  277|           assert_se(sd_event_now(e, CLOCK_MONOTONIC, &event_now) == 0);
#  278|           assert_se(sd_event_source_set_time(z, event_now + 200 * USEC_PER_MSEC) >= 0);
#  279|->         assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: throw: if ‘sd_event_loop’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: danger: ‘a[1]’ leaks here
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|->         assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|           assert_se(got_exit);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: throw: if ‘sd_event_loop’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: danger: ‘b[1]’ leaks here
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|->         assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|           assert_se(got_exit);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: throw: if ‘sd_event_loop’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: danger: ‘d[1]’ leaks here
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|->         assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|           assert_se(got_exit);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: throw: if ‘sd_event_loop’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: danger: ‘k[1]’ leaks here
#  279|           assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
#  280|   
#  281|->         assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|           assert_se(got_exit);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def393]
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: danger: ‘a[1]’ leaks here
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|->         assert_se(got_post);
#  283|           assert_se(got_exit);
#  284|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def394]
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: danger: ‘b[1]’ leaks here
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|->         assert_se(got_post);
#  283|           assert_se(got_exit);
#  284|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: danger: ‘d[1]’ leaks here
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|->         assert_se(got_post);
#  283|           assert_se(got_exit);
#  284|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: danger: ‘k[1]’ leaks here
#  280|   
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|->         assert_se(got_post);
#  283|           assert_se(got_exit);
#  284|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def397]
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: danger: ‘a[1]’ leaks here
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|->         assert_se(got_exit);
#  284|   
#  285|           sd_event_source_unref(z);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def398]
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: danger: ‘b[1]’ leaks here
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|->         assert_se(got_exit);
#  284|   
#  285|           sd_event_source_unref(z);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: danger: ‘d[1]’ leaks here
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|->         assert_se(got_exit);
#  284|   
#  285|           sd_event_source_unref(z);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_true: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: danger: ‘k[1]’ leaks here
#  281|           assert_se(sd_event_loop(e) >= 0);
#  282|           assert_se(got_post);
#  283|->         assert_se(got_exit);
#  284|   
#  285|           sd_event_source_unref(z);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: danger: ‘a[1]’ leaks here
#  283|           assert_se(got_exit);
#  284|   
#  285|->         sd_event_source_unref(z);
#  286|           sd_event_source_unref(q);
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def402]
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: danger: ‘b[1]’ leaks here
#  283|           assert_se(got_exit);
#  284|   
#  285|->         sd_event_source_unref(z);
#  286|           sd_event_source_unref(q);
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: danger: ‘d[1]’ leaks here
#  283|           assert_se(got_exit);
#  284|   
#  285|->         sd_event_source_unref(z);
#  286|           sd_event_source_unref(q);
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def404]
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: danger: ‘k[1]’ leaks here
#  283|           assert_se(got_exit);
#  284|   
#  285|->         sd_event_source_unref(z);
#  286|           sd_event_source_unref(q);
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def405]
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: danger: ‘a[1]’ leaks here
#  284|   
#  285|           sd_event_source_unref(z);
#  286|->         sd_event_source_unref(q);
#  287|   
#  288|           sd_event_source_unref(w);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def406]
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: danger: ‘b[1]’ leaks here
#  284|   
#  285|           sd_event_source_unref(z);
#  286|->         sd_event_source_unref(q);
#  287|   
#  288|           sd_event_source_unref(w);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def407]
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: danger: ‘d[1]’ leaks here
#  284|   
#  285|           sd_event_source_unref(z);
#  286|->         sd_event_source_unref(q);
#  287|   
#  288|           sd_event_source_unref(w);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def408]
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:286:9: danger: ‘k[1]’ leaks here
#  284|   
#  285|           sd_event_source_unref(z);
#  286|->         sd_event_source_unref(q);
#  287|   
#  288|           sd_event_source_unref(w);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def409]
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: danger: ‘a[1]’ leaks here
#  286|           sd_event_source_unref(q);
#  287|   
#  288|->         sd_event_source_unref(w);
#  289|   
#  290|           sd_event_unref(e);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def410]
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: danger: ‘b[1]’ leaks here
#  286|           sd_event_source_unref(q);
#  287|   
#  288|->         sd_event_source_unref(w);
#  289|   
#  290|           sd_event_unref(e);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def411]
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: danger: ‘d[1]’ leaks here
#  286|           sd_event_source_unref(q);
#  287|   
#  288|->         sd_event_source_unref(w);
#  289|   
#  290|           sd_event_unref(e);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def412]
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: throw: if ‘sd_event_source_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:288:9: danger: ‘k[1]’ leaks here
#  286|           sd_event_source_unref(q);
#  287|   
#  288|->         sd_event_source_unref(w);
#  289|   
#  290|           sd_event_unref(e);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def413]
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: throw: if ‘sd_event_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: danger: ‘a[1]’ leaks here
#  288|           sd_event_source_unref(w);
#  289|   
#  290|->         sd_event_unref(e);
#  291|   
#  292|           safe_close_pair(a);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def414]
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: throw: if ‘sd_event_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: danger: ‘b[1]’ leaks here
#  288|           sd_event_source_unref(w);
#  289|   
#  290|->         sd_event_unref(e);
#  291|   
#  292|           safe_close_pair(a);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def415]
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: throw: if ‘sd_event_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: danger: ‘d[1]’ leaks here
#  288|           sd_event_source_unref(w);
#  289|   
#  290|->         sd_event_unref(e);
#  291|   
#  292|           safe_close_pair(a);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: throw: if ‘sd_event_unref’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:290:9: danger: ‘k[1]’ leaks here
#  288|           sd_event_source_unref(w);
#  289|   
#  290|->         sd_event_unref(e);
#  291|   
#  292|           safe_close_pair(a);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘a[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: danger: ‘a[1]’ leaks here
#  290|           sd_event_unref(e);
#  291|   
#  292|->         safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|           safe_close_pair(d);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def418]
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: danger: ‘b[1]’ leaks here
#  290|           sd_event_unref(e);
#  291|   
#  292|->         safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|           safe_close_pair(d);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def419]
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: danger: ‘d[1]’ leaks here
#  290|           sd_event_unref(e);
#  291|   
#  292|->         safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|           safe_close_pair(d);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def420]
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:292:9: danger: ‘k[1]’ leaks here
#  290|           sd_event_unref(e);
#  291|   
#  292|->         safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|           safe_close_pair(d);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def421]
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘b[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: danger: ‘b[1]’ leaks here
#  291|   
#  292|           safe_close_pair(a);
#  293|->         safe_close_pair(b);
#  294|           safe_close_pair(d);
#  295|           safe_close_pair(k);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: danger: ‘d[1]’ leaks here
#  291|   
#  292|           safe_close_pair(a);
#  293|->         safe_close_pair(b);
#  294|           safe_close_pair(d);
#  295|           safe_close_pair(k);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def423]
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:293:9: danger: ‘k[1]’ leaks here
#  291|   
#  292|           safe_close_pair(a);
#  293|->         safe_close_pair(b);
#  294|           safe_close_pair(d);
#  295|           safe_close_pair(k);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def424]
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: danger: ‘d[1]’ leaks here
#  292|           safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|->         safe_close_pair(d);
#  295|           safe_close_pair(k);
#  296|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def425]
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:294:9: danger: ‘k[1]’ leaks here
#  292|           safe_close_pair(a);
#  293|           safe_close_pair(b);
#  294|->         safe_close_pair(d);
#  295|           safe_close_pair(k);
#  296|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def426]
systemd-258/src/libsystemd/sd-event/test-event.c:295:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘k[1]’
systemd-258/src/libsystemd/sd-event/test-event.c:206:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:207:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:208:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:209:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:211:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:212:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:214:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:217:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:218:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:219:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:220:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:223:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:226:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:227:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:229:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:230:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:231:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:232:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:233:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:235:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:236:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:238:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:239:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:240:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:242:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:243:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:244:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:245:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:246:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:247:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:248:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:249:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:253:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:258:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:260:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:262:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:264:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:266:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:268:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:270:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:276:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:277:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:278:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:281:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:282:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-event/test-event.c:285:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-event/test-event.c:295:9: throw: if ‘safe_close_pair’ throws an exception...
systemd-258/src/libsystemd/sd-event/test-event.c:295:9: danger: ‘k[1]’ leaks here
#  293|           safe_close_pair(b);
#  294|           safe_close_pair(d);
#  295|->         safe_close_pair(k);
#  296|   }
#  297|   

Error: COMPILER_WARNING (CWE-704): [#def427]
systemd-258/src/libsystemd/sd-hwdb/sd-hwdb.c: scope_hint: In function ‘node_lookup_f’
systemd-258/src/libsystemd/sd-hwdb/sd-hwdb.c:102:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  102 |         child = bsearch(&search, (const char *)node + le64toh(hwdb->head->node_size), node->children_count,
#      |               ^
#  100|   
#  101|           search.c = c;
#  102|->         child = bsearch(&search, (const char *)node + le64toh(hwdb->head->node_size), node->children_count,
#  103|                           le64toh(hwdb->head->child_entry_size), trie_children_cmp_f);
#  104|           if (child)

Error: COMPILER_WARNING (CWE-704): [#def428]
systemd-258/src/libsystemd/sd-hwdb/sd-hwdb.c:102:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  100|   
#  101|           search.c = c;
#  102|->         child = bsearch(&search, (const char *)node + le64toh(hwdb->head->node_size), node->children_count,
#  103|                           le64toh(hwdb->head->child_entry_size), trie_children_cmp_f);
#  104|           if (child)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def429]
systemd-258/src/libsystemd/sd-journal/catalog.c:215:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(format_proc_fd_path(&<Uf428>,  fd), "re")’
systemd-258/src/libsystemd/sd-journal/catalog.c:445:5: enter_function: entry to ‘catalog_update’
systemd-258/src/libsystemd/sd-journal/catalog.c:448:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:450:12: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:459:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:462:56: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:464:27: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:466:17: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:466:17: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:467:21: call_function: calling ‘catalog_import_file’ from ‘catalog_update’
#  213|           char *beg, *end, *lang;
#  214|   
#  215|->         assert(filename);
#  216|           assert(ret);
#  217|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
systemd-258/src/libsystemd/sd-journal/catalog.c:215:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(format_proc_fd_path(&<Uf428>,  fd), "re")’
systemd-258/src/libsystemd/sd-journal/catalog.c:445:5: enter_function: entry to ‘catalog_update’
systemd-258/src/libsystemd/sd-journal/catalog.c:448:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:450:12: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:459:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:462:56: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:463:9: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:464:27: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:466:17: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/catalog.c:466:17: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/catalog.c:467:21: call_function: calling ‘catalog_import_file’ from ‘catalog_update’
#  213|           char *beg, *end, *lang;
#  214|   
#  215|->         assert(filename);
#  216|           assert(ret);
#  217|   

Error: COMPILER_WARNING (CWE-704): [#def431]
systemd-258/src/libsystemd/sd-journal/catalog.c: scope_hint: In function ‘find_id’
systemd-258/src/libsystemd/sd-journal/catalog.c:571:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  571 |                         f = bsearch(&key,
#      |                           ^
#  569|                           key.language[len] = '\0';
#  570|   
#  571|->                         f = bsearch(&key,
#  572|                                       (const uint8_t*) p + le64toh(h->header_size),
#  573|                                       le64toh(h->n_items),

Error: COMPILER_WARNING (CWE-704): [#def432]
systemd-258/src/libsystemd/sd-journal/catalog.c:571:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  569|                           key.language[len] = '\0';
#  570|   
#  571|->                         f = bsearch(&key,
#  572|                                       (const uint8_t*) p + le64toh(h->header_size),
#  573|                                       le64toh(h->n_items),

Error: COMPILER_WARNING (CWE-704): [#def433]
systemd-258/src/libsystemd/sd-journal/catalog.c:582:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  582 |                                         f = bsearch(&key,
#      |                                           ^
#  580|                                   if (e) {
#  581|                                           *e = 0;
#  582|->                                         f = bsearch(&key,
#  583|                                                       (const uint8_t*) p + le64toh(h->header_size),
#  584|                                                       le64toh(h->n_items),

Error: COMPILER_WARNING (CWE-704): [#def434]
systemd-258/src/libsystemd/sd-journal/catalog.c:582:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  580|                                   if (e) {
#  581|                                           *e = 0;
#  582|->                                         f = bsearch(&key,
#  583|                                                       (const uint8_t*) p + le64toh(h->header_size),
#  584|                                                       le64toh(h->n_items),

Error: COMPILER_WARNING (CWE-704): [#def435]
systemd-258/src/libsystemd/sd-journal/catalog.c:594:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  594 |                 f = bsearch(&key,
#      |                   ^
#  592|           if (!f) {
#  593|                   zero(key.language);
#  594|->                 f = bsearch(&key,
#  595|                               (const uint8_t*) p + le64toh(h->header_size),
#  596|                               le64toh(h->n_items),

Error: COMPILER_WARNING (CWE-704): [#def436]
systemd-258/src/libsystemd/sd-journal/catalog.c:594:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  592|           if (!f) {
#  593|                   zero(key.language);
#  594|->                 f = bsearch(&key,
#  595|                               (const uint8_t*) p + le64toh(h->header_size),
#  596|                               le64toh(h->n_items),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
systemd-258/src/libsystemd/sd-journal/journal-file.c:4156:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
systemd-258/src/libsystemd/sd-journal/journal-file.c:4105:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4106:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4106:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4107:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4107:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4108:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4108:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4110:14: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4120:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4130:33: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4135:12: branch_true: following ‘true’ branch (when ‘fname’ is non-NULL)...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4136:27: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4136:27: acquire_memory: allocated here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4137:20: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4151:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4151:12: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4156:25: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4156:25: throw: if ‘openat_report_new’ throws an exception...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4156:25: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/14)
# 4154|                    * it doesn't hurt in that case. */
# 4155|   
# 4156|->                 f->fd = openat_report_new(AT_FDCWD, f->path, f->open_flags|O_CLOEXEC|O_NONBLOCK, f->mode, &newly_created);
# 4157|                   if (f->fd < 0) {
# 4158|                           r = f->fd;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
systemd-258/src/libsystemd/sd-journal/journal-file.c:4165:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
systemd-258/src/libsystemd/sd-journal/journal-file.c:4105:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4106:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4106:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4107:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4107:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4108:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4108:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4110:14: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4120:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4130:33: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4135:12: branch_true: following ‘true’ branch (when ‘fname’ is non-NULL)...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4136:27: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4136:27: acquire_memory: allocated here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4137:20: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4151:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4151:12: branch_true: following ‘true’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4156:25: branch_true: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4157:20: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4163:17: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4165:21: throw: if ‘fd_nonblock’ throws an exception...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4165:21: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/14)
# 4163|                   f->close_fd = true;
# 4164|   
# 4165|->                 r = fd_nonblock(f->fd, false);
# 4166|                   if (r < 0)
# 4167|                           goto fail;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
systemd-258/src/libsystemd/sd-journal/journal-file.c:4357:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(p, "user-"), (long unsigned int)(endswith(<unknown>, ".journal") - <unknown>))’
systemd-258/src/libsystemd/sd-journal/journal-file.c:4333:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4334:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4334:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4336:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4337:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4339:12: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4339:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4342:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4343:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4345:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4346:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4349:14: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4350:12: branch_false: following ‘false’ branch (when ‘at’ is NULL)...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4353:26: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4353:15: acquire_memory: allocated here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4354:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4357:16: branch_false: ...to here
systemd-258/src/libsystemd/sd-journal/journal-file.c:4357:16: throw: if ‘parse_uid’ throws an exception...
systemd-258/src/libsystemd/sd-journal/journal-file.c:4357:16: danger: ‘strndup(startswith(p, "user-"), (long unsigned int)(endswith(<unknown>, ".journal") - <unknown>))’ leaks here; was allocated at [(16)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/15)
# 4355|                   return -ENOMEM;
# 4356|   
# 4357|->         return parse_uid(buf, ret_uid);
# 4358|   }
# 4359|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:139:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#  137|           }
#  138|           hashmap_free(nl->reply_callbacks);
#  139|->         prioq_free(nl->reply_callbacks_prioq);
#  140|   
#  141|           sd_event_source_unref(nl->io_event_source);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:141:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#  139|           prioq_free(nl->reply_callbacks_prioq);
#  140|   
#  141|->         sd_event_source_unref(nl->io_event_source);
#  142|           sd_event_source_unref(nl->time_event_source);
#  143|           sd_event_unref(nl->event);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:142:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#  140|   
#  141|           sd_event_source_unref(nl->io_event_source);
#  142|->         sd_event_source_unref(nl->time_event_source);
#  143|           sd_event_unref(nl->event);
#  144|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nl’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:75:5: enter_function: entry to ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:79:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:80:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: call_function: calling ‘netlink_new’ from ‘sd_netlink_open_fd’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:82:13: return_function: returning to ‘sd_netlink_open_fd’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:83:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:86:13: throw: if ‘getsockopt_int’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:76:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘sd_netlink_open_fd’
#  141|           sd_event_source_unref(nl->io_event_source);
#  142|           sd_event_source_unref(nl->time_event_source);
#  143|->         sd_event_unref(nl->event);
#  144|   
#  145|           hashmap_free(nl->broadcast_group_refs);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def444]
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:153:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p.n_ref’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:30:12: enter_function: entry to ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:33:9: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:35:14: call_function: inlined call to ‘malloc_multiply’ from ‘netlink_new’
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:36:12: branch_false: following ‘false’ branch...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:68:39: branch_false: ...to here
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:68:39: throw: if ‘now’ throws an exception...
systemd-258/src/libsystemd/sd-netlink/sd-netlink.c:31:50: call_function: inlined call to ‘sd_netlink_unrefp’ from ‘netlink_new’
#  151|   }
#  152|   
#  153|-> DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_netlink, sd_netlink, netlink_free);
#  154|   
#  155|   int sd_netlink_send(

Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
systemd-258/src/locale/localectl.c:309:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/usr/share/X11/xkb/rules/base.lst", "re")’
systemd-258/src/locale/localectl.c:305:13: acquire_resource: opened here
systemd-258/src/locale/localectl.c:306:12: branch_false: following ‘false’ branch...
systemd-258/src/locale/localectl.c:309:13: branch_false: ...to here
systemd-258/src/locale/localectl.c:309:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:311:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:311:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:313:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:313:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:315:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:315:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:318:17: branch_false: ...to here
systemd-258/src/locale/localectl.c:318:17: throw: if ‘log_assert_failed_unreachable’ throws an exception...
systemd-258/src/locale/localectl.c:309:13: danger: ‘fopen("/usr/share/X11/xkb/rules/base.lst", "re")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  307|                   return log_error_errno(errno, "Failed to open keyboard mapping list: %m");
#  308|   
#  309|->         if (streq(argv[0], "list-x11-keymap-models"))
#  310|                   look_for = MODELS;
#  311|           else if (streq(argv[0], "list-x11-keymap-layouts"))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
systemd-258/src/locale/localectl.c:309:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/usr/share/X11/xkb/rules/base.lst", "re")’
systemd-258/src/locale/localectl.c:305:13: acquire_memory: allocated here
systemd-258/src/locale/localectl.c:306:12: branch_false: following ‘false’ branch...
systemd-258/src/locale/localectl.c:309:13: branch_false: ...to here
systemd-258/src/locale/localectl.c:309:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:311:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:311:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:313:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:313:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:315:18: branch_false: ...to here
systemd-258/src/locale/localectl.c:315:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/locale/localectl.c:318:17: branch_false: ...to here
systemd-258/src/locale/localectl.c:318:17: throw: if ‘log_assert_failed_unreachable’ throws an exception...
systemd-258/src/locale/localectl.c:309:13: danger: ‘fopen("/usr/share/X11/xkb/rules/base.lst", "re")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  307|                   return log_error_errno(errno, "Failed to open keyboard mapping list: %m");
#  308|   
#  309|->         if (streq(argv[0], "list-x11-keymap-models"))
#  310|                   look_for = MODELS;
#  311|           else if (streq(argv[0], "list-x11-keymap-layouts"))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
systemd-258/src/machine/machined-dbus.c:62:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/var/lib/machines", 589824)’
systemd-258/src/machine/machined-dbus.c:55:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-dbus.c:56:9: branch_false: ...to here
systemd-258/src/machine/machined-dbus.c:56:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-dbus.c:58:14: branch_false: ...to here
systemd-258/src/machine/machined-dbus.c:58:14: acquire_resource: opened here
systemd-258/src/machine/machined-dbus.c:59:12: branch_true: following ‘true’ branch...
systemd-258/src/machine/machined-dbus.c:60:32: branch_true: ...to here
systemd-258/src/machine/machined-dbus.c:62:21: throw: if ‘btrfs_subvol_get_subtree_quota_fd’ throws an exception...
systemd-258/src/machine/machined-dbus.c:62:21: danger: ‘open("/var/lib/machines", 589824)’ leaks here; was opened at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
#   60|                   BtrfsQuotaInfo q;
#   61|   
#   62|->                 if (btrfs_subvol_get_subtree_quota_fd(fd, 0, &q) >= 0)
#   63|                           usage = q.referenced;
#   64|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def448]
systemd-258/src/machine/machined-dbus.c:88:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/var/lib/machines", 589824)’
systemd-258/src/machine/machined-dbus.c:81:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-dbus.c:82:9: branch_false: ...to here
systemd-258/src/machine/machined-dbus.c:82:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-dbus.c:84:14: branch_false: ...to here
systemd-258/src/machine/machined-dbus.c:84:14: acquire_resource: opened here
systemd-258/src/machine/machined-dbus.c:85:12: branch_true: following ‘true’ branch...
systemd-258/src/machine/machined-dbus.c:86:32: branch_true: ...to here
systemd-258/src/machine/machined-dbus.c:88:21: throw: if ‘btrfs_subvol_get_subtree_quota_fd’ throws an exception...
systemd-258/src/machine/machined-dbus.c:88:21: danger: ‘open("/var/lib/machines", 589824)’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
#   86|                   BtrfsQuotaInfo q;
#   87|   
#   88|->                 if (btrfs_subvol_get_subtree_quota_fd(fd, 0, &q) >= 0)
#   89|                           size = q.referenced_max;
#   90|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
systemd-258/src/machine/machined-varlink.c:139:19: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(name, "vu-"), (long unsigned int)(d - <unknown>))’
systemd-258/src/machine/machined-varlink.c:110:12: enter_function: entry to ‘user_lookup_name’
systemd-258/src/machine/machined-varlink.c:117:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:118:9: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:118:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:119:9: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:119:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:121:14: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:121:12: branch_true: following ‘true’ branch...
systemd-258/src/machine/machined-varlink.c:124:13: branch_true: ...to here
systemd-258/src/machine/machined-varlink.c:125:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:128:13: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:129:12: branch_false: following ‘false’ branch (when ‘d’ is non-NULL)...
systemd-258/src/machine/machined-varlink.c:132:13: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:132:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:135:25: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:135:14: acquire_memory: allocated here
systemd-258/src/machine/machined-varlink.c:136:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:139:19: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:139:19: call_function: inlined call to ‘hashmap_get’ from ‘user_lookup_name’
systemd-258/src/machine/machined-varlink.c:139:19: danger: ‘strndup(startswith(name, "vu-"), (long unsigned int)(d - <unknown>))’ leaks here; was allocated at [(16)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/15)
#  137|                   return -ENOMEM;
#  138|   
#  139|->         machine = hashmap_get(m->machines, mn);
#  140|           if (!machine)
#  141|                   return -ESRCH;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
systemd-258/src/machine/machined-varlink.c:305:19: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(name, "vg-"), (long unsigned int)(d - <unknown>))’
systemd-258/src/machine/machined-varlink.c:276:12: enter_function: entry to ‘group_lookup_name’
systemd-258/src/machine/machined-varlink.c:283:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:284:9: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:284:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:285:9: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:285:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:287:14: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:287:12: branch_true: following ‘true’ branch...
systemd-258/src/machine/machined-varlink.c:290:13: branch_true: ...to here
systemd-258/src/machine/machined-varlink.c:291:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:294:13: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:295:12: branch_false: following ‘false’ branch (when ‘d’ is non-NULL)...
systemd-258/src/machine/machined-varlink.c:298:13: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:298:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:301:25: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:301:14: acquire_memory: allocated here
systemd-258/src/machine/machined-varlink.c:302:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined-varlink.c:305:19: branch_false: ...to here
systemd-258/src/machine/machined-varlink.c:305:19: call_function: inlined call to ‘hashmap_get’ from ‘group_lookup_name’
systemd-258/src/machine/machined-varlink.c:305:19: danger: ‘strndup(startswith(name, "vg-"), (long unsigned int)(d - <unknown>))’ leaks here; was allocated at [(16)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/15)
#  303|                   return -ENOMEM;
#  304|   
#  305|->         machine = hashmap_get(m->machines, mn);
#  306|           if (!machine)
#  307|                   return -ESRCH;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
systemd-258/src/machine/machined.c:59:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(128)’
systemd-258/src/machine/machined.c:41:12: enter_function: entry to ‘manager_new’
systemd-258/src/machine/machined.c:45:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:47:13: call_function: inlined call to ‘malloc_multiply’ from ‘manager_new’
systemd-258/src/machine/machined.c:48:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:51:9: branch_false: ...to here
systemd-258/src/machine/machined.c:56:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:59:13: branch_false: ...to here
systemd-258/src/machine/machined.c:59:13: throw: if ‘sd_event_default’ throws an exception...
systemd-258/src/machine/machined.c:42:44: call_function: inlined call to ‘manager_unrefp’ from ‘manager_new’
#   57|                   return -ENOMEM;
#   58|   
#   59|->         r = sd_event_default(&m->event);
#   60|           if (r < 0)
#   61|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
systemd-258/src/machine/machined.c:86:16: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(128)’
systemd-258/src/machine/machined.c:41:12: enter_function: entry to ‘manager_new’
systemd-258/src/machine/machined.c:45:9: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:47:13: call_function: inlined call to ‘malloc_multiply’ from ‘manager_new’
systemd-258/src/machine/machined.c:48:12: branch_false: following ‘false’ branch...
systemd-258/src/machine/machined.c:51:9: branch_false: ...to here
systemd-258/src/machine/machined.c:55:23: throw: if ‘hashmap_new’ throws an exception...
systemd-258/src/machine/machined.c:42:44: call_function: inlined call to ‘manager_unrefp’ from ‘manager_new’
#   84|                   return NULL;
#   85|   
#   86|->         while (m->operations)
#   87|                   operation_free(m->operations);
#   88|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
systemd-258/src/measure/measure-tool.c:658:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(EVP_MD_get0_name(EVP_get_digestbyname(*__unique_prefix_i22)))’
systemd-258/src/measure/measure-tool.c:1011:12: enter_function: entry to ‘verb_policy_digest’
systemd-258/src/measure/measure-tool.c:1012:16: call_function: calling ‘build_policy_digest’ from ‘verb_policy_digest’
#  656|   
#  657|                   sz = EVP_MD_size(implementation);
#  658|->                 if (sz <= 0 || sz >= INT_MAX)
#  659|                           return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Unexpected digest size: %i", sz);
#  660|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
systemd-258/src/measure/measure-tool.c:665:27: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, (size_t)EVP_MD_get_size(EVP_get_digestbyname(*__unique_prefix_i22)))’
systemd-258/src/measure/measure-tool.c:1011:12: enter_function: entry to ‘verb_policy_digest’
systemd-258/src/measure/measure-tool.c:1012:16: call_function: calling ‘build_policy_digest’ from ‘verb_policy_digest’
#  663|                           return log_oom();
#  664|   
#  665|->                 pcr_states[n++] = (struct PcrState) {
#  666|                           .bank = ascii_strlower(TAKE_PTR(b)),
#  667|                           .md = implementation,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
systemd-258/src/measure/measure-tool.c:1064:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*__unique_prefix_i27)’
systemd-258/src/measure/measure-tool.c:1042:12: branch_false: following ‘false’ branch...
systemd-258/src/measure/measure-tool.c:1045:13: branch_false: ...to here
systemd-258/src/measure/measure-tool.c:1046:12: branch_false: following ‘false’ branch...
systemd-258/src/measure/measure-tool.c:1049:14: branch_false: ...to here
systemd-258/src/measure/measure-tool.c:1054:12: branch_false: following ‘false’ branch...
systemd-258/src/measure/measure-tool.c:1057:9: branch_false: ...to here
systemd-258/src/measure/measure-tool.c:1057:9: branch_true: following ‘true’ branch...
systemd-258/src/measure/measure-tool.c:1060:21: acquire_memory: allocated here
systemd-258/src/measure/measure-tool.c:1061:20: branch_false: following ‘false’ branch...
systemd-258/src/measure/measure-tool.c:1064:21: branch_false: ...to here
systemd-258/src/measure/measure-tool.c:1064:21: throw: if ‘ascii_strlower’ throws an exception...
systemd-258/src/measure/measure-tool.c:1064:21: danger: ‘strdup(*__unique_prefix_i27)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
# 1062|                           return log_oom();
# 1063|   
# 1064|->                 if (asprintf(&p, "/sys/class/tpm/tpm0/pcr-%s/", ascii_strlower(b)) < 0)
# 1065|                           return log_oom();
# 1066|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
systemd-258/src/network/generator/network-generator.c:242:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(88)’
systemd-258/src/network/generator/network-generator.c:1219:5: enter_function: entry to ‘parse_cmdline_item’
systemd-258/src/network/generator/network-generator.c:1220:28: branch_false: following ‘false’ branch...
systemd-258/src/network/generator/network-generator.c:1222:9: branch_false: ...to here
systemd-258/src/network/generator/network-generator.c:1222:9: branch_false: following ‘false’ branch...
systemd-258/src/network/generator/network-generator.c:1224:13: branch_false: ...to here
systemd-258/src/network/generator/network-generator.c:1224:12: branch_false: following ‘false’ branch...
systemd-258/src/network/generator/network-generator.c:1226:13: branch_false: ...to here
systemd-258/src/network/generator/network-generator.c:1226:12: branch_false: following ‘false’ branch...
systemd-258/src/network/generator/network-generator.c:1228:13: branch_false: ...to here
systemd-258/src/network/generator/network-generator.c:1228:12: branch_false: following ‘false’ branch...
systemd-258/src/network/generator/network-generator.c:1230:13: branch_false: ...to here
systemd-258/src/network/generator/network-generator.c:1230:12: branch_true: following ‘true’ branch...
systemd-258/src/network/generator/network-generator.c:1231:24: branch_true: ...to here
systemd-258/src/network/generator/network-generator.c:1231:24: call_function: calling ‘parse_cmdline_rd_peerdns’ from ‘parse_cmdline_item’
#  240|           };
#  241|   
#  242|->         r = hashmap_ensure_put(&context->networks_by_name, &network_hash_ops, network->ifname, network);
#  243|           if (r < 0)
#  244|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
systemd-258/src/network/networkd-manager.c:603:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(944)’
systemd-258/src/network/networkd-manager.c:621:5: enter_function: entry to ‘manager_new’
systemd-258/src/network/networkd-manager.c:624:13: call_function: inlined call to ‘malloc_multiply’ from ‘manager_new’
systemd-258/src/network/networkd-manager.c:625:12: branch_false: following ‘false’ branch...
systemd-258/src/network/networkd-manager.c:638:42: branch_false: ...to here
systemd-258/src/network/networkd-manager.c:638:42: call_function: calling ‘persistent_storage_open’ from ‘manager_new’
systemd-258/src/network/networkd-manager.c:638:42: call_function: calling ‘manager_free’ from ‘manager_new’
#  601|   
#  602|           r = getenv_bool("SYSTEMD_NETWORK_PERSISTENT_STORAGE_READY");
#  603|->         if (r < 0 && r != -ENXIO)
#  604|                   return log_debug_errno(r, "Failed to parse $SYSTEMD_NETWORK_PERSISTENT_STORAGE_READY environment variable, ignoring: %m");
#  605|           if (r <= 0)

Error: CPPCHECK_WARNING (CWE-457): [#def458]
systemd-258/src/nspawn/nspawn-oci.c:1933: error[uninitvar]: Uninitialized variable: e
# 1931|                   const char *p;
# 1932|   
# 1933|->                 if (!sd_json_variant_is_string(e))
# 1934|                           return json_log(v, flags, SYNTHETIC_ERRNO(EINVAL),
# 1935|                                           "Path is not a string, refusing.");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def459]
systemd-258/src/nspawn/nspawn-setuid.c:30:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<Uaa18>[1]’
systemd-258/src/nspawn/nspawn-setuid.c:23:9: branch_false: following ‘false’ branch...
systemd-258/src/nspawn/nspawn-setuid.c:24:9: branch_false: ...to here
systemd-258/src/nspawn/nspawn-setuid.c:24:9: branch_false: following ‘false’ branch...
systemd-258/src/nspawn/nspawn-setuid.c:25:9: branch_false: ...to here
systemd-258/src/nspawn/nspawn-setuid.c:25:9: branch_false: following ‘false’ branch...
systemd-258/src/nspawn/nspawn-setuid.c:27:13: branch_false: ...to here
systemd-258/src/nspawn/nspawn-setuid.c:27:12: branch_false: following ‘false’ branch...
systemd-258/src/nspawn/nspawn-setuid.c:31:36: branch_false: ...to here
systemd-258/src/nspawn/nspawn-setuid.c:30:13: throw: if ‘safe_fork_full’ throws an exception...
systemd-258/src/nspawn/nspawn-setuid.c:30:13: danger: ‘<Uaa18>[1]’ leaks here
#   28|                   return log_error_errno(errno, "Failed to allocate pipe: %m");
#   29|   
#   30|->         r = safe_fork_full("(getent)",
#   31|                              (int[]) { -EBADF, pipe_fds[1], -EBADF }, NULL, 0,
#   32|                              FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_DEATHSIG_SIGTERM|FORK_REARRANGE_STDIO|FORK_LOG|FORK_RLIMIT_NOFILE_SAFE,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(&*dentry.d_name, "i"), (long unsigned int)(endswith(<unknown>, ".userns") - <unknown>))’
systemd-258/src/nsresourced/nsresourced-manager.c:381:12: enter_function: entry to ‘manager_scan_registry’
systemd-258/src/nsresourced/nsresourced-manager.c:385:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:389:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:393:28: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:394:41: branch_true: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:400:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:403:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:404:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:407:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:407:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourced-manager.c:408:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:411:21: call_function: inlined call to ‘safe_atou64’ from ‘manager_scan_registry’
systemd-258/src/nsresourced/nsresourced-manager.c:412:20: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: branch_true: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: branch_true: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: throw: if ‘log_internal’ throws an exception...
systemd-258/src/nsresourced/nsresourced-manager.c:413:25: danger: ‘strndup(startswith(&*dentry.d_name, "i"), (long unsigned int)(endswith(<unknown>, ".userns") - <unknown>))’ leaks here; was allocated at [(16)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/15)
#  411|                   r = safe_atou64(u, &inode);
#  412|                   if (r < 0) {
#  413|->                         log_warning_errno(r, "Failed to parse userns inode number from '%s', skipping: %m", dentry->d_name);
#  414|                           continue;
#  415|                   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
systemd-258/src/nsresourced/nsresourced-manager.c:417:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(&*dentry.d_name, "i"), (long unsigned int)(endswith(<unknown>, ".userns") - <unknown>))’
systemd-258/src/nsresourced/nsresourced-manager.c:381:12: enter_function: entry to ‘manager_scan_registry’
systemd-258/src/nsresourced/nsresourced-manager.c:385:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:386:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:387:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:389:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:390:12: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:393:28: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:394:41: branch_true: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:407:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourced-manager.c:408:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:411:21: call_function: inlined call to ‘safe_atou64’ from ‘manager_scan_registry’
systemd-258/src/nsresourced/nsresourced-manager.c:412:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:417:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:417:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourced-manager.c:422:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourced-manager.c:422:21: throw: if ‘set_ensure_put’ throws an exception...
systemd-258/src/nsresourced/nsresourced-manager.c:417:21: danger: ‘strndup(startswith(&*dentry.d_name, "i"), (long unsigned int)(endswith(<unknown>, ".userns") - <unknown>))’ leaks here; was allocated at [(12)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/11)
#  415|                   }
#  416|   
#  417|->                 if (inode > UINT32_MAX) { /* namespace inode numbers are 23bit only right now */
#  418|                           log_warning("userns inode number outside of 32bit range, skipping.");
#  419|                           continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
systemd-258/src/nsresourced/nsresourcework.c:157:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(p.user_name, "ns-"), (long unsigned int)(f - <unknown>))’
systemd-258/src/nsresourced/nsresourcework.c:129:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:131:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:132:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:135:24: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:135:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:138:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:138:12: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:142:21: branch_true: ...to here
systemd-258/src/nsresourced/nsresourcework.c:143:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:146:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:147:20: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
systemd-258/src/nsresourced/nsresourcework.c:150:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:150:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:153:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:153:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourcework.c:154:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:157:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:157:21: throw: if ‘userns_registry_load_by_name’ throws an exception...
systemd-258/src/nsresourced/nsresourcework.c:157:21: danger: ‘strndup(startswith(p.user_name, "ns-"), (long unsigned int)(f - <unknown>))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/14)
#  155|                           return log_oom();
#  156|   
#  157|->                 r = userns_registry_load_by_name(
#  158|                                   /* dir_fd= */ -EBADF,
#  159|                                   n,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
systemd-258/src/nsresourced/nsresourcework.c:166:42: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(p.user_name, "ns-"), (long unsigned int)(f - <unknown>))’
systemd-258/src/nsresourced/nsresourcework.c:129:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:131:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:132:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:135:24: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:135:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:138:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:138:12: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:142:21: branch_true: ...to here
systemd-258/src/nsresourced/nsresourcework.c:143:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:146:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:147:20: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
systemd-258/src/nsresourced/nsresourcework.c:150:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:150:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:153:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:153:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourcework.c:154:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:157:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:161:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:163:20: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:163:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:166:42: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:166:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:169:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:169:20: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:170:32: throw: if ‘sd_varlink_error’ throws an exception...
systemd-258/src/nsresourced/nsresourcework.c:166:42: danger: ‘strndup(startswith(p.user_name, "ns-"), (long unsigned int)(f - <unknown>))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/14)
#  164|                           return r;
#  165|   
#  166|->                 if (offset >= userns_info->size) /* Outside of range? */
#  167|                           goto not_found;
#  168|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
systemd-258/src/nsresourced/nsresourcework.c:284:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(p.group_name, "ns-"), (long unsigned int)(f - <unknown>))’
systemd-258/src/nsresourced/nsresourcework.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:258:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:259:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:262:24: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:262:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:265:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:265:12: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:269:21: branch_true: ...to here
systemd-258/src/nsresourced/nsresourcework.c:270:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:273:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:274:20: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
systemd-258/src/nsresourced/nsresourcework.c:277:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:277:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:280:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:280:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourcework.c:281:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:284:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:284:21: throw: if ‘userns_registry_load_by_name’ throws an exception...
systemd-258/src/nsresourced/nsresourcework.c:284:21: danger: ‘strndup(startswith(p.group_name, "ns-"), (long unsigned int)(f - <unknown>))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/14)
#  282|                           return log_oom();
#  283|   
#  284|->                 r = userns_registry_load_by_name(
#  285|                                   /* dir_fd= */ -EBADF,
#  286|                                   n,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
systemd-258/src/nsresourced/nsresourcework.c:293:42: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(p.group_name, "ns-"), (long unsigned int)(f - <unknown>))’
systemd-258/src/nsresourced/nsresourcework.c:256:9: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:258:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:259:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:262:24: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:262:12: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:265:13: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:265:12: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:269:21: branch_true: ...to here
systemd-258/src/nsresourced/nsresourcework.c:270:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:273:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:274:20: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
systemd-258/src/nsresourced/nsresourcework.c:277:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:277:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:280:32: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:280:21: acquire_memory: allocated here
systemd-258/src/nsresourced/nsresourcework.c:281:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:284:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:288:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:290:20: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:290:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:293:42: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:293:20: branch_false: following ‘false’ branch...
systemd-258/src/nsresourced/nsresourcework.c:296:21: branch_false: ...to here
systemd-258/src/nsresourced/nsresourcework.c:296:20: branch_true: following ‘true’ branch...
systemd-258/src/nsresourced/nsresourcework.c:297:32: throw: if ‘sd_varlink_error’ throws an exception...
systemd-258/src/nsresourced/nsresourcework.c:293:42: danger: ‘strndup(startswith(p.group_name, "ns-"), (long unsigned int)(f - <unknown>))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/14)
#  291|                           return r;
#  292|   
#  293|->                 if (offset >= userns_info->size) /* Outside of range? */
#  294|                           goto not_found;
#  295|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
systemd-258/src/oom/oomd-util.c:421:13: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 128)’
systemd-258/src/oom/oomd-util.c:411:9: branch_false: following ‘false’ branch...
systemd-258/src/oom/oomd-util.c:412:9: branch_false: ...to here
systemd-258/src/oom/oomd-util.c:412:9: branch_false: following ‘false’ branch...
systemd-258/src/oom/oomd-util.c:414:15: branch_false: ...to here
systemd-258/src/oom/oomd-util.c:414:15: acquire_memory: allocated here
systemd-258/src/oom/oomd-util.c:415:12: branch_false: following ‘false’ branch...
systemd-258/src/oom/oomd-util.c:418:19: branch_false: ...to here
systemd-258/src/oom/oomd-util.c:421:13: throw: if ‘cg_get_path’ throws an exception...
systemd-258/src/oom/oomd-util.c:421:13: danger: ‘calloc(1, 128)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
#  419|           ctx->preference = MANAGED_OOM_PREFERENCE_NONE;
#  420|   
#  421|->         r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, path, "memory.pressure", &p);
#  422|           if (r < 0)
#  423|                   return log_debug_errno(r, "Error getting cgroup memory pressure path from %s: %m", path);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def467]
systemd-258/src/resolve/resolved-dns-answer.c:24:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*p.n_ref’
systemd-258/src/resolve/resolved-dns-answer.c:107:12: enter_function: entry to ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:118:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:120:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:120:12: branch_false: following ‘false’ branch (when ‘a’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-answer.c:123:13: call_function: inlined call to ‘dns_answer_size’ from ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:123:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:126:16: call_function: inlined call to ‘malloc_multiply’ from ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:127:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:132:23: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:132:23: throw: if ‘dns_resource_record_ref’ throws an exception...
systemd-258/src/resolve/resolved-dns-answer.c:115:58: call_function: inlined call to ‘dns_answer_item_unrefp’ from ‘dns_answer_add_raw’
#   22|   }
#   23|   
#   24|-> DEFINE_PRIVATE_TRIVIAL_REF_UNREF_FUNC(DnsAnswerItem, dns_answer_item, dns_answer_item_free);
#   25|   DEFINE_TRIVIAL_CLEANUP_FUNC(DnsAnswerItem*, dns_answer_item_unref);
#   26|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
systemd-258/src/resolve/resolved-dns-answer.c:59:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(16)’
systemd-258/src/resolve/resolved-dns-answer.c:72:12: enter_function: entry to ‘dns_answer_new’
systemd-258/src/resolve/resolved-dns-answer.c:80:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:83:13: call_function: inlined call to ‘malloc_multiply’ from ‘dns_answer_new’
systemd-258/src/resolve/resolved-dns-answer.c:84:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:89:26: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:92:13: call_function: calling ‘dns_answer_reserve_internal’ from ‘dns_answer_new’
systemd-258/src/resolve/resolved-dns-answer.c:74:49: call_function: inlined call to ‘dns_answer_unrefp’ from ‘dns_answer_new’
#   57|           size_t m;
#   58|   
#   59|->         assert(a);
#   60|           assert(a->items);
#   61|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
systemd-258/src/resolve/resolved-dns-answer.c:76:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_answer_new((long unsigned int)_hashmap_size(*a.items) + (long unsigned int)_hashmap_size(*b.items))’
systemd-258/src/resolve/resolved-dns-answer.c:459:5: enter_function: entry to ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:463:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:465:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:465:12: branch_false: following ‘false’ branch (when ‘a != b’)...
systemd-258/src/resolve/resolved-dns-answer.c:470:13: call_function: inlined call to ‘dns_answer_size’ from ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:470:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:475:13: call_function: inlined call to ‘dns_answer_size’ from ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:475:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:480:28: call_function: inlined call to ‘dns_answer_size’ from ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:480:13: call_function: calling ‘dns_answer_new’ from ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:480:13: return_function: returning to ‘dns_answer_merge’ from ‘dns_answer_new’
systemd-258/src/resolve/resolved-dns-answer.c:481:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:484:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:484:13: call_function: calling ‘dns_answer_add_raw_all’ from ‘dns_answer_merge’
systemd-258/src/resolve/resolved-dns-answer.c:460:49: call_function: inlined call to ‘dns_answer_unrefp’ from ‘dns_answer_merge’
#   74|           _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL;
#   75|   
#   76|->         if (n > UINT16_MAX)
#   77|                   n = UINT16_MAX;
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
systemd-258/src/resolve/resolved-dns-answer.c:139:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(40)’
systemd-258/src/resolve/resolved-dns-answer.c:107:12: enter_function: entry to ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:118:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:120:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:120:12: branch_false: following ‘false’ branch (when ‘a’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-answer.c:123:13: call_function: inlined call to ‘dns_answer_size’ from ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:123:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:126:16: call_function: inlined call to ‘malloc_multiply’ from ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:127:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-answer.c:132:23: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-answer.c:139:13: call_function: inlined call to ‘ordered_set_put’ from ‘dns_answer_add_raw’
systemd-258/src/resolve/resolved-dns-answer.c:115:58: call_function: inlined call to ‘dns_answer_item_unrefp’ from ‘dns_answer_add_raw’
#  137|           };
#  138|   
#  139|->         r = ordered_set_put(a->items, item);
#  140|           if (r < 0)
#  141|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
systemd-258/src/resolve/resolved-dns-question.c:16:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_question_new((long unsigned int)((int)with_txt + 1))’
systemd-258/src/resolve/resolved-dns-question.c:470:5: enter_function: entry to ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:484:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: following ‘false’ branch (when ‘domain’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_false: following ‘false’ branch (when ‘type’ is NULL)...
systemd-258/src/resolve/resolved-dns-question.c:519:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:519:20: branch_false: following ‘false’ branch (when ‘service’ is NULL)...
systemd-258/src/resolve/resolved-dns-question.c:525:30: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:525:13: call_function: calling ‘dns_question_new’ from ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:525:13: return_function: returning to ‘dns_question_new_service’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:526:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:529:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:529:15: throw: if ‘dns_resource_key_new’ throws an exception...
systemd-258/src/resolve/resolved-dns-question.c:16:12: danger: ‘dns_question_new((long unsigned int)((int)with_txt + 1))’ leaks here; was allocated at [(12)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/11)
#   14|           DnsQuestion *q;
#   15|   
#   16|->         if (n > UINT16_MAX) /* We can only place 64K key in an question section at max */
#   17|                   n = UINT16_MAX;
#   18|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
systemd-258/src/resolve/resolved-dns-question.c:16:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_question_new(*a.n_keys + *b.n_keys)’
systemd-258/src/resolve/resolved-dns-question.c:571:5: enter_function: entry to ‘dns_question_merge’
systemd-258/src/resolve/resolved-dns-question.c:575:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:577:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:577:12: branch_false: following ‘false’ branch (when ‘a != b’)...
systemd-258/src/resolve/resolved-dns-question.c:577:23: call_function: inlined call to ‘dns_question_size’ from ‘dns_question_merge’
systemd-258/src/resolve/resolved-dns-question.c:577:13: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:582:13: call_function: inlined call to ‘dns_question_size’ from ‘dns_question_merge’
systemd-258/src/resolve/resolved-dns-question.c:582:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:587:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:587:13: call_function: calling ‘dns_question_new’ from ‘dns_question_merge’
systemd-258/src/resolve/resolved-dns-question.c:587:13: return_function: returning to ‘dns_question_merge’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:588:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:591:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:591:13: call_function: calling ‘dns_question_add_raw_all’ from ‘dns_question_merge’
systemd-258/src/resolve/resolved-dns-question.c:572:53: call_function: inlined call to ‘dns_question_unrefp’ from ‘dns_question_merge’
#   14|           DnsQuestion *q;
#   15|   
#   16|->         if (n > UINT16_MAX) /* We can only place 64K key in an question section at max */
#   17|                   n = UINT16_MAX;
#   18|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
systemd-258/src/resolve/resolved-dns-question.c:16:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_question_new(*q.n_keys)’
systemd-258/src/resolve/resolved-dns-question.c:245:5: enter_function: entry to ‘dns_question_cname_redirect’
systemd-258/src/resolve/resolved-dns-question.c:251:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:252:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:252:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:253:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:255:13: call_function: inlined call to ‘dns_question_size’ from ‘dns_question_cname_redirect’
systemd-258/src/resolve/resolved-dns-question.c:255:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:260:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:260:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-question.c:261:38: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-question.c:277:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:280:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:292:13: call_function: calling ‘dns_question_new’ from ‘dns_question_cname_redirect’
systemd-258/src/resolve/resolved-dns-question.c:292:13: return_function: returning to ‘dns_question_cname_redirect’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:293:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:297:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:297:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-question.c:246:53: call_function: inlined call to ‘dns_question_unrefp’ from ‘dns_question_cname_redirect’
#   14|           DnsQuestion *q;
#   15|   
#   16|->         if (n > UINT16_MAX) /* We can only place 64K key in an question section at max */
#   17|                   n = UINT16_MAX;
#   18|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
systemd-258/src/resolve/resolved-dns-question.c:16:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_question_new(1)’
systemd-258/src/resolve/resolved-dns-question.c:423:5: enter_function: entry to ‘dns_question_new_service_pointer’
systemd-258/src/resolve/resolved-dns-question.c:430:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:432:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:432:12: branch_false: following ‘false’ branch (when ‘domain’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:435:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:435:12: branch_false: following ‘false’ branch (when ‘type’ is NULL)...
systemd-258/src/resolve/resolved-dns-question.c:453:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:453:13: call_function: calling ‘dns_question_new’ from ‘dns_question_new_service_pointer’
systemd-258/src/resolve/resolved-dns-question.c:453:13: return_function: returning to ‘dns_question_new_service_pointer’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:454:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:457:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:457:15: throw: if ‘dns_resource_key_new’ throws an exception...
systemd-258/src/resolve/resolved-dns-question.c:16:12: danger: ‘dns_question_new(1)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/9)
#   14|           DnsQuestion *q;
#   15|   
#   16|->         if (n > UINT16_MAX) /* We can only place 64K key in an question section at max */
#   17|                   n = UINT16_MAX;
#   18|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
systemd-258/src/resolve/resolved-dns-question.c:16:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_question_new(<unknown>)’
systemd-258/src/resolve/resolved-dns-question.c:325:5: enter_function: entry to ‘dns_question_new_address’
systemd-258/src/resolve/resolved-dns-question.c:330:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:331:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:331:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:333:14: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:341:12: branch_false: following ‘false’ branch (when ‘convert_idna == 0’)...
systemd-258/src/resolve/resolved-dns-question.c:355:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:355:13: call_function: calling ‘dns_question_new’ from ‘dns_question_new_address’
systemd-258/src/resolve/resolved-dns-question.c:355:13: return_function: returning to ‘dns_question_new_address’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:356:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:359:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:359:12: branch_true: following ‘true’ branch (when ‘family != 10’)...
systemd-258/src/resolve/resolved-dns-question.c:360:68: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-question.c:362:23: throw: if ‘dns_resource_key_new’ throws an exception...
systemd-258/src/resolve/resolved-dns-question.c:360:68: call_function: calling ‘dns_resource_key_unrefp’ from ‘dns_question_new_address’
systemd-258/src/resolve/resolved-dns-question.c:360:68: return_function: returning to ‘dns_question_new_address’ from ‘dns_resource_key_unrefp’
systemd-258/src/resolve/resolved-dns-question.c:16:12: danger: ‘dns_question_new(<unknown>)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
#   14|           DnsQuestion *q;
#   15|   
#   16|->         if (n > UINT16_MAX) /* We can only place 64K key in an question section at max */
#   17|                   n = UINT16_MAX;
#   18|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
systemd-258/src/resolve/resolved-dns-question.c:81:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
systemd-258/src/resolve/resolved-dns-question.c:470:5: enter_function: entry to ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:484:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: following ‘false’ branch (when ‘domain’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_true: following ‘true’ branch (when ‘type’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:505:20: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-question.c:505:20: branch_false: following ‘false’ branch (when ‘convert_idna == 0’)...
systemd-258/src/resolve/resolved-dns-question.c:513:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:514:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:517:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:525:13: call_function: calling ‘dns_question_new’ from ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:525:13: return_function: returning to ‘dns_question_new_service’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:526:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:529:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:530:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:533:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:533:13: call_function: calling ‘dns_question_add’ from ‘dns_question_new_service’
#   79|   
#   80|           DNS_QUESTION_FOREACH_ITEM(item, q) {
#   81|->                 r = dns_resource_key_equal(item->key, key);
#   82|                   if (r < 0)
#   83|                           return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
systemd-258/src/resolve/resolved-dns-question.c:478:60: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
systemd-258/src/resolve/resolved-dns-question.c:470:5: enter_function: entry to ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:484:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:501:12: branch_false: following ‘false’ branch (when ‘domain’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:504:12: branch_true: following ‘true’ branch (when ‘type’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-question.c:505:20: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-question.c:514:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:517:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:525:13: call_function: calling ‘dns_question_new’ from ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:525:13: return_function: returning to ‘dns_question_new_service’ from ‘dns_question_new’
systemd-258/src/resolve/resolved-dns-question.c:526:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-question.c:529:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-question.c:479:53: call_function: inlined call to ‘dns_question_unrefp’ from ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:478:60: call_function: calling ‘dns_resource_key_unrefp’ from ‘dns_question_new_service’
systemd-258/src/resolve/resolved-dns-question.c:478:60: return_function: returning to ‘dns_question_new_service’ from ‘dns_resource_key_unrefp’
systemd-258/src/resolve/resolved-dns-question.c:478:60: danger: ‘q’ leaks here; was allocated at [(12)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/11)
#  476|                   bool convert_idna) {
#  477|   
#  478|->         _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL;
#  479|           _cleanup_(dns_question_unrefp) DnsQuestion *q = NULL;
#  480|           _cleanup_free_ char *buf = NULL, *joined = NULL;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def478]
systemd-258/src/resolve/resolved-dns-question.h:61:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘q’
systemd-258/src/resolve/resolved-dns-question.c:394:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-question.c:394:9: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-question.c:394:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/resolve/resolved-dns-question.c:390:53: call_function: inlined call to ‘dns_question_unrefp’ from ‘dns_question_new_reverse’
#   59|   int dns_question_merge(DnsQuestion *a, DnsQuestion *b, DnsQuestion **ret);
#   60|   
#   61|-> DEFINE_TRIVIAL_CLEANUP_FUNC(DnsQuestion*, dns_question_unref);
#   62|   
#   63|   #define _DNS_QUESTION_FOREACH(u, k, q)                                     \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
systemd-258/src/resolve/resolved-dns-rr.c:129:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_resource_record_new(*rr.key)’
systemd-258/src/resolve/resolved-dns-rr.c:1724:20: enter_function: entry to ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1728:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: call_function: calling ‘dns_resource_record_new’ from ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: return_function: returning to ‘dns_resource_record_copy’ from ‘dns_resource_record_new’
systemd-258/src/resolve/resolved-dns-rr.c:1731:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1734:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1938:20: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1725:66: call_function: inlined call to ‘dns_resource_record_unrefp’ from ‘dns_resource_record_copy’
#  127|           /* Static/const keys created with DNS_RESOURCE_KEY_CONST will
#  128|            * set this to -1, they should not be reffed/unreffed */
#  129|->         assert(k->n_ref != UINT_MAX);
#  130|   
#  131|           assert(k->n_ref > 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
systemd-258/src/resolve/resolved-dns-rr.c:129:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(112)’
systemd-258/src/resolve/resolved-dns-rr.c:1724:20: enter_function: entry to ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1728:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: call_function: calling ‘dns_resource_record_new’ from ‘dns_resource_record_copy’
#  127|           /* Static/const keys created with DNS_RESOURCE_KEY_CONST will
#  128|            * set this to -1, they should not be reffed/unreffed */
#  129|->         assert(k->n_ref != UINT_MAX);
#  130|   
#  131|           assert(k->n_ref > 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
systemd-258/src/resolve/resolved-dns-rr.c:528:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
systemd-258/src/resolve/resolved-dns-rr.c:1724:20: enter_function: entry to ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1728:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: call_function: calling ‘dns_resource_record_new’ from ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: return_function: returning to ‘dns_resource_record_copy’ from ‘dns_resource_record_new’
systemd-258/src/resolve/resolved-dns-rr.c:1731:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1734:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1740:17: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1740:54: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1847:47: acquire_memory: allocated here
systemd-258/src/resolve/resolved-dns-rr.c:1848:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1850:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1850:20: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1851:44: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1852:28: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1725:66: call_function: inlined call to ‘dns_resource_record_unrefp’ from ‘dns_resource_record_copy’
#  526|   
#  527|           free(rr->to_string);
#  528|->         return mfree(rr);
#  529|   }
#  530|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
systemd-258/src/resolve/resolved-dns-rr.c:951:27: warning[-Wanalyzer-malloc-leak]: leak of ‘format_svc_param(i)’
systemd-258/src/resolve/resolved-dns-rr.c:966:14: enter_function: entry to ‘format_svc_params’
systemd-258/src/resolve/resolved-dns-rr.c:969:9: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
systemd-258/src/resolve/resolved-dns-rr.c:969:9: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:970:31: call_function: calling ‘format_svc_param’ from ‘format_svc_params’
systemd-258/src/resolve/resolved-dns-rr.c:970:31: return_function: returning to ‘format_svc_params’ from ‘format_svc_param’
systemd-258/src/resolve/resolved-dns-rr.c:971:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:973:21: call_function: inlined call to ‘strv_push’ from ‘format_svc_params’
systemd-258/src/resolve/resolved-dns-rr.c:951:27: danger: ‘format_svc_param(i)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/7)
#  949|   
#  950|   static char *format_svc_param(DnsSvcParam *i) {
#  951|->         const char *key = FORMAT_DNS_SVC_PARAM_KEY(i->key);
#  952|           _cleanup_free_ char *value = NULL;
#  953|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
systemd-258/src/resolve/resolved-dns-rr.c:1734:21: warning[-Wanalyzer-malloc-leak]: leak of ‘dns_resource_record_new(*rr.key)’
systemd-258/src/resolve/resolved-dns-rr.c:1724:20: enter_function: entry to ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1728:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: call_function: calling ‘dns_resource_record_new’ from ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1730:16: return_function: returning to ‘dns_resource_record_copy’ from ‘dns_resource_record_new’
systemd-258/src/resolve/resolved-dns-rr.c:1731:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1734:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1740:17: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-rr.c:1740:54: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-rr.c:1772:35: call_function: calling ‘dns_txt_item_copy’ from ‘dns_resource_record_copy’
systemd-258/src/resolve/resolved-dns-rr.c:1725:66: call_function: inlined call to ‘dns_resource_record_unrefp’ from ‘dns_resource_record_copy’
# 1732|                   return NULL;
# 1733|   
# 1734|->         copy->ttl = rr->ttl;
# 1735|           copy->expiry = rr->expiry;
# 1736|           copy->n_skip_labels_signer = rr->n_skip_labels_signer;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def484]
systemd-258/src/resolve/resolved-dns-transaction.c:186:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
systemd-258/src/resolve/resolved-dns-transaction.c:2257:12: enter_function: entry to ‘dns_transaction_add_dnssec_transaction’
systemd-258/src/resolve/resolved-dns-transaction.c:2261:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2265:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2266:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: call_function: calling ‘dns_transaction_new’ from ‘dns_transaction_add_dnssec_transaction’
#  184|   }
#  185|   
#  186|-> DEFINE_TRIVIAL_CLEANUP_FUNC(DnsTransaction*, dns_transaction_free);
#  187|   
#  188|   DnsTransaction* dns_transaction_gc(DnsTransaction *t) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
systemd-258/src/resolve/resolved-dns-transaction.c:306:24: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(304)’
systemd-258/src/resolve/resolved-dns-transaction.c:2257:12: enter_function: entry to ‘dns_transaction_add_dnssec_transaction’
systemd-258/src/resolve/resolved-dns-transaction.c:2261:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2265:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2266:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: call_function: calling ‘dns_transaction_new’ from ‘dns_transaction_add_dnssec_transaction’
#  304|                   .answer_ede_rcode = _DNS_EDE_RCODE_INVALID,
#  305|                   .answer_nsec_ttl = UINT32_MAX,
#  306|->                 .key = dns_resource_key_ref(key),
#  307|                   .query_flags = query_flags,
#  308|                   .bypass = dns_packet_ref(bypass),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
systemd-258/src/resolve/resolved-dns-transaction.c:308:27: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(304)’
systemd-258/src/resolve/resolved-dns-transaction.c:2257:12: enter_function: entry to ‘dns_transaction_add_dnssec_transaction’
systemd-258/src/resolve/resolved-dns-transaction.c:2261:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2265:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2266:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: call_function: calling ‘dns_transaction_new’ from ‘dns_transaction_add_dnssec_transaction’
#  306|                   .key = dns_resource_key_ref(key),
#  307|                   .query_flags = query_flags,
#  308|->                 .bypass = dns_packet_ref(bypass),
#  309|                   .current_feature_level = _DNS_SERVER_FEATURE_LEVEL_INVALID,
#  310|                   .clamp_feature_level_servfail = _DNS_SERVER_FEATURE_LEVEL_INVALID,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
systemd-258/src/resolve/resolved-dns-transaction.c:311:23: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(304)’
systemd-258/src/resolve/resolved-dns-transaction.c:2257:12: enter_function: entry to ‘dns_transaction_add_dnssec_transaction’
systemd-258/src/resolve/resolved-dns-transaction.c:2261:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2262:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2263:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2265:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2266:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2267:21: call_function: calling ‘dns_transaction_new’ from ‘dns_transaction_add_dnssec_transaction’
#  309|                   .current_feature_level = _DNS_SERVER_FEATURE_LEVEL_INVALID,
#  310|                   .clamp_feature_level_servfail = _DNS_SERVER_FEATURE_LEVEL_INVALID,
#  311|->                 .id = pick_new_id(s->manager),
#  312|           };
#  313|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def488]
systemd-258/src/resolve/resolved-dns-transaction.c:2547:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aux’
systemd-258/src/resolve/resolved-dns-transaction.c:2455:5: enter_function: entry to ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2462:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2479:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2479:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2481:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: call_function: calling ‘dns_transaction_dnssec_supported’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_dnssec_supported’
systemd-258/src/resolve/resolved-dns-transaction.c:2483:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2486:9: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2486:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2492:21: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2492:21: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:2493:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2495:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2495:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2498:25: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2528:69: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2528:69: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2529:28: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2531:28: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2531:28: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2534:88: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2535:28: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2538:25: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2540:29: call_function: calling ‘dns_transaction_request_dnssec_rr_full’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2540:29: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_request_dnssec_rr_full’
systemd-258/src/resolve/resolved-dns-transaction.c:2541:28: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2547:29: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2547:29: danger: use of uninitialized value ‘aux’ here
# 2545|                            * in the near future. Let's request it in advance so we don't have to wait in the
# 2546|                            * common case. */
# 2547|->                         if (aux) {
# 2548|                                   _cleanup_(dns_resource_key_unrefp) DnsResourceKey *ds =
# 2549|                                           dns_resource_key_new(rr->key->class, DNS_TYPE_DS, dns_resource_key_name(dnskey));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def489]
systemd-258/src/resolve/resolved-dns-transaction.c:2624:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ds’
systemd-258/src/resolve/resolved-dns-transaction.c:2455:5: enter_function: entry to ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2462:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2479:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2479:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2481:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: call_function: calling ‘dns_transaction_dnssec_supported’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2483:14: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_dnssec_supported’
systemd-258/src/resolve/resolved-dns-transaction.c:2483:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2486:9: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2486:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2492:21: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2492:21: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:2493:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2495:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2495:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2498:25: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2591:76: release_memory: ‘ds’ is NULL
systemd-258/src/resolve/resolved-dns-transaction.c:2600:55: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2600:55: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2601:28: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2603:28: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2603:28: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2608:69: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2608:69: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2608:69: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2609:36: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2611:36: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2611:36: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2617:124: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2617:77: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2617:77: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2618:36: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2620:36: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2620:36: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2624:37: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2624:37: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_request_dnssec_keys’
systemd-258/src/resolve/resolved-dns-transaction.c:2624:37: return_function: returning to ‘dns_transaction_request_dnssec_keys’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2624:37: danger: dereference of NULL ‘dns_transaction_key(t)’
# 2622|   
# 2623|                                   /* If we were looking for the DS RR, don't request it again. */
# 2624|->                                 if (dns_transaction_key(t)->type == DNS_TYPE_DS)
# 2625|                                           continue;
# 2626|                           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
systemd-258/src/resolve/resolved-dns-transaction.c:2887:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:2853:12: enter_function: entry to ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2856:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2862:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2862:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2865:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2865:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2868:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:2869:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2874:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2885:17: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2887:29: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2887:29: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2887:29: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2887:29: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 2885|                   SET_FOREACH(dt, t->dnssec_transactions) {
# 2886|   
# 2887|->                         if (dns_transaction_key(dt)->class != rr->key->class)
# 2888|                                   continue;
# 2889|                           if (dns_transaction_key(dt)->type != DNS_TYPE_DS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
systemd-258/src/resolve/resolved-dns-transaction.c:2928:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:2853:12: enter_function: entry to ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2856:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2862:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2862:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2865:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2865:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2868:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:2869:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2874:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2926:17: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2928:29: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2928:29: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2928:29: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2928:29: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 2926|                   SET_FOREACH(dt, t->dnssec_transactions) {
# 2927|   
# 2928|->                         if (dns_transaction_key(dt)->class != rr->key->class)
# 2929|                                   continue;
# 2930|                           if (dns_transaction_key(dt)->type != DNS_TYPE_DS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
systemd-258/src/resolve/resolved-dns-transaction.c:2971:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:2853:12: enter_function: entry to ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2856:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2857:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2862:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2862:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2865:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2865:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2868:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2868:13: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:2869:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2871:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2874:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2970:17: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:2971:29: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:2971:29: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_rrsig’
systemd-258/src/resolve/resolved-dns-transaction.c:2971:29: return_function: returning to ‘dns_transaction_requires_rrsig’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:2971:29: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 2969|   
# 2970|                   SET_FOREACH(dt, t->dnssec_transactions) {
# 2971|->                         if (dns_transaction_key(dt)->class != rr->key->class)
# 2972|                                   continue;
# 2973|                           if (dns_transaction_key(dt)->type != DNS_TYPE_DS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
systemd-258/src/resolve/resolved-dns-transaction.c:2973:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3279:12: enter_function: entry to ‘dnssec_validate_records’
systemd-258/src/resolve/resolved-dns-transaction.c:3289:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3330:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3332:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3336:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3369:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3412:20: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3413:29: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3413:29: call_function: calling ‘dns_transaction_requires_rrsig’ from ‘dnssec_validate_records’
# 2971|                           if (dns_transaction_key(dt)->class != rr->key->class)
# 2972|                                   continue;
# 2973|->                         if (dns_transaction_key(dt)->type != DNS_TYPE_DS)
# 2974|                                   continue;
# 2975|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:2994:12: enter_function: entry to ‘dns_transaction_in_private_tld’
systemd-258/src/resolve/resolved-dns-transaction.c:3017:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3019:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3019:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3022:15: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3024:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3026:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3026:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3029:14: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3029:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3032:9: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3032:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_in_private_tld’
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: return_function: returning to ‘dns_transaction_in_private_tld’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 3032|           SET_FOREACH(dt, t->dnssec_transactions) {
# 3033|   
# 3034|->                 if (dns_transaction_key(dt)->class != key->class)
# 3035|                           continue;
# 3036|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
systemd-258/src/resolve/resolved-dns-transaction.c:3034:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key’
systemd-258/src/resolve/resolved-dns-transaction.c:3053:12: enter_function: entry to ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3059:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3064:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3064:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:3071:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: call_function: calling ‘dns_transaction_in_private_tld’ from ‘dns_transaction_requires_nsec’
# 3032|           SET_FOREACH(dt, t->dnssec_transactions) {
# 3033|   
# 3034|->                 if (dns_transaction_key(dt)->class != key->class)
# 3035|                           continue;
# 3036|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
systemd-258/src/resolve/resolved-dns-transaction.c:3034:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key’
systemd-258/src/resolve/resolved-dns-transaction.c:3053:12: enter_function: entry to ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3059:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3064:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3064:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:3071:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: call_function: calling ‘dns_transaction_in_private_tld’ from ‘dns_transaction_requires_nsec’
# 3032|           SET_FOREACH(dt, t->dnssec_transactions) {
# 3033|   
# 3034|->                 if (dns_transaction_key(dt)->class != key->class)
# 3035|                           continue;
# 3036|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
systemd-258/src/resolve/resolved-dns-transaction.c:3067:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3053:12: enter_function: entry to ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3059:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3064:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3064:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:13: danger: dereference of NULL ‘dns_transaction_key(t)’
# 3065|                   return false;
# 3066|   
# 3067|->         if (dns_type_is_pseudo(dns_transaction_key(t)->type))
# 3068|                   return -EINVAL;
# 3069|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3053:12: enter_function: entry to ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3059:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3064:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3064:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:3071:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: call_function: calling ‘dns_transaction_in_private_tld’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_in_private_tld’
systemd-258/src/resolve/resolved-dns-transaction.c:3077:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3079:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3079:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3094:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 3093|   
# 3094|           SET_FOREACH(dt, t->dnssec_transactions) {
# 3095|->                 if (dns_transaction_key(dt)->class != dns_transaction_key(t)->class)
# 3096|                           continue;
# 3097|                   if (dns_transaction_key(dt)->type != DNS_TYPE_DS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def499]
systemd-258/src/resolve/resolved-dns-transaction.c:3095:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3053:12: enter_function: entry to ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3059:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3064:13: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3064:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:32: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3067:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:83: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3070:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:3071:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3073:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:47: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: call_function: calling ‘dns_transaction_in_private_tld’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3076:13: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_in_private_tld’
systemd-258/src/resolve/resolved-dns-transaction.c:3077:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3079:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3079:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3089:38: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3094:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: branch_true: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:21: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:55: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_requires_nsec’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:55: return_function: returning to ‘dns_transaction_requires_nsec’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3095:55: danger: dereference of NULL ‘dns_transaction_key(t)’
# 3093|   
# 3094|           SET_FOREACH(dt, t->dnssec_transactions) {
# 3095|->                 if (dns_transaction_key(dt)->class != dns_transaction_key(t)->class)
# 3096|                           continue;
# 3097|                   if (dns_transaction_key(dt)->type != DNS_TYPE_DS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
systemd-258/src/resolve/resolved-dns-transaction.c:3144:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3118:12: enter_function: entry to ‘dns_transaction_dnskey_authenticated’
systemd-258/src/resolve/resolved-dns-transaction.c:3127:13: call_function: calling ‘dns_transaction_negative_trust_anchor_lookup’ from ‘dns_transaction_dnskey_authenticated’
systemd-258/src/resolve/resolved-dns-transaction.c:3127:13: return_function: returning to ‘dns_transaction_dnskey_authenticated’ from ‘dns_transaction_negative_trust_anchor_lookup’
systemd-258/src/resolve/resolved-dns-transaction.c:3128:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3130:12: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3130:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3133:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3133:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3137:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3139:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3144:29: call_function: calling ‘dns_transaction_key’ from ‘dns_transaction_dnskey_authenticated’
systemd-258/src/resolve/resolved-dns-transaction.c:3144:29: return_function: returning to ‘dns_transaction_dnskey_authenticated’ from ‘dns_transaction_key’
systemd-258/src/resolve/resolved-dns-transaction.c:3144:29: danger: dereference of NULL ‘dns_transaction_key(dt)’
# 3142|                   SET_FOREACH(dt, t->dnssec_transactions) {
# 3143|   
# 3144|->                         if (dns_transaction_key(dt)->class != rr->key->class)
# 3145|                                   continue;
# 3146|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
systemd-258/src/resolve/resolved-dns-transaction.c:3147:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3279:12: enter_function: entry to ‘dnssec_validate_records’
systemd-258/src/resolve/resolved-dns-transaction.c:3289:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3330:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3332:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3336:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3369:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3480:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3489:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3493:29: call_function: calling ‘dns_transaction_dnskey_authenticated’ from ‘dnssec_validate_records’
# 3145|                                   continue;
# 3146|   
# 3147|->                         if (dns_transaction_key(dt)->type == DNS_TYPE_DNSKEY) {
# 3148|   
# 3149|                                   r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), rrsig->rrsig.signer);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
systemd-258/src/resolve/resolved-dns-transaction.c:3163:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/resolve/resolved-dns-transaction.c:3279:12: enter_function: entry to ‘dnssec_validate_records’
systemd-258/src/resolve/resolved-dns-transaction.c:3289:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3293:9: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3330:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3332:17: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3336:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3369:20: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3480:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-dns-transaction.c:3489:21: branch_false: ...to here
systemd-258/src/resolve/resolved-dns-transaction.c:3493:29: call_function: calling ‘dns_transaction_dnskey_authenticated’ from ‘dnssec_validate_records’
# 3161|                                   found = true;
# 3162|   
# 3163|->                         } else if (dns_transaction_key(dt)->type == DNS_TYPE_DS) {
# 3164|   
# 3165|                                   r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), rrsig->rrsig.signer);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def503]
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/etc/hosts", "re")’
systemd-258/src/resolve/resolved-etc-hosts.c:343:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:346:13: branch_false: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:365:13: acquire_resource: opened here
systemd-258/src/resolve/resolved-etc-hosts.c:366:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:376:13: branch_false: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:377:12: branch_true: following ‘true’ branch (when ‘r < 0’)...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: danger: ‘fopen("/etc/hosts", "re")’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
#  376|           r = fstat(fileno(f), &st);
#  377|           if (r < 0)
#  378|->                 return log_error_errno(errno, "Failed to fstat() /etc/hosts: %m");
#  379|   
#  380|           r = etc_hosts_parse(&m->etc_hosts, f);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/etc/hosts", "re")’
systemd-258/src/resolve/resolved-etc-hosts.c:343:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:346:13: branch_false: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:365:13: acquire_memory: allocated here
systemd-258/src/resolve/resolved-etc-hosts.c:366:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:376:13: branch_false: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:377:12: branch_true: following ‘true’ branch (when ‘r < 0’)...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: branch_true: ...to here
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/resolve/resolved-etc-hosts.c:378:24: danger: ‘fopen("/etc/hosts", "re")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
#  376|           r = fstat(fileno(f), &st);
#  377|           if (r < 0)
#  378|->                 return log_error_errno(errno, "Failed to fstat() /etc/hosts: %m");
#  379|   
#  380|           r = etc_hosts_parse(&m->etc_hosts, f);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
systemd-258/src/resolve/resolved-manager.c:543:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fallback_hostname()’
systemd-258/src/resolve/resolved-manager.c:517:12: enter_function: entry to ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:520:9: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:522:26: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:524:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:529:13: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:530:12: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:533:16: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:535:13: call_function: calling ‘determine_hostnames’ from ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:535:13: return_function: returning to ‘manager_watch_hostname’ from ‘determine_hostnames’
systemd-258/src/resolve/resolved-manager.c:536:12: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-manager.c:539:21: branch_true: ...to here
systemd-258/src/resolve/resolved-manager.c:539:21: call_function: calling ‘fallback_hostname’ from ‘manager_watch_hostname’
systemd-258/src/resolve/resolved-manager.c:539:21: return_function: returning to ‘manager_watch_hostname’ from ‘fallback_hostname’
systemd-258/src/resolve/resolved-manager.c:540:20: branch_false: following ‘false’ branch...
systemd-258/src/resolve/resolved-manager.c:543:17: branch_false: ...to here
systemd-258/src/resolve/resolved-manager.c:543:17: branch_true: following ‘true’ branch...
systemd-258/src/resolve/resolved-manager.c:543:17: branch_true: ...to here
systemd-258/src/resolve/resolved-manager.c:543:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/resolve/resolved-manager.c:543:17: danger: ‘fallback_hostname()’ leaks here; was allocated at [(25)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/24)
#  541|                           return log_oom();
#  542|   
#  543|->                 log_info("Defaulting to hostname '%s'.", d);
#  544|   
#  545|                   r = make_fallback_hostnames(&m->full_hostname, &m->llmnr_hostname, &m->mdns_hostname);

Error: CPPCHECK_WARNING (CWE-457): [#def506]
systemd-258/src/resolve/resolved-varlink.c:430: error[uninitvar]: Uninitialized variable: i
#  428|                   int64_t b;
#  429|   
#  430|->                 if (!sd_json_variant_is_integer(i))
#  431|                           return json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "Element %zu of JSON field '%s' is not an integer.", k, strna(name));
#  432|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def507]
systemd-258/src/shared/acl-util.c:474:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry’
systemd-258/src/shared/acl-util.c:446:5: enter_function: entry to ‘fd_add_uid_acl_permission’
systemd-258/src/shared/acl-util.c:459:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:460:9: branch_false: ...to here
systemd-258/src/shared/acl-util.c:460:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:462:15: branch_false: ...to here
systemd-258/src/shared/acl-util.c:463:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:466:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:466:13: call_function: calling ‘acl_find_uid’ from ‘fd_add_uid_acl_permission’
systemd-258/src/shared/acl-util.c:466:13: return_function: returning to ‘fd_add_uid_acl_permission’ from ‘acl_find_uid’
systemd-258/src/shared/acl-util.c:467:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:474:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:474:13: danger: use of uninitialized value ‘entry’ here
#  472|           }
#  473|   
#  474|->         if (acl_get_permset(entry, &permset) < 0)
#  475|                   return -errno;
#  476|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def508]
systemd-258/src/shared/acl-util.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘basic’
systemd-258/src/shared/acl-util.c:93:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:94:9: branch_false: ...to here
systemd-258/src/shared/acl-util.c:94:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:96:18: branch_false: ...to here
systemd-258/src/shared/acl-util.c:113:12: branch_false: following ‘false’ branch (when ‘r == 0’)...
systemd-258/src/shared/acl-util.c:116:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:117:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/shared/acl-util.c:120:31: branch_false: ...to here
systemd-258/src/shared/acl-util.c:121:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:124:18: branch_false: ...to here
systemd-258/src/shared/acl-util.c:124:18: throw: if ‘acl_get_entry’ throws an exception...
systemd-258/src/shared/acl-util.c:91:36: call_function: inlined call to ‘acl_freep’ from ‘add_base_acls_if_needed’
#   28|   /* acl_free takes multiple argument types.
#   29|    * Multiple cleanup functions are necessary. */
#   30|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(acl_t, acl_free, NULL);
#   31|   #define acl_free_charp acl_free
#   32|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(char*, acl_free_charp, NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def509]
systemd-258/src/shared/acl-util.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘e_acl’
systemd-258/src/shared/acl-util.c:213:5: enter_function: entry to ‘parse_acl’
systemd-258/src/shared/acl-util.c:224:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/acl-util.c:224:9: branch_true: ...to here
systemd-258/src/shared/acl-util.c:224:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shared/acl-util.c:221:64: call_function: inlined call to ‘acl_freep’ from ‘parse_acl’
systemd-258/src/shared/acl-util.c:221:50: call_function: inlined call to ‘acl_freep’ from ‘parse_acl’
#   28|   /* acl_free takes multiple argument types.
#   29|    * Multiple cleanup functions are necessary. */
#   30|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(acl_t, acl_free, NULL);
#   31|   #define acl_free_charp acl_free
#   32|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(char*, acl_free_charp, NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def510]
systemd-258/src/shared/acl-util.h:34:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘uid_a’
systemd-258/src/shared/acl-util.c:330:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:333:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:333:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:336:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:336:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:339:9: branch_false: ...to here
systemd-258/src/shared/acl-util.c:349:25: throw: if ‘acl_get_qualifier’ throws an exception...
systemd-258/src/shared/acl-util.c:347:52: call_function: inlined call to ‘acl_free_uid_tpp’ from ‘acl_entry_equal’
#   32|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(char*, acl_free_charp, NULL);
#   33|   #define acl_free_uid_tp acl_free
#   34|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(uid_t*, acl_free_uid_tp, NULL);
#   35|   #define acl_free_gid_tp acl_free
#   36|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gid_t*, acl_free_gid_tp, NULL);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def511]
systemd-258/src/shared/acl-util.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gid_a’
systemd-258/src/shared/acl-util.c:330:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:333:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:333:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:336:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:336:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:339:9: branch_false: ...to here
systemd-258/src/shared/acl-util.c:362:25: throw: if ‘acl_get_qualifier’ throws an exception...
systemd-258/src/shared/acl-util.c:360:52: call_function: inlined call to ‘acl_free_gid_tpp’ from ‘acl_entry_equal’
#   34|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(uid_t*, acl_free_uid_tp, NULL);
#   35|   #define acl_free_gid_tp acl_free
#   36|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gid_t*, acl_free_gid_tp, NULL);
#   37|   
#   38|   #else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def512]
systemd-258/src/shared/acl-util.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gid’
systemd-258/src/shared/acl-util.c:158:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:160:15: branch_false: ...to here
systemd-258/src/shared/acl-util.c:161:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/acl-util.c:164:13: branch_false: ...to here
systemd-258/src/shared/acl-util.c:169:20: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/shared/acl-util.c:171:20: branch_false: ...to here
systemd-258/src/shared/acl-util.c:171:20: branch_false: following ‘false’ branch (when ‘r != 0’)...
systemd-258/src/shared/acl-util.c:174:21: branch_false: ...to here
systemd-258/src/shared/acl-util.c:174:21: throw: if ‘acl_get_tag_type’ throws an exception...
systemd-258/src/shared/acl-util.c:166:52: call_function: inlined call to ‘acl_free_gid_tpp’ from ‘acl_search_groups’
#   34|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(uid_t*, acl_free_uid_tp, NULL);
#   35|   #define acl_free_gid_tp acl_free
#   36|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gid_t*, acl_free_gid_tp, NULL);
#   37|   
#   38|   #else

Error: GCC_ANALYZER_WARNING (CWE-457): [#def513]
systemd-258/src/shared/blkid-util.h:10:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b’
systemd-258/src/shared/find-esp.c:606:13: throw: if ‘devname_from_devnum’ throws an exception...
systemd-258/src/shared/find-esp.c:601:50: call_function: inlined call to ‘blkid_free_probep’ from ‘verify_xbootldr_blkid’
#    8|   #include "forward.h"
#    9|   
#   10|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(blkid_probe, blkid_free_probe, NULL);
#   11|   
#   12|   int blkid_partition_get_uuid_id128(blkid_partition p, sd_id128_t *ret);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def514]
systemd-258/src/shared/blkid-util.h:10:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pr’
systemd-258/src/udev/udev-builtin-blkid.c:424:12: enter_function: entry to ‘builtin_blkid’
systemd-258/src/udev/udev-builtin-blkid.c:425:26: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-builtin-blkid.c:445:12: branch_true: following ‘true’ branch...
systemd-258/src/udev/udev-builtin-blkid.c:446:24: call_function: inlined call to ‘errno_or_else’ from ‘builtin_blkid’
systemd-258/src/udev/udev-builtin-blkid.c:446:24: branch_false: following ‘false’ branch...
systemd-258/src/udev/udev-builtin-blkid.c:446:24: branch_false: ...to here
systemd-258/src/udev/udev-builtin-blkid.c:430:29: call_function: inlined call to ‘closep’ from ‘builtin_blkid’
systemd-258/src/udev/udev-builtin-blkid.c:427:50: call_function: inlined call to ‘blkid_free_probep’ from ‘builtin_blkid’
#    8|   #include "forward.h"
#    9|   
#   10|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(blkid_probe, blkid_free_probe, NULL);
#   11|   
#   12|   int blkid_partition_get_uuid_id128(blkid_partition p, sd_id128_t *ret);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def515]
systemd-258/src/shared/blockdev-util.c:354:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘whole_devt’
systemd-258/src/shared/blockdev-util.c:343:5: enter_function: entry to ‘lock_whole_block_device’
systemd-258/src/shared/blockdev-util.c:350:13: call_function: calling ‘block_get_whole_disk’ from ‘lock_whole_block_device’
systemd-258/src/shared/blockdev-util.c:350:13: return_function: returning to ‘lock_whole_block_device’ from ‘block_get_whole_disk’
systemd-258/src/shared/blockdev-util.c:351:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/blockdev-util.c:354:23: branch_false: ...to here
systemd-258/src/shared/blockdev-util.c:354:23: danger: use of uninitialized value ‘whole_devt’ here
#  352|                   return r;
#  353|   
#  354|->         lock_fd = r = device_open_from_devnum(S_IFBLK, whole_devt, O_RDONLY|O_CLOEXEC|O_NONBLOCK, NULL);
#  355|           if (r < 0)
#  356|                   return r;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def516]
systemd-258/src/shared/cgroup-show.c:114:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(__builtin_alloca(max(_len_ + 1, 1)), "re")’
systemd-258/src/shared/cgroup-show.c:306:5: enter_function: entry to ‘show_cgroup’
systemd-258/src/shared/cgroup-show.c:314:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/cgroup-show.c:316:13: branch_false: ...to here
systemd-258/src/shared/cgroup-show.c:317:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/cgroup-show.c:320:16: branch_false: ...to here
systemd-258/src/shared/cgroup-show.c:320:16: call_function: calling ‘show_cgroup_by_path’ from ‘show_cgroup’
#  112|                    * ENODEV is generated when we enumerate processes from a cgroup and the cgroup is removed
#  113|                    * concurrently. */
#  114|->                 r = cg_read_pid(f, &pid, /* flags = */ 0);
#  115|                   if (IN_SET(r, 0, -EOPNOTSUPP, -ENODEV))
#  116|                           break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
systemd-258/src/shared/cgroup-show.c:114:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(__builtin_alloca(max(_len_ + 1, 1)), "re")’
systemd-258/src/shared/cgroup-show.c:306:5: enter_function: entry to ‘show_cgroup’
systemd-258/src/shared/cgroup-show.c:314:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/cgroup-show.c:316:13: branch_false: ...to here
systemd-258/src/shared/cgroup-show.c:317:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/cgroup-show.c:320:16: branch_false: ...to here
systemd-258/src/shared/cgroup-show.c:320:16: call_function: calling ‘show_cgroup_by_path’ from ‘show_cgroup’
#  112|                    * ENODEV is generated when we enumerate processes from a cgroup and the cgroup is removed
#  113|                    * concurrently. */
#  114|->                 r = cg_read_pid(f, &pid, /* flags = */ 0);
#  115|                   if (IN_SET(r, 0, -EOPNOTSUPP, -ENODEV))
#  116|                           break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
systemd-258/src/shared/condition.c:526:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(startswith(*c.parameter, "device-tree-compatible("), (long unsigned int)(end - <unknown>))’
systemd-258/src/shared/condition.c:594:12: enter_function: entry to ‘condition_test_firmware’
systemd-258/src/shared/condition.c:598:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:599:9: branch_false: ...to here
systemd-258/src/shared/condition.c:599:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:600:9: branch_false: ...to here
systemd-258/src/shared/condition.c:600:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:602:13: branch_false: ...to here
systemd-258/src/shared/condition.c:602:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
systemd-258/src/shared/condition.c:609:27: branch_false: ...to here
systemd-258/src/shared/condition.c:609:19: branch_true: following ‘true’ branch...
systemd-258/src/shared/condition.c:613:23: branch_true: ...to here
systemd-258/src/shared/condition.c:614:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:619:27: acquire_memory: allocated here
systemd-258/src/shared/condition.c:620:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/condition.c:623:24: branch_false: ...to here
systemd-258/src/shared/condition.c:623:24: call_function: calling ‘condition_test_firmware_devicetree_compatible’ from ‘condition_test_firmware’
systemd-258/src/shared/condition.c:526:13: danger: ‘strndup(startswith(*c.parameter, "device-tree-compatible("), (long unsigned int)(end - <unknown>))’ leaks here; was allocated at [(14)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/13)
#  524|   
#  525|           /* Not sure this can happen, but play safe. */
#  526|->         if (size == 0) {
#  527|                   log_debug("%s has zero length, assuming machine is incompatible", DTCOMPAT_FILE);
#  528|                   return false;

Error: CPPCHECK_WARNING (CWE-768): [#def519]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}})' depends on order of evaluation of side effects
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,

Error: CPPCHECK_WARNING (CWE-768): [#def520]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,

Error: CPPCHECK_WARNING (CWE-768): [#def521]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}})' depends on order of ev [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def522]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def523]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def524]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def525]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def526]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def527]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def528]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def529]
systemd-258/src/shared/creds-util.c:826: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_ [...]
#  824|           assert(ret);
#  825|   
#  826|->         if (!sd_id128_in_set(with_key,
#  827|                                _CRED_AUTO,
#  828|                                _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:826: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def530]
systemd-258/src/shared/creds-util.c:858: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}})' depends on order of evaluation of side effects
#  856|           }
#  857|   
#  858|->         if (sd_id128_in_set(with_key,
#  859|                               _CRED_AUTO_SCOPED,
#  860|                               CRED_AES256_GCM_BY_HOST_SCOPED,

Error: CPPCHECK_WARNING (CWE-768): [#def531]
systemd-258/src/shared/creds-util.c:858: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}})' depends on order of evaluation of side effects
#  856|           }
#  857|   
#  858|->         if (sd_id128_in_set(with_key,
#  859|                               _CRED_AUTO_SCOPED,
#  860|                               CRED_AES256_GCM_BY_HOST_SCOPED,

Error: CPPCHECK_WARNING (CWE-768): [#def532]
systemd-258/src/shared/creds-util.c:858: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_t){.bytes={0xad,0xbc,0x4c,0xa3,0xef,0xb6,0x42,0x01,0xba,0x88,0x1b,0x6f,0x2e,0x40,0x95,0xea}})' depends on order of ev [...]
#  856|           }
#  857|   
#  858|->         if (sd_id128_in_set(with_key,
#  859|                               _CRED_AUTO_SCOPED,
#  860|                               CRED_AES256_GCM_BY_HOST_SCOPED,
systemd-258/src/shared/creds-util.c:858: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def533]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,

Error: CPPCHECK_WARNING (CWE-768): [#def534]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}})' depends on order of evaluation of side effects
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,

Error: CPPCHECK_WARNING (CWE-768): [#def535]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}})' depends on order of ev [...]
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,
systemd-258/src/shared/creds-util.c:869: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def536]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_ [...]
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,
systemd-258/src/shared/creds-util.c:869: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def537]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_ [...]
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,
systemd-258/src/shared/creds-util.c:869: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def538]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_ [...]
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,
systemd-258/src/shared/creds-util.c:869: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def539]
systemd-258/src/shared/creds-util.c:869: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_ [...]
#  867|                   uid = UID_INVALID;
#  868|   
#  869|->         if (sd_id128_in_set(with_key,
#  870|                               _CRED_AUTO,
#  871|                               _CRED_AUTO_SCOPED,
systemd-258/src/shared/creds-util.c:869: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def540]
systemd-258/src/shared/creds-util.c:882: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  880|                                   CREDENTIAL_SECRET_GENERATE|
#  881|                                   CREDENTIAL_SECRET_WARN_NOT_ENCRYPTED|
#  882|->                                 (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_SCOPED) ? CREDENTIAL_SECRET_FAIL_ON_TEMPORARY_FS : 0),
#  883|                                   &host_key);
#  884|                   if (r == -ENOMEDIUM && sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_SCOPED))

Error: CPPCHECK_WARNING (CWE-768): [#def541]
systemd-258/src/shared/creds-util.c:884: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  882|                                   (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_SCOPED) ? CREDENTIAL_SECRET_FAIL_ON_TEMPORARY_FS : 0),
#  883|                                   &host_key);
#  884|->                 if (r == -ENOMEDIUM && sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_SCOPED))
#  885|                           log_debug_errno(r, "Credential host secret location on temporary file system, not using.");
#  886|                   else if (r < 0)

Error: CPPCHECK_WARNING (CWE-768): [#def542]
systemd-258/src/shared/creds-util.c:892: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}})' depends on order of evaluation of side effects
#  890|   #if HAVE_TPM2
#  891|           bool try_tpm2;
#  892|->         if (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED)) {
#  893|                   /* If automatic mode is selected lets see if a TPM2 it is present. If we are running in a
#  894|                    * container tpm2_support will detect this, and will return a different flag combination of

Error: CPPCHECK_WARNING (CWE-768): [#def543]
systemd-258/src/shared/creds-util.c:892: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  890|   #if HAVE_TPM2
#  891|           bool try_tpm2;
#  892|->         if (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED)) {
#  893|                   /* If automatic mode is selected lets see if a TPM2 it is present. If we are running in a
#  894|                    * container tpm2_support will detect this, and will return a different flag combination of

Error: CPPCHECK_WARNING (CWE-768): [#def544]
systemd-258/src/shared/creds-util.c:901: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}})' depends on order of evaluation of side effects
#  899|                           log_debug("System lacks TPM2 support or running in a container, not attempting to use TPM2.");
#  900|           } else
#  901|->                 try_tpm2 = sd_id128_in_set(with_key,
#  902|                                              CRED_AES256_GCM_BY_TPM2_HMAC,
#  903|                                              CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK,

Error: CPPCHECK_WARNING (CWE-768): [#def545]
systemd-258/src/shared/creds-util.c:901: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}})' depends on order of evaluation of side effects
#  899|                           log_debug("System lacks TPM2 support or running in a container, not attempting to use TPM2.");
#  900|           } else
#  901|->                 try_tpm2 = sd_id128_in_set(with_key,
#  902|                                              CRED_AES256_GCM_BY_TPM2_HMAC,
#  903|                                              CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK,

Error: CPPCHECK_WARNING (CWE-768): [#def546]
systemd-258/src/shared/creds-util.c:901: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}})' depends on order of ev [...]
#  899|                           log_debug("System lacks TPM2 support or running in a container, not attempting to use TPM2.");
#  900|           } else
#  901|->                 try_tpm2 = sd_id128_in_set(with_key,
#  902|                                              CRED_AES256_GCM_BY_TPM2_HMAC,
#  903|                                              CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK,
systemd-258/src/shared/creds-util.c:901: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def547]
systemd-258/src/shared/creds-util.c:901: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_ [...]
#  899|                           log_debug("System lacks TPM2 support or running in a container, not attempting to use TPM2.");
#  900|           } else
#  901|->                 try_tpm2 = sd_id128_in_set(with_key,
#  902|                                              CRED_AES256_GCM_BY_TPM2_HMAC,
#  903|                                              CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK,
systemd-258/src/shared/creds-util.c:901: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def548]
systemd-258/src/shared/creds-util.c:901: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_ [...]
#  899|                           log_debug("System lacks TPM2 support or running in a container, not attempting to use TPM2.");
#  900|           } else
#  901|->                 try_tpm2 = sd_id128_in_set(with_key,
#  902|                                              CRED_AES256_GCM_BY_TPM2_HMAC,
#  903|                                              CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK,
systemd-258/src/shared/creds-util.c:901: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def549]
systemd-258/src/shared/creds-util.c:910: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}})' depends on order of evaluation of side effects
#  908|   
#  909|           if (try_tpm2) {
#  910|->                 if (sd_id128_in_set(with_key,
#  911|                                       _CRED_AUTO,
#  912|                                       _CRED_AUTO_INITRD,

Error: CPPCHECK_WARNING (CWE-768): [#def550]
systemd-258/src/shared/creds-util.c:910: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  908|   
#  909|           if (try_tpm2) {
#  910|->                 if (sd_id128_in_set(with_key,
#  911|                                       _CRED_AUTO,
#  912|                                       _CRED_AUTO_INITRD,

Error: CPPCHECK_WARNING (CWE-768): [#def551]
systemd-258/src/shared/creds-util.c:910: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}})' depends on order of ev [...]
#  908|   
#  909|           if (try_tpm2) {
#  910|->                 if (sd_id128_in_set(with_key,
#  911|                                       _CRED_AUTO,
#  912|                                       _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:910: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def552]
systemd-258/src/shared/creds-util.c:910: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_ [...]
#  908|   
#  909|           if (try_tpm2) {
#  910|->                 if (sd_id128_in_set(with_key,
#  911|                                       _CRED_AUTO,
#  912|                                       _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:910: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def553]
systemd-258/src/shared/creds-util.c:910: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}}),((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_ [...]
#  908|   
#  909|           if (try_tpm2) {
#  910|->                 if (sd_id128_in_set(with_key,
#  911|                                       _CRED_AUTO,
#  912|                                       _CRED_AUTO_INITRD,
systemd-258/src/shared/creds-util.c:910: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def554]
systemd-258/src/shared/creds-util.c:922: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}})' depends on order of evaluation of side effects
#  920|                           r = tpm2_load_pcr_public_key(tpm2_pubkey_path, &pubkey.iov_base, &pubkey.iov_len);
#  921|                           if (r < 0) {
#  922|->                                 if (tpm2_pubkey_path || r != -ENOENT || !sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED))
#  923|                                           return log_error_errno(r, "Failed to read TPM PCR public key: %m");
#  924|   

Error: CPPCHECK_WARNING (CWE-768): [#def555]
systemd-258/src/shared/creds-util.c:922: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
#  920|                           r = tpm2_load_pcr_public_key(tpm2_pubkey_path, &pubkey.iov_base, &pubkey.iov_len);
#  921|                           if (r < 0) {
#  922|->                                 if (tpm2_pubkey_path || r != -ENOENT || !sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED))
#  923|                                           return log_error_errno(r, "Failed to read TPM PCR public key: %m");
#  924|   

Error: CPPCHECK_WARNING (CWE-768): [#def556]
systemd-258/src/shared/creds-util.c:1002: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}})' depends on order of evaluation of side effects
# 1000|   #endif
# 1001|   
# 1002|->         if (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED)) {
# 1003|                   /* Let's settle the key type in auto mode now. */
# 1004|   

Error: CPPCHECK_WARNING (CWE-768): [#def557]
systemd-258/src/shared/creds-util.c:1002: error[unknownEvaluationOrder]: Expression 'with_key,((const union sd_id128_t){.bytes={0xa2,0x19,0xcb,0x07,0x85,0xb2,0x4c,0x04,0xb1,0x6d,0x18,0xca,0xb9,0xd2,0xee,0x01}}),((const union sd_id128_t){.bytes={0x02,0xdc,0x8e,0xde,0x3a,0x02,0x43,0xab,0xa9,0xec,0x54,0x9c,0x05,0xe6,0xa0,0x71}}),((const union sd_id128_t){.bytes={0x23,0x88,0x96,0x85,0x6f,0x74,0x48,0x8a,0x9c,0x78,0x6f,0x6a,0xb0,0xe7,0x3b,0x6a}})' depends on order of evaluation of side effects
# 1000|   #endif
# 1001|   
# 1002|->         if (sd_id128_in_set(with_key, _CRED_AUTO, _CRED_AUTO_INITRD, _CRED_AUTO_SCOPED)) {
# 1003|                   /* Let's settle the key type in auto mode now. */
# 1004|   

Error: CPPCHECK_WARNING (CWE-768): [#def558]
systemd-258/src/shared/creds-util.c:1221: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}})' depends on order of evaluation of side effects
# 1219|                   return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Encrypted file too short.");
# 1220|   
# 1221|->         with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;

Error: CPPCHECK_WARNING (CWE-768): [#def559]
systemd-258/src/shared/creds-util.c:1221: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}})' depends on order of evaluation of side effects
# 1219|                   return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Encrypted file too short.");
# 1220|   
# 1221|->         with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;

Error: CPPCHECK_WARNING (CWE-768): [#def560]
systemd-258/src/shared/creds-util.c:1221: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}})' depends on order of evalu [...]
# 1219|                   return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Encrypted file too short.");
# 1220|   
# 1221|->         with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
systemd-258/src/shared/creds-util.c:1221: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def561]
systemd-258/src/shared/creds-util.c:1221: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_t){ [...]
# 1219|                   return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Encrypted file too short.");
# 1220|   
# 1221|->         with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
systemd-258/src/shared/creds-util.c:1221: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def562]
systemd-258/src/shared/creds-util.c:1221: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x5a,0x1c,0x6a,0x86,0xdf,0x9d,0x40,0x96,0xb1,0xd5,0xa6,0x5e,0x08,0x62,0xf1,0x9a}}),((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_t){ [...]
# 1219|                   return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Encrypted file too short.");
# 1220|   
# 1221|->         with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
systemd-258/src/shared/creds-util.c:1221: note: trimmed 1 message(s) with length over 512

Error: CPPCHECK_WARNING (CWE-768): [#def563]
systemd-258/src/shared/creds-util.c:1222: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0xaf,0x49,0x50,0xa8,0x49,0x13,0x4e,0xb1,0xa7,0x38,0x46,0x30,0x4f,0xf3,0x0c,0x05}})' depends on order of evaluation of side effects
# 1220|   
# 1221|           with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|->         with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);

Error: CPPCHECK_WARNING (CWE-768): [#def564]
systemd-258/src/shared/creds-util.c:1222: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0xfa,0xf7,0xeb,0x93,0x41,0xe3,0x41,0x2c,0xa1,0xa4,0x36,0xf9,0x5a,0x29,0x36,0x2f}}),((const union sd_id128_t){.bytes={0xaf,0x49,0x50,0xa8,0x49,0x13,0x4e,0xb1,0xa7,0x38,0x46,0x30,0x4f,0xf3,0x0c,0x05}}),((const union sd_id128_t){.bytes={0xad,0xbc,0x4c,0xa3,0xef,0xb6,0x42,0x01,0xba,0x88,0x1b,0x6f,0x2e,0x40,0x95,0xea}})' depends on order of evaluation of side effects
# 1220|   
# 1221|           with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|->         with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);

Error: CPPCHECK_WARNING (CWE-768): [#def565]
systemd-258/src/shared/creds-util.c:1223: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}})' depends on order of evaluation of side effects
# 1221|           with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|->         with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);
# 1225|           with_scope = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);

Error: CPPCHECK_WARNING (CWE-768): [#def566]
systemd-258/src/shared/creds-util.c:1223: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x0c,0x7c,0xc0,0x7b,0x11,0x76,0x45,0x91,0x9c,0x4b,0x0b,0xea,0x08,0xbc,0x20,0xfe}}),((const union sd_id128_t){.bytes={0x93,0xa8,0x94,0x09,0x48,0x74,0x44,0x90,0x90,0xca,0xf2,0xfc,0x93,0xca,0xb5,0x53}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}})' depends on order of evaluation of side effects
# 1221|           with_host_key = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1222|           with_tpm2_pk = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1223|->         with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);
# 1225|           with_scope = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);

Error: CPPCHECK_WARNING (CWE-768): [#def567]
systemd-258/src/shared/creds-util.c:1225: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}})' depends on order of evaluation of side effects
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);
# 1225|->         with_scope = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1226|   
# 1227|           if (!with_host_key && !with_tpm2 && !with_null)

Error: CPPCHECK_WARNING (CWE-768): [#def568]
systemd-258/src/shared/creds-util.c:1225: error[unknownEvaluationOrder]: Expression 'h->id,((const union sd_id128_t){.bytes={0x55,0xb9,0xed,0x1d,0x38,0x59,0x4d,0x43,0xa8,0x31,0x9d,0x2e,0xbb,0x33,0x2a,0xc6}}),((const union sd_id128_t){.bytes={0xef,0x4a,0xc1,0x36,0x79,0xa9,0x48,0x0e,0xa7,0xdb,0x68,0x89,0x7f,0x9f,0x16,0x5d}}),((const union sd_id128_t){.bytes={0xad,0xbc,0x4c,0xa3,0xef,0xb6,0x42,0x01,0xba,0x88,0x1b,0x6f,0x2e,0x40,0x95,0xea}})' depends on order of evaluation of side effects
# 1223|           with_tpm2 = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED) || with_tpm2_pk;
# 1224|           with_null = sd_id128_equal(h->id, CRED_AES256_GCM_BY_NULL);
# 1225|->         with_scope = sd_id128_in_set(h->id, CRED_AES256_GCM_BY_HOST_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_SCOPED, CRED_AES256_GCM_BY_HOST_AND_TPM2_HMAC_WITH_PK_SCOPED);
# 1226|   
# 1227|           if (!with_host_key && !with_tpm2 && !with_null)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
systemd-258/src/shared/ethtool-util.c:385:1: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
systemd-258/src/shared/ethtool-util.c:318:5: enter_function: entry to ‘ethtool_set_wol’
systemd-258/src/shared/ethtool-util.c:333:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:334:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:334:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:336:13: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:336:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:340:13: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:340:13: call_function: calling ‘ethtool_connect’ from ‘ethtool_set_wol’
systemd-258/src/shared/ethtool-util.c:340:13: return_function: returning to ‘ethtool_set_wol’ from ‘ethtool_connect’
systemd-258/src/shared/ethtool-util.c:341:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:344:9: call_function: inlined call to ‘strscpy’ from ‘ethtool_set_wol’
systemd-258/src/shared/ethtool-util.c:348:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:351:12: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:359:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/ethtool-util.c:360:38: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:362:24: call_function: calling ‘wol_options_to_string_alloc’ from ‘ethtool_set_wol’
systemd-258/src/shared/ethtool-util.c:362:24: return_function: returning to ‘ethtool_set_wol’ from ‘wol_options_to_string_alloc’
systemd-258/src/shared/ethtool-util.c:363:17: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:366:28: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:385:1: danger: ‘str’ leaks here; was allocated at [(28)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/27)
#  383|           ecmd.cmd = ETHTOOL_SWOL;
#  384|           return RET_NERRNO(ioctl(*ethtool_fd, SIOCETHTOOL, &ifr));
#  385|-> }
#  386|   
#  387|   int ethtool_set_nic_buffer_size(int *ethtool_fd, const char *ifname, const netdev_ring_param *ring) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def570]
systemd-258/src/shared/ethtool-util.c:620:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘strings’
systemd-258/src/shared/ethtool-util.c:591:5: enter_function: entry to ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:592:49: release_memory: ‘strings’ is NULL
systemd-258/src/shared/ethtool-util.c:599:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:603:28: branch_true: following ‘true’ branch (when ‘i != 63’)...
systemd-258/src/shared/ethtool-util.c:604:29: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:609:12: branch_true: following ‘true’ branch (when ‘have != 0’)...
systemd-258/src/shared/ethtool-util.c:612:13: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:612:13: call_function: calling ‘ethtool_connect’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:612:13: return_function: returning to ‘ethtool_set_features’ from ‘ethtool_connect’
systemd-258/src/shared/ethtool-util.c:613:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:616:13: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:616:13: call_function: calling ‘get_stringset’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:616:13: return_function: returning to ‘ethtool_set_features’ from ‘get_stringset’
systemd-258/src/shared/ethtool-util.c:617:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:620:54: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:620:54: release_memory: ‘strings’ is NULL
systemd-258/src/shared/ethtool-util.c:620:47: danger: dereference of NULL ‘strings’
#  618|                   return log_debug_errno(r, "ethtool: could not get ethtool feature strings: %m");
#  619|   
#  620|->         r = get_features(*ethtool_fd, ifname, strings->len, &gfeatures);
#  621|           if (r < 0)
#  622|                   return log_debug_errno(r, "ethtool: could not get ethtool features for %s: %m", ifname);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
systemd-258/src/shared/ethtool-util.c:630:27: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, (long unsigned int)((__unique_prefix_X18 >> 5) + (unsigned int)((__unique_prefix_X18 & 31) != 0) + 1) * 8)’
systemd-258/src/shared/ethtool-util.c:591:5: enter_function: entry to ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:599:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:600:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:603:28: branch_true: following ‘true’ branch (when ‘i != 63’)...
systemd-258/src/shared/ethtool-util.c:604:29: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:609:12: branch_true: following ‘true’ branch (when ‘have != 0’)...
systemd-258/src/shared/ethtool-util.c:612:13: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:612:13: call_function: calling ‘ethtool_connect’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:612:13: return_function: returning to ‘ethtool_set_features’ from ‘ethtool_connect’
systemd-258/src/shared/ethtool-util.c:613:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:616:13: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:616:13: call_function: calling ‘get_stringset’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:616:13: return_function: returning to ‘ethtool_set_features’ from ‘get_stringset’
systemd-258/src/shared/ethtool-util.c:617:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:620:54: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:620:13: call_function: calling ‘get_features’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:620:13: return_function: returning to ‘ethtool_set_features’ from ‘get_features’
systemd-258/src/shared/ethtool-util.c:621:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:624:21: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:624:21: acquire_memory: allocated here
systemd-258/src/shared/ethtool-util.c:626:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:629:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:632:28: branch_true: following ‘true’ branch (when ‘i != 62’)...
systemd-258/src/shared/ethtool-util.c:633:102: branch_true: ...to here
systemd-258/src/shared/ethtool-util.c:633:21: call_function: calling ‘set_features_bit’ from ‘ethtool_set_features’
systemd-258/src/shared/ethtool-util.c:630:27: danger: ‘calloc(1, (long unsigned int)((__unique_prefix_X18 >> 5) + (unsigned int)((__unique_prefix_X18 & 31) != 0) + 1) * 8)’ leaks here; was allocated at [(57)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/56)
#  628|   
#  629|           sfeatures->cmd = ETHTOOL_SFEATURES;
#  630|->         sfeatures->size = DIV_ROUND_UP(strings->len, 32U);
#  631|   
#  632|           for (size_t i = 0; i < _NET_DEV_FEAT_SIMPLE_MAX; i++) {

Error: CPPCHECK_WARNING (CWE-562): [#def572]
systemd-258/src/shared/ethtool-util.c:672: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  670|           */
#  671|   
#  672|->         ifr->ifr_data = (void*) &ecmd;
#  673|   
#  674|           if (ioctl(fd, SIOCETHTOOL, ifr) < 0)

Error: CPPCHECK_WARNING (CWE-562): [#def573]
systemd-258/src/shared/ethtool-util.c:682: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  680|           ecmd.base.link_mode_masks_nwords = -ecmd.base.link_mode_masks_nwords;
#  681|   
#  682|->         ifr->ifr_data = (void *) &ecmd;
#  683|   
#  684|           if (ioctl(fd, SIOCETHTOOL, ifr) < 0)

Error: CPPCHECK_WARNING (CWE-562): [#def574]
systemd-258/src/shared/ethtool-util.c:716: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  714|           assert(ret);
#  715|   
#  716|->         ifr->ifr_data = (void *) &ecmd;
#  717|   
#  718|           if (ioctl(fd, SIOCETHTOOL, ifr) < 0)

Error: CPPCHECK_WARNING (CWE-562): [#def575]
systemd-258/src/shared/ethtool-util.c:762: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  760|           memcpy(p, u->link_modes.lp_advertising, sizeof(uint32_t) * ecmd.base.link_mode_masks_nwords);
#  761|   
#  762|->         ifr->ifr_data = (void *) &ecmd;
#  763|   
#  764|           return RET_NERRNO(ioctl(fd, SIOCETHTOOL, ifr));

Error: CPPCHECK_WARNING (CWE-562): [#def576]
systemd-258/src/shared/ethtool-util.c:793: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  791|           ecmd.eth_tp_mdix_ctrl = u->base.eth_tp_mdix_ctrl;
#  792|   
#  793|->         ifr->ifr_data = (void *) &ecmd;
#  794|   
#  795|           return RET_NERRNO(ioctl(fd, SIOCETHTOOL, ifr));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
systemd-258/src/shared/ethtool-util.c:871:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
systemd-258/src/shared/ethtool-util.c:798:5: enter_function: entry to ‘ethtool_set_glinksettings’
systemd-258/src/shared/ethtool-util.c:808:54: release_memory: ‘u’ is NULL
systemd-258/src/shared/ethtool-util.c:813:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:814:9: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:814:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:817:12: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:839:13: call_function: calling ‘ethtool_connect’ from ‘ethtool_set_glinksettings’
systemd-258/src/shared/ethtool-util.c:839:13: return_function: returning to ‘ethtool_set_glinksettings’ from ‘ethtool_connect’
systemd-258/src/shared/ethtool-util.c:840:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:843:9: call_function: inlined call to ‘strscpy’ from ‘ethtool_set_glinksettings’
systemd-258/src/shared/ethtool-util.c:845:13: call_function: calling ‘get_glinksettings’ from ‘ethtool_set_glinksettings’
systemd-258/src/shared/ethtool-util.c:845:13: return_function: returning to ‘ethtool_set_glinksettings’ from ‘get_glinksettings’
systemd-258/src/shared/ethtool-util.c:852:12: branch_false: following ‘false’ branch (when ‘speed == 0’)...
systemd-258/src/shared/ethtool-util.c:855:12: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:855:12: branch_false: following ‘false’ branch (when ‘duplex < 0’)...
systemd-258/src/shared/ethtool-util.c:858:12: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:858:12: branch_false: following ‘false’ branch (when ‘port < 0’)...
systemd-258/src/shared/ethtool-util.c:861:12: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:861:12: branch_false: following ‘false’ branch (when ‘autonegotiation < 0’)...
systemd-258/src/shared/ethtool-util.c:864:14: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:864:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/ethtool-util.c:865:17: branch_false: ...to here
systemd-258/src/shared/ethtool-util.c:865:17: release_memory: ‘u’ is NULL
systemd-258/src/shared/ethtool-util.c:871:17: danger: dereference of NULL ‘u’
#  869|                           !memeqzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE,
#  870|                                      ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NBYTES - sizeof(uint32_t) * N_ADVERTISE);
#  871|->                 memcpy(&u->link_modes.advertising, advertise, sizeof(uint32_t) * N_ADVERTISE);
#  872|                   memzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE,
#  873|                           ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NBYTES - sizeof(uint32_t) * N_ADVERTISE);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def578]
systemd-258/src/shared/exec-util.c:176:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pid’
systemd-258/src/shared/exec-util.c:295:5: enter_function: entry to ‘execute_directories’
systemd-258/src/shared/exec-util.c:316:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/exec-util.c:319:13: branch_false: ...to here
systemd-258/src/shared/exec-util.c:324:12: branch_true: following ‘true’ branch (when ‘callbacks’ is non-NULL)...
systemd-258/src/shared/exec-util.c:325:21: branch_true: ...to here
systemd-258/src/shared/exec-util.c:326:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/exec-util.c:330:16: branch_false: ...to here
systemd-258/src/shared/exec-util.c:330:16: call_function: calling ‘execute_strv’ from ‘execute_directories’
#  174|                           bool skip_remaining = false;
#  175|   
#  176|->                         r = wait_for_terminate_and_check(t, pid, WAIT_LOG_ABNORMAL);
#  177|                           if (r < 0)
#  178|                                   return r;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
systemd-258/src/shared/hostname-setup.c:68:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(s)’
systemd-258/src/shared/hostname-setup.c:52:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hostname-setup.c:53:9: branch_false: ...to here
systemd-258/src/shared/hostname-setup.c:53:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/hostname-setup.c:55:13: branch_false: ...to here
systemd-258/src/shared/hostname-setup.c:55:13: acquire_memory: allocated here
systemd-258/src/shared/hostname-setup.c:56:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/hostname-setup.c:59:13: branch_false: ...to here
systemd-258/src/shared/hostname-setup.c:59:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/hostname-setup.c:64:19: branch_false: ...to here
systemd-258/src/shared/hostname-setup.c:65:12: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
systemd-258/src/shared/hostname-setup.c:68:9: branch_false: ...to here
systemd-258/src/shared/hostname-setup.c:68:9: throw: if ‘strshorten’ throws an exception...
systemd-258/src/shared/hostname-setup.c:68:9: danger: ‘strdup(s)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
#   66|                   *p = 0;
#   67|   
#   68|->         strshorten(h, HOST_NAME_MAX);
#   69|   
#   70|           if (!hostname_is_valid(h, /* flags= */ 0))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def580]
systemd-258/src/shared/libmount-util.h:9:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘table’
systemd-258/src/shared/libmount-util.c:20:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/libmount-util.c:20:9: branch_true: ...to here
systemd-258/src/shared/libmount-util.c:20:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shared/libmount-util.c:15:57: call_function: inlined call to ‘mnt_free_tablep’ from ‘libmount_parse_full’
#    7|   #include "forward.h"
#    8|   
#    9|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct libmnt_table*, mnt_free_table, NULL);
#   10|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct libmnt_iter*, mnt_free_iter, NULL);
#   11|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def581]
systemd-258/src/shared/libmount-util.h:9:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
systemd-258/src/shutdown/detach-swap.c:37:9: branch_true: following ‘true’ branch...
systemd-258/src/shutdown/detach-swap.c:37:9: branch_true: ...to here
systemd-258/src/shutdown/detach-swap.c:37:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shutdown/detach-swap.c:33:57: call_function: inlined call to ‘mnt_free_tablep’ from ‘swap_list_get’
#    7|   #include "forward.h"
#    8|   
#    9|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct libmnt_table*, mnt_free_table, NULL);
#   10|   DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct libmnt_iter*, mnt_free_iter, NULL);
#   11|   

Error: COMPILER_WARNING: [#def582] [important]
systemd-258/src/shared/nsresource.c:19:19: error[error]: ‘TASK_COMM_LEN’ undeclared (first use in this function)
#   17|   
#   18|   static int make_pid_name(char **ret) {
#   19|->         char comm[TASK_COMM_LEN];
#   20|   
#   21|           assert(ret);

Error: COMPILER_WARNING: [#def583] [important]
systemd-258/src/shared/nsresource.c:30:9: error[error]: expression in static assertion is not an integer
#   28|            * some bits). But it also should be unique if we are called multiple times in a row. Hence we take
#   29|            * the "comm" name (which is 15 chars), and suffix it with the PID, possibly overriding the end. */
#   30|->         assert_cc(TASK_COMM_LEN == 15 + 1);
#   31|   
#   32|           char spid[DECIMAL_STR_MAX(pid_t)];

Error: COMPILER_WARNING (CWE-704): [#def584]
systemd-258/src/shared/pager.c: scope_hint: In function ‘show_man_page’
systemd-258/src/shared/pager.c:309:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  309 |                 e = strrchr(desc, '(');
#      |                   ^
#  307|   
#  308|           if (desc[k-1] == ')')
#  309|->                 e = strrchr(desc, '(');
#  310|   
#  311|           if (e) {

Error: COMPILER_WARNING (CWE-704): [#def585]
systemd-258/src/shared/pager.c:309:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  307|   
#  308|           if (desc[k-1] == ')')
#  309|->                 e = strrchr(desc, '(');
#  310|   
#  311|           if (e) {

Error: GCC_ANALYZER_WARNING (CWE-404): [#def586]
systemd-258/src/shared/pam-util.c:48:38: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/shared/pam-util.c:44:9: acquire_resource: ‘va_start’ called here
systemd-258/src/shared/pam-util.c:47:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pam-util.c:47:16: branch_true: ...to here
systemd-258/src/shared/pam-util.c:48:38: throw: if ‘pam_strerror’ throws an exception...
systemd-258/src/shared/pam-util.c:48:38: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#   46|           const char *p = endswith(format, "@PAMERR@");
#   47|           if (p) {
#   48|->                 const char *pamerr = pam_strerror(handle, error);
#   49|                   if (strchr(pamerr, '%'))
#   50|                           pamerr = "n/a";  /* We cannot have any formatting chars */

Error: GCC_ANALYZER_WARNING (CWE-404): [#def587]
systemd-258/src/shared/pam-util.c:56:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/shared/pam-util.c:44:9: acquire_resource: ‘va_start’ called here
systemd-258/src/shared/pam-util.c:47:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/pam-util.c:47:16: branch_true: ...to here
systemd-258/src/shared/pam-util.c:49:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:52:26: branch_false: ...to here
systemd-258/src/shared/pam-util.c:53:17: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:56:17: branch_false: ...to here
systemd-258/src/shared/pam-util.c:56:17: throw: if ‘pam_vsyslog’ throws an exception...
systemd-258/src/shared/pam-util.c:56:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
#   54|   
#   55|                   DISABLE_WARNING_FORMAT_NONLITERAL;
#   56|->                 pam_vsyslog(handle, level, buf, ap);
#   57|                   REENABLE_WARNING;
#   58|           } else

Error: GCC_ANALYZER_WARNING (CWE-404): [#def588]
systemd-258/src/shared/pam-util.c:59:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/shared/pam-util.c:44:9: acquire_resource: ‘va_start’ called here
systemd-258/src/shared/pam-util.c:47:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:59:17: branch_false: ...to here
systemd-258/src/shared/pam-util.c:59:17: throw: if ‘pam_vsyslog’ throws an exception...
systemd-258/src/shared/pam-util.c:59:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
#   57|                   REENABLE_WARNING;
#   58|           } else
#   59|->                 pam_vsyslog(handle, level, format, ap);
#   60|   
#   61|           va_end(ap);

Error: GCC_ANALYZER_WARNING (CWE-404): [#def589]
systemd-258/src/shared/pam-util.c:266:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/shared/pam-util.c:255:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:257:9: branch_false: ...to here
systemd-258/src/shared/pam-util.c:257:9: acquire_resource: ‘va_start’ called here
systemd-258/src/shared/pam-util.c:260:20: branch_false: following ‘false’ branch (when ‘item_type > 0’)...
systemd-258/src/shared/pam-util.c:265:38: branch_false: ...to here
systemd-258/src/shared/pam-util.c:265:38: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:266:21: branch_false: ...to here
systemd-258/src/shared/pam-util.c:266:21: throw: if ‘pam_get_item’ throws an exception...
systemd-258/src/shared/pam-util.c:266:21: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
#  264|   
#  265|                   const void **value = ASSERT_PTR(va_arg(ap, const void **));
#  266|->                 r = pam_get_item(handle, item_type, value);
#  267|                   if (!IN_SET(r, PAM_BAD_ITEM, PAM_SUCCESS))
#  268|                           break;

Error: GCC_ANALYZER_WARNING (CWE-404): [#def590]
systemd-258/src/shared/pam-util.c:290:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
systemd-258/src/shared/pam-util.c:279:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:281:9: branch_false: ...to here
systemd-258/src/shared/pam-util.c:281:9: acquire_resource: ‘va_start’ called here
systemd-258/src/shared/pam-util.c:284:20: branch_false: following ‘false’ branch (when ‘data_name’ is non-NULL)...
systemd-258/src/shared/pam-util.c:289:38: branch_false: ...to here
systemd-258/src/shared/pam-util.c:289:38: branch_false: following ‘false’ branch...
systemd-258/src/shared/pam-util.c:290:21: branch_false: ...to here
systemd-258/src/shared/pam-util.c:290:21: throw: if ‘pam_get_data’ throws an exception...
systemd-258/src/shared/pam-util.c:290:21: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
#  288|   
#  289|                   const void **value = ASSERT_PTR(va_arg(ap, const void **));
#  290|->                 r = pam_get_data(handle, data_name, value);
#  291|                   if (!IN_SET(r, PAM_NO_MODULE_DATA, PAM_SUCCESS))
#  292|                           break;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def591]
systemd-258/src/shared/reboot-util.c:163:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/xen/privcmd", 524290)’
systemd-258/src/shared/reboot-util.c:147:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:153:16: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:154:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:157:22: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:157:22: acquire_resource: opened here
systemd-258/src/shared/reboot-util.c:158:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:161:18: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:162:12: branch_true: following ‘true’ branch...
systemd-258/src/shared/reboot-util.c:163:24: branch_true: ...to here
systemd-258/src/shared/reboot-util.c:163:24: branch_true: following ‘true’ branch...
systemd-258/src/shared/reboot-util.c:163:24: branch_true: ...to here
systemd-258/src/shared/reboot-util.c:163:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/shared/reboot-util.c:163:24: danger: ‘open("/dev/xen/privcmd", 524290)’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
#  161|           buf_fd = open("/dev/xen/hypercall", O_RDWR|O_CLOEXEC);
#  162|           if (buf_fd < 0)
#  163|->                 return log_debug_errno(errno, "Cannot access /dev/xen/hypercall: %m");
#  164|   
#  165|           buffer = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, buf_fd, 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
systemd-258/src/shared/reboot-util.c:167:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/xen/privcmd", 524290)’
systemd-258/src/shared/reboot-util.c:147:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:153:16: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:154:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:157:22: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:157:22: acquire_resource: opened here
systemd-258/src/shared/reboot-util.c:158:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:161:18: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:162:12: branch_false: following ‘false’ branch...
systemd-258/src/shared/reboot-util.c:165:18: branch_false: ...to here
systemd-258/src/shared/reboot-util.c:166:12: branch_true: following ‘true’ branch (when ‘buffer == 18446744073709551615’)...
systemd-258/src/shared/reboot-util.c:167:24: branch_true: ...to here
systemd-258/src/shared/reboot-util.c:167:24: branch_true: following ‘true’ branch...
systemd-258/src/shared/reboot-util.c:167:24: branch_true: ...to here
systemd-258/src/shared/reboot-util.c:167:24: throw: if ‘log_internal’ throws an exception...
systemd-258/src/shared/reboot-util.c:167:24: danger: ‘open("/dev/xen/privcmd", 524290)’ leaks here; was opened at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
#  165|           buffer = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, buf_fd, 0);
#  166|           if (buffer == MAP_FAILED)
#  167|->                 return log_debug_errno(errno, "Cannot allocate buffer for hypercall: %m");
#  168|   
#  169|           *buffer = (xen_kexec_status_t) {

Error: COMPILER_WARNING (CWE-704): [#def593]
systemd-258/src/shared/seccomp-util.c: scope_hint: In function ‘parse_syscall_and_errno’
systemd-258/src/shared/seccomp-util.c:2408:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2408 |         p = strchr(in, ':');
#      |           ^
# 2406|            */
# 2407|   
# 2408|->         p = strchr(in, ':');
# 2409|           if (p) {
# 2410|                   e = seccomp_parse_errno_or_action(p + 1);

Error: COMPILER_WARNING (CWE-704): [#def594]
systemd-258/src/shared/seccomp-util.c:2408:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2406|            */
# 2407|   
# 2408|->         p = strchr(in, ':');
# 2409|           if (p) {
# 2410|                   e = seccomp_parse_errno_or_action(p + 1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def595]
systemd-258/src/shared/selinux-util.c:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pcon’
systemd-258/src/shared/selinux-util.c:493:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/selinux-util.c:493:9: branch_true: ...to here
systemd-258/src/shared/selinux-util.c:493:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/shared/selinux-util.c:488:44: call_function: inlined call to ‘context_freep’ from ‘mac_selinux_get_child_mls_label’
#   28|   
#   29|   #if HAVE_SELINUX
#   30|-> DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(context_t, context_free, NULL);
#   31|   
#   32|   typedef enum Initialized {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
systemd-258/src/shared/unit-file.c:452:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(*__unique_prefix_i14)’
systemd-258/src/shared/unit-file.c:366:5: enter_function: entry to ‘unit_file_build_name_map’
systemd-258/src/shared/unit-file.c:391:12: branch_true: following ‘true’ branch (when ‘cache_timestamp_hash’ is non-NULL)...
systemd-258/src/shared/unit-file.c:392:13: branch_true: ...to here
systemd-258/src/shared/unit-file.c:392:13: call_function: calling ‘lookup_paths_timestamp_hash_same’ from ‘unit_file_build_name_map’
systemd-258/src/shared/unit-file.c:392:13: return_function: returning to ‘unit_file_build_name_map’ from ‘lookup_paths_timestamp_hash_same’
systemd-258/src/shared/unit-file.c:391:13: branch_false: following ‘false’ branch...
systemd-258/src/shared/unit-file.c:398:12: branch_false: ...to here
systemd-258/src/shared/unit-file.c:398:12: branch_true: following ‘true’ branch (when ‘path_cache’ is non-NULL)...
systemd-258/src/shared/unit-file.c:399:25: branch_true: ...to here
systemd-258/src/shared/unit-file.c:400:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/unit-file.c:421:9: branch_false: ...to here
systemd-258/src/shared/unit-file.c:421:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/unit-file.c:425:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/unit-file.c:428:21: branch_false: ...to here
systemd-258/src/shared/unit-file.c:421:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/unit-file.c:442:9: branch_false: ...to here
systemd-258/src/shared/unit-file.c:442:9: branch_true: following ‘true’ branch...
systemd-258/src/shared/unit-file.c:445:21: acquire_memory: allocated here
systemd-258/src/shared/unit-file.c:446:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/unit-file.c:452:17: branch_false: ...to here
systemd-258/src/shared/unit-file.c:452:17: throw: if ‘readdir_ensure_type’ throws an exception...
systemd-258/src/shared/unit-file.c:452:17: danger: ‘opendir(*__unique_prefix_i14)’ leaks here; was allocated at [(23)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/22)
#  450|                   }
#  451|   
#  452|->                 FOREACH_DIRENT_ALL(de, d, log_warning_errno(errno, "Failed to read \"%s\", ignoring: %m", *dir)) {
#  453|                           _unused_ _cleanup_free_ char *_filename_free = NULL;
#  454|                           char *filename;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
systemd-258/src/shared/userdb.c:1922:21: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(c, (long unsigned int)(endswith(*<unknown>, ".membership") - c))’
systemd-258/src/shared/userdb.c:1821:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/userdb.c:1821:9: branch_false: ...to here
systemd-258/src/shared/userdb.c:1825:20: branch_true: following ‘true’ branch...
systemd-258/src/shared/userdb.c:1828:30: branch_true: ...to here
systemd-258/src/shared/userdb.c:1897:16: branch_true: following ‘true’ branch...
systemd-258/src/shared/userdb.c:1910:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/userdb.c:1912:21: branch_false: ...to here
systemd-258/src/shared/userdb.c:1913:28: branch_false: following ‘false’ branch (when the strings are equal)...
systemd-258/src/shared/userdb.c:1918:17: branch_false: ...to here
systemd-258/src/shared/userdb.c:1919:22: acquire_memory: allocated here
systemd-258/src/shared/userdb.c:1920:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/userdb.c:1922:21: branch_false: ...to here
systemd-258/src/shared/userdb.c:1922:20: branch_false: following ‘false’ branch...
systemd-258/src/shared/userdb.c:1925:29: branch_false: ...to here
systemd-258/src/shared/userdb.c:1925:29: throw: if ‘valid_user_group_name’ throws an exception...
systemd-258/src/shared/userdb.c:1922:21: danger: ‘strndup(c, (long unsigned int)(endswith(*<unknown>, ".membership") - c))’ leaks here; was allocated at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
# 1920|                   if (!gn)
# 1921|                           return -ENOMEM;
# 1922|->                 if (iterator->filter_group_name) {
# 1923|                           if (!streq(gn, iterator->filter_group_name))
# 1924|                                   continue;

Error: COMPILER_WARNING (CWE-704): [#def598]
systemd-258/src/shared/vpick.c: scope_hint: In function ‘make_choice’
systemd-258/src/shared/vpick.c:373:38: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  373 |                         char *plus = strrchr(e, '+');
#      |                                      ^~~~~~~
#  371|   
#  372|                   if (FLAGS_SET(flags, PICK_TRIES)) {
#  373|->                         char *plus = strrchr(e, '+');
#  374|                           if (plus) {
#  375|                                   r = parse_tries(plus, &found_tries_left, &found_tries_done);

Error: COMPILER_WARNING (CWE-704): [#def599]
systemd-258/src/shared/vpick.c:373:38: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  371|   
#  372|                   if (FLAGS_SET(flags, PICK_TRIES)) {
#  373|->                         char *plus = strrchr(e, '+');
#  374|                           if (plus) {
#  375|                                   r = parse_tries(plus, &found_tries_left, &found_tries_done);

Error: COMPILER_WARNING (CWE-704): [#def600]
systemd-258/src/shared/vpick.c:384:44: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  384 |                         char *underscore = strrchr(e, '_');
#      |                                            ^~~~~~~
#  382|   
#  383|                   if (FLAGS_SET(flags, PICK_ARCHITECTURE)) {
#  384|->                         char *underscore = strrchr(e, '_');
#  385|                           Architecture a;
#  386|   

Error: COMPILER_WARNING (CWE-704): [#def601]
systemd-258/src/shared/vpick.c:384:44: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  382|   
#  383|                   if (FLAGS_SET(flags, PICK_ARCHITECTURE)) {
#  384|->                         char *underscore = strrchr(e, '_');
#  385|                           Architecture a;
#  386|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
systemd-258/src/shared/vpick.c:564:55: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(fname, (long unsigned int)(endswith(<unknown>, ".v") - fname))’
systemd-258/src/shared/vpick.c:647:5: enter_function: entry to ‘path_pick_update_warn’
systemd-258/src/shared/vpick.c:656:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/vpick.c:657:9: branch_false: ...to here
systemd-258/src/shared/vpick.c:657:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/vpick.c:658:9: branch_false: ...to here
systemd-258/src/shared/vpick.c:658:9: branch_false: following ‘false’ branch...
systemd-258/src/shared/vpick.c:662:13: branch_false: ...to here
systemd-258/src/shared/vpick.c:662:13: call_function: calling ‘path_pick’ from ‘path_pick_update_warn’
#  562|   
#  563|                   /* Chop off suffix, if specified */
#  564|->                 char *f = endswith_strv(filter_bname, filter->suffix);
#  565|                   if (f)
#  566|                           *f = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def603]
systemd-258/src/ssh-generator/ssh-generator.c:224:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(40, 524289, 0)’
systemd-258/src/ssh-generator/ssh-generator.c:457:12: enter_function: entry to ‘run’
systemd-258/src/ssh-generator/ssh-generator.c:460:9: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:462:13: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:477:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:481:12: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:481:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:484:50: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:486:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:489:30: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:491:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:494:30: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:495:9: call_function: calling ‘add_extra_sockets’ from ‘run’
systemd-258/src/ssh-generator/ssh-generator.c:495:9: return_function: returning to ‘run’ from ‘add_extra_sockets’
systemd-258/src/ssh-generator/ssh-generator.c:497:12: branch_true: following ‘true’ branch...
systemd-258/src/ssh-generator/ssh-generator.c:498:17: branch_true: ...to here
systemd-258/src/ssh-generator/ssh-generator.c:498:17: call_function: calling ‘add_vsock_socket’ from ‘run’
#  222|           }
#  223|   
#  224|->         vsock_fd = safe_close(vsock_fd);
#  225|   
#  226|           /* Determine the local CID so that we can log it to help users to connect to this VM */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def604]
systemd-258/src/ssh-generator/ssh-issue.c:149:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(40, 524289, 0)’
systemd-258/src/ssh-generator/ssh-issue.c:123:12: enter_function: entry to ‘acquire_cid’
systemd-258/src/ssh-generator/ssh-issue.c:126:9: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-issue.c:128:28: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-issue.c:129:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-issue.c:131:14: call_function: inlined call to ‘VIRTUALIZATION_IS_VM’ from ‘acquire_cid’
systemd-258/src/ssh-generator/ssh-issue.c:131:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-issue.c:138:40: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-issue.c:138:40: acquire_resource: socket created here
systemd-258/src/ssh-generator/ssh-issue.c:139:12: branch_false: following ‘false’ branch...
systemd-258/src/ssh-generator/ssh-issue.c:149:20: branch_false: ...to here
systemd-258/src/ssh-generator/ssh-issue.c:149:20: throw: if ‘safe_close’ throws an exception...
systemd-258/src/ssh-generator/ssh-issue.c:149:20: danger: ‘socket(40, 524289, 0)’ leaks here
#  147|           }
#  148|   
#  149|->         vsock_fd = safe_close(vsock_fd);
#  150|   
#  151|           unsigned local_cid;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def605]
systemd-258/src/sysctl/sysctl.c:49:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_option’
systemd-258/src/sysctl/sysctl.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:223:63: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:224:12: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:231:9: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:240:21: throw: if ‘read_stripped_line’ throws an exception...
systemd-258/src/sysctl/sysctl.c:233:49: call_function: inlined call to ‘option_freep’ from ‘parse_file’
#   47|   }
#   48|   
#   49|-> DEFINE_TRIVIAL_CLEANUP_FUNC(Option*, option_free);
#   50|   DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(option_hash_ops, char, string_hash_func, string_compare_func, Option, option_free);
#   51|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
systemd-258/src/sysctl/sysctl.c:66:9: warning[-Wanalyzer-malloc-leak]: leak of ‘option_new(sysctl_normalize(strstrip(p)), value,  ignore_failure)’
systemd-258/src/sysctl/sysctl.c:215:12: enter_function: entry to ‘parse_file’
systemd-258/src/sysctl/sysctl.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:223:63: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:224:12: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:231:9: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:241:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:243:20: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:243:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:246:17: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:250:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:254:25: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:255:20: branch_false: following ‘false’ branch (when ‘value’ is NULL)...
systemd-258/src/sysctl/sysctl.c:266:28: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:266:28: branch_true: following ‘true’ branch...
systemd-258/src/sysctl/sysctl.c:268:33: branch_true: ...to here
systemd-258/src/sysctl/sysctl.c:297:30: call_function: calling ‘option_new’ from ‘parse_file’
systemd-258/src/sysctl/sysctl.c:297:30: return_function: returning to ‘parse_file’ from ‘option_new’
systemd-258/src/sysctl/sysctl.c:298:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:301:82: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:301:21: throw: if ‘ordered_hashmap_ensure_put’ throws an exception...
systemd-258/src/sysctl/sysctl.c:66:9: danger: ‘option_new(sysctl_normalize(strstrip(p)), value,  ignore_failure)’ leaks here; was allocated at [(23)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/22)
#   64|           _cleanup_(option_freep) Option *o = NULL;
#   65|   
#   66|->         assert(key);
#   67|   
#   68|           o = new(Option, 1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
systemd-258/src/sysctl/sysctl.c:301:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
systemd-258/src/sysctl/sysctl.c:215:12: enter_function: entry to ‘parse_file’
systemd-258/src/sysctl/sysctl.c:221:9: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:223:63: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:224:12: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:231:9: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:241:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:243:20: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:243:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:246:17: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:250:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:254:25: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:255:20: branch_false: following ‘false’ branch (when ‘value’ is NULL)...
systemd-258/src/sysctl/sysctl.c:266:28: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:266:28: branch_true: following ‘true’ branch...
systemd-258/src/sysctl/sysctl.c:268:33: branch_true: ...to here
systemd-258/src/sysctl/sysctl.c:297:30: call_function: calling ‘option_new’ from ‘parse_file’
systemd-258/src/sysctl/sysctl.c:297:30: return_function: returning to ‘parse_file’ from ‘option_new’
systemd-258/src/sysctl/sysctl.c:298:20: branch_false: following ‘false’ branch...
systemd-258/src/sysctl/sysctl.c:301:82: branch_false: ...to here
systemd-258/src/sysctl/sysctl.c:301:21: throw: if ‘ordered_hashmap_ensure_put’ throws an exception...
systemd-258/src/sysctl/sysctl.c:301:21: danger: ‘<unknown>’ leaks here; was allocated at [(25)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/24)
#  299|                           return log_oom();
#  300|   
#  301|->                 k = ordered_hashmap_ensure_put(sysctl_options, &option_hash_ops, new_option->key, new_option);
#  302|                   if (k < 0)
#  303|                           return log_error_errno(k, "Failed to add sysctl variable %s to hashmap: %m", p);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
systemd-258/src/sysv-generator/sysv-generator.c:730:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(*__unique_prefix_i19)’
systemd-258/src/sysv-generator/sysv-generator.c:897:12: enter_function: entry to ‘run’
systemd-258/src/sysv-generator/sysv-generator.c:903:12: branch_false: following ‘false’ branch...
systemd-258/src/sysv-generator/sysv-generator.c:908:9: branch_false: ...to here
systemd-258/src/sysv-generator/sysv-generator.c:908:9: branch_false: following ‘false’ branch...
systemd-258/src/sysv-generator/sysv-generator.c:910:13: branch_false: ...to here
systemd-258/src/sysv-generator/sysv-generator.c:911:12: branch_false: following ‘false’ branch...
systemd-258/src/sysv-generator/sysv-generator.c:914:24: branch_false: ...to here
systemd-258/src/sysv-generator/sysv-generator.c:915:12: branch_false: following ‘false’ branch...
systemd-258/src/sysv-generator/sysv-generator.c:918:13: branch_false: ...to here
systemd-258/src/sysv-generator/sysv-generator.c:918:13: call_function: calling ‘enumerate_sysv’ from ‘run’
#  728|                   }
#  729|   
#  730|->                 FOREACH_DIRENT(de, d, log_error_errno(errno, "Failed to enumerate directory %s, ignoring: %m", *path)) {
#  731|                           _cleanup_free_ char *fpath = NULL, *name = NULL;
#  732|                           _cleanup_(sysvstub_freep) SysvStub *service = NULL;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def609]
systemd-258/src/test/test-capability-list.c:15:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘a’
systemd-258/src/test/test-capability-list.c:21:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:22:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:22:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:23:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:23:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:24:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:24:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:26:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:26:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:70:1: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:29:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:70:1: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:41:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:42:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:42:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:43:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:43:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:44:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:44:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:45:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:45:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:46:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:46:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:47:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:47:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:48:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:48:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:49:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:49:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:50:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:50:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-capability-list.c:50:9: branch_false: ...to here
systemd-258/src/test/test-capability-list.c:52:25: branch_true: following ‘true’ branch...
systemd-258/src/test/test-capability-list.c:55:26: branch_true: ...to here
systemd-258/src/test/test-capability-list.c:57:17: throw: if ‘cap_to_name’ throws an exception...
systemd-258/src/test/test-capability-list.c:53:50: call_function: inlined call to ‘cap_free_charpp’ from ‘test_cap_list’
#   13|   
#   14|   static inline void cap_free_charpp(char **p) {
#   15|->         if (*p)
#   16|                   cap_free(*p);
#   17|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
systemd-258/src/test/test-env-util.c:519:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(*__unique_prefix_i34, (long unsigned int)(eq - *__unique_prefix_i34_34))’
systemd-258/src/test/test-env-util.c:498:12: branch_true: following ‘true’ branch...
systemd-258/src/test/test-env-util.c:499:44: branch_true: ...to here
systemd-258/src/test/test-env-util.c:503:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-env-util.c:505:21: branch_false: ...to here
systemd-258/src/test/test-env-util.c:506:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-env-util.c:508:17: branch_false: ...to here
systemd-258/src/test/test-env-util.c:510:17: branch_true: following ‘true’ branch...
systemd-258/src/test/test-env-util.c:515:28: branch_false: following ‘false’ branch (when ‘eq’ is non-NULL)...
systemd-258/src/test/test-env-util.c:518:41: branch_false: ...to here
systemd-258/src/test/test-env-util.c:518:29: acquire_memory: allocated here
systemd-258/src/test/test-env-util.c:519:25: branch_false: following ‘false’ branch...
systemd-258/src/test/test-env-util.c:521:40: branch_false: ...to here
systemd-258/src/test/test-env-util.c:522:25: branch_true: following ‘true’ branch...
systemd-258/src/test/test-env-util.c:522:25: branch_true: ...to here
systemd-258/src/test/test-env-util.c:522:25: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/test/test-env-util.c:519:25: danger: ‘strndup(*__unique_prefix_i34, (long unsigned int)(eq - *__unique_prefix_i34_34))’ leaks here; was allocated at [(12)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/11)
#  517|   
#  518|                           n = strndup(*e, eq - *e);
#  519|->                         assert_se(n);
#  520|   
#  521|                           copy1 = strdup(eq + 1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
systemd-258/src/test/test-fileio.c:159:9: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(strextend_with_separator_internal(0, 0, ". ", file, " && /bin/echo -n \"$",  variable, "\"", 0), "re")’
systemd-258/src/test/test-fileio.c:153:13: enter_function: entry to ‘test_one_shell_var’
systemd-258/src/test/test-fileio.c:158:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:159:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:159:9: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:159:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:160:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:160:9: call_function: calling ‘read_full_stream’ from ‘test_one_shell_var’
systemd-258/src/test/test-fileio.c:155:32: call_function: inlined call to ‘pclosep’ from ‘test_one_shell_var’
systemd-258/src/test/test-fileio.c:159:9: danger: ‘popen(strextend_with_separator_internal(0, 0, ". ", file, " && /bin/echo -n \"$",  variable, "\"", 0), "re")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/3)
#  157|   
#  158|           assert_se(cmd = strjoin(". ", file, " && /bin/echo -n \"$", variable, "\""));
#  159|->         assert_se(f = popen(cmd, "re"));
#  160|           assert_se(read_full_stream(f, &from_shell, &sz) >= 0);
#  161|           assert_se(sz == strlen(value));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
systemd-258/src/test/test-fileio.c:366:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen(mkostemp_safe(&fn), "we")’
systemd-258/src/test/test-fileio.c:356:1: enter_function: entry to ‘test_read_one_line_file’
systemd-258/src/test/test-fileio.c:363:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:365:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:365:13: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:366:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:368:9: call_function: inlined call to ‘read_one_line_file’ from ‘test_read_one_line_file’
systemd-258/src/test/test-fileio.c:366:9: danger: ‘fdopen(mkostemp_safe(&fn), "we")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
#  364|   
#  365|           f = fdopen(fd, "we");
#  366|->         assert_se(f);
#  367|   
#  368|           assert_se(read_one_line_file(fn, &buf) == 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
systemd-258/src/test/test-fileio.c:402:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen(mkostemp_safe(&fn), "r")’
systemd-258/src/test/test-fileio.c:392:1: enter_function: entry to ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:399:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:401:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:401:13: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:402:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:403:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:402:9: danger: ‘fdopen(mkostemp_safe(&fn), "r")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/3)
#  400|   
#  401|           f = fdopen(fd, "r");
#  402|->         assert_se(f);
#  403|           assert_se(write_string_stream(f, "boohoo", 0) < 0);
#  404|           f = safe_fclose(f);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def614]
systemd-258/src/test/test-fileio.c:407:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&fn, "r+")’
systemd-258/src/test/test-fileio.c:392:1: enter_function: entry to ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:399:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:401:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:402:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:403:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:403:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:404:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:406:13: acquire_resource: opened here
systemd-258/src/test/test-fileio.c:407:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:409:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:407:9: danger: ‘fopen(&fn, "r+")’ leaks here; was opened at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
#  405|   
#  406|           f = fopen(fn, "r+");
#  407|->         assert_se(f);
#  408|   
#  409|           assert_se(write_string_stream(f, "boohoo", 0) == 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
systemd-258/src/test/test-fileio.c:407:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&fn, "r+")’
systemd-258/src/test/test-fileio.c:392:1: enter_function: entry to ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:399:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:401:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:402:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:403:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:403:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:404:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:406:13: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:407:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:409:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:407:9: danger: ‘fopen(&fn, "r+")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
#  405|   
#  406|           f = fopen(fn, "r+");
#  407|->         assert_se(f);
#  408|   
#  409|           assert_se(write_string_stream(f, "boohoo", 0) == 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def616]
systemd-258/src/test/test-fileio.c:417:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&fn, "w+")’
systemd-258/src/test/test-fileio.c:392:1: enter_function: entry to ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:399:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:401:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:402:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:403:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:403:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:404:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:407:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:409:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:409:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:410:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:412:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:413:9: call_function: inlined call to ‘streq_ptr’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:413:9: call_function: inlined call to ‘streq_ptr’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:413:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:414:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:416:13: acquire_resource: opened here
systemd-258/src/test/test-fileio.c:417:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:419:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:417:9: danger: ‘fopen(&fn, "w+")’ leaks here; was opened at [(25)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/24)
#  415|   
#  416|           f = fopen(fn, "w+");
#  417|->         assert_se(f);
#  418|   
#  419|           assert_se(write_string_stream(f, "boohoo", WRITE_STRING_FILE_AVOID_NEWLINE) == 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
systemd-258/src/test/test-fileio.c:417:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&fn, "w+")’
systemd-258/src/test/test-fileio.c:392:1: enter_function: entry to ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:399:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:401:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:402:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:403:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:403:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:404:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:407:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:409:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:409:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:410:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:412:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:413:9: call_function: inlined call to ‘streq_ptr’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:413:9: call_function: inlined call to ‘streq_ptr’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:413:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:414:13: branch_false: ...to here
systemd-258/src/test/test-fileio.c:416:13: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:417:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:419:9: call_function: inlined call to ‘write_string_stream’ from ‘test_write_string_stream’
systemd-258/src/test/test-fileio.c:417:9: danger: ‘fopen(&fn, "w+")’ leaks here; was allocated at [(25)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/24)
#  415|   
#  416|           f = fopen(fn, "w+");
#  417|->         assert_se(f);
#  418|   
#  419|           assert_se(write_string_stream(f, "boohoo", WRITE_STRING_FILE_AVOID_NEWLINE) == 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def618]
systemd-258/src/test/test-fileio.c:968:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "we")’
systemd-258/src/test/test-fileio.c:967:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:968:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:968:9: acquire_resource: opened here
systemd-258/src/test/test-fileio.c:968:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:969:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:969:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:970:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:970:9: throw: if ‘fflush_and_check’ throws an exception...
systemd-258/src/test/test-fileio.c:968:9: danger: ‘fopen(fn, "we")’ leaks here; was opened at [(3)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/2)
#  966|   
#  967|           assert_se(tempfn_random_child(NULL, NULL, &fn) >= 0);
#  968|->         assert_se(f = fopen(fn, "we"));
#  969|           assert_se(fwrite(buf, 1, sizeof(buf), f) == sizeof(buf));
#  970|           assert_se(fflush_and_check(f) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
systemd-258/src/test/test-fileio.c:968:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "we")’
systemd-258/src/test/test-fileio.c:967:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:968:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:968:9: acquire_memory: allocated here
systemd-258/src/test/test-fileio.c:968:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-fileio.c:969:9: branch_false: ...to here
systemd-258/src/test/test-fileio.c:969:9: branch_true: following ‘true’ branch...
systemd-258/src/test/test-fileio.c:969:9: branch_true: ...to here
systemd-258/src/test/test-fileio.c:969:9: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/test/test-fileio.c:968:9: danger: ‘fopen(fn, "we")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/2)
#  966|   
#  967|           assert_se(tempfn_random_child(NULL, NULL, &fn) >= 0);
#  968|->         assert_se(f = fopen(fn, "we"));
#  969|           assert_se(fwrite(buf, 1, sizeof(buf), f) == sizeof(buf));
#  970|           assert_se(fflush_and_check(f) >= 0);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def620]
systemd-258/src/test/test-namespace.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/kmsg", 524288)’
systemd-258/src/test/test-namespace.c:211:12: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:217:13: branch_false: ...to here
systemd-258/src/test/test-namespace.c:217:12: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:222:15: branch_false: ...to here
systemd-258/src/test/test-namespace.c:223:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:225:12: branch_false: ...to here
systemd-258/src/test/test-namespace.c:225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
systemd-258/src/test/test-namespace.c:228:22: branch_true: ...to here
systemd-258/src/test/test-namespace.c:228:22: acquire_resource: opened here
systemd-258/src/test/test-namespace.c:229:17: branch_true: following ‘true’ branch...
systemd-258/src/test/test-namespace.c:229:17: branch_true: ...to here
systemd-258/src/test/test-namespace.c:229:17: throw: if ‘log_assert_failed’ throws an exception...
systemd-258/src/test/test-namespace.c:229:17: danger: ‘open("/dev/kmsg", 524288)’ leaks here; was opened at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
#  227|   
#  228|                   fd = open("/dev/kmsg", O_RDONLY | O_CLOEXEC);
#  229|->                 assert_se(fd > 0);
#  230|   
#  231|                   r = setup_namespace(&p, NULL);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
systemd-258/src/test/test-namespace.c:235:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/kmsg", 524288)’
systemd-258/src/test/test-namespace.c:211:12: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:217:13: branch_false: ...to here
systemd-258/src/test/test-namespace.c:217:12: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:222:15: branch_false: ...to here
systemd-258/src/test/test-namespace.c:223:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:225:12: branch_false: ...to here
systemd-258/src/test/test-namespace.c:225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
systemd-258/src/test/test-namespace.c:228:22: branch_true: ...to here
systemd-258/src/test/test-namespace.c:229:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:231:21: branch_false: ...to here
systemd-258/src/test/test-namespace.c:232:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:234:17: branch_false: ...to here
systemd-258/src/test/test-namespace.c:234:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-namespace.c:235:17: branch_false: ...to here
systemd-258/src/test/test-namespace.c:235:17: acquire_resource: opened here
systemd-258/src/test/test-namespace.c:235:17: danger: ‘open("/dev/kmsg", 524288)’ leaks here; was opened at [(15)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/14)
#  233|   
#  234|                   assert_se(setresuid(UID_NOBODY, UID_NOBODY, UID_NOBODY) >= 0);
#  235|->                 assert_se(open("/dev/kmsg", O_RDONLY | O_CLOEXEC) < 0);
#  236|                   assert_se(errno == EACCES);
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
systemd-258/src/test/test-sysctl-util.c:33:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*__unique_prefix_i12)’
systemd-258/src/test/test-sysctl-util.c:30:9: branch_true: following ‘true’ branch...
systemd-258/src/test/test-sysctl-util.c:33:17: acquire_memory: allocated here
systemd-258/src/test/test-sysctl-util.c:33:17: branch_false: following ‘false’ branch...
systemd-258/src/test/test-sysctl-util.c:34:17: branch_false: ...to here
systemd-258/src/test/test-sysctl-util.c:34:17: throw: if ‘sysctl_normalize’ throws an exception...
systemd-258/src/test/test-sysctl-util.c:33:17: danger: ‘strdup(*__unique_prefix_i12)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#   31|                   _cleanup_free_ char *t;
#   32|   
#   33|->                 assert_se(t = strdup(*s));
#   34|                   assert_se(sysctl_normalize(t) == t);
#   35|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
systemd-258/src/test/test-varlink.c:228:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(333, 8)’
systemd-258/src/test/test-varlink.c:223:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-varlink.c:225:9: branch_false: ...to here
systemd-258/src/test/test-varlink.c:225:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-varlink.c:228:9: branch_false: ...to here
systemd-258/src/test/test-varlink.c:228:9: acquire_memory: allocated here
systemd-258/src/test/test-varlink.c:228:9: branch_false: following ‘false’ branch...
systemd-258/src/test/test-varlink.c:228:9: branch_false: ...to here
systemd-258/src/test/test-varlink.c:229:21: branch_true: following ‘true’ branch (when ‘k != 333’)...
systemd-258/src/test/test-varlink.c:230:38: branch_true: ...to here
systemd-258/src/test/test-varlink.c:231:17: branch_true: following ‘true’ branch...
systemd-258/src/test/test-varlink.c:231:17: branch_true: ...to here
systemd-258/src/test/test-varlink.c:231:17: throw: if ‘log_internal’ throws an exception...
systemd-258/src/test/test-varlink.c:228:9: danger: ‘calloc(333, 8)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
#  226|   
#  227|           /* Flood the server with connections */
#  228|->         assert_se(connections = new0(sd_varlink*, OVERLOAD_CONNECTIONS));
#  229|           for (k = 0; k < OVERLOAD_CONNECTIONS; k++) {
#  230|                   _cleanup_free_ char *t = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
systemd-258/src/udev/net/link-config.c:1011:24: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(*__unique_prefix_i46, (long unsigned int)(eq - *__unique_prefix_i46_23))’
systemd-258/src/udev/net/link-config.c:991:30: branch_false: following ‘false’ branch...
systemd-258/src/udev/net/link-config.c:992:28: branch_false: following ‘false’ branch...
systemd-258/src/udev/net/link-config.c:995:9: branch_false: ...to here
systemd-258/src/udev/net/link-config.c:999:9: branch_true: following ‘true’ branch...
systemd-258/src/udev/net/link-config.c:1007:23: acquire_memory: allocated here
systemd-258/src/udev/net/link-config.c:1008:20: branch_false: following ‘false’ branch...
systemd-258/src/udev/net/link-config.c:1011:24: branch_false: ...to here
systemd-258/src/udev/net/link-config.c:1011:24: throw: if ‘udev_builtin_add_property’ throws an exception...
systemd-258/src/udev/net/link-config.c:1011:24: danger: ‘strndup(*__unique_prefix_i46, (long unsigned int)(eq - *__unique_prefix_i46_23))’ leaks here; was allocated at [(8)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/7)
# 1009|                           return log_oom();
# 1010|   
# 1011|->                 (void) udev_builtin_add_property(event, key, eq + 1);
# 1012|           }
# 1013|   

Error: COMPILER_WARNING (CWE-704): [#def625]
systemd-258/src/udev/udev-builtin-net_id.c: scope_hint: In function ‘get_usb_specifier’
systemd-258/src/udev/udev-builtin-net_id.c:937:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  937 |         s = strchr(sysname, '-');
#      |           ^
#  935|   
#  936|           /* get USB port number chain, configuration, interface */
#  937|->         s = strchr(sysname, '-');
#  938|           if (!s)
#  939|                   return log_device_debug_errno(dev, SYNTHETIC_ERRNO(EINVAL),

Error: COMPILER_WARNING (CWE-704): [#def626]
systemd-258/src/udev/udev-builtin-net_id.c:937:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  935|   
#  936|           /* get USB port number chain, configuration, interface */
#  937|->         s = strchr(sysname, '-');
#  938|           if (!s)
#  939|                   return log_device_debug_errno(dev, SYNTHETIC_ERRNO(EINVAL),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
systemd-258/src/vmspawn/vmspawn.c:845:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(4120)’
systemd-258/src/vmspawn/vmspawn.c:810:12: enter_function: entry to ‘vmspawn_dispatch_vsock_connections’
systemd-258/src/vmspawn/vmspawn.c:815:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:817:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:817:12: branch_false: following ‘false’ branch (when ‘revents == 1’)...
systemd-258/src/vmspawn/vmspawn.c:822:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:823:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:831:17: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:832:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:835:50: call_function: inlined call to ‘malloc_multiply’ from ‘vmspawn_dispatch_vsock_connections’
systemd-258/src/vmspawn/vmspawn.c:836:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:839:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:845:13: throw: if ‘sd_event_add_io’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:845:13: danger: ‘malloc(4120)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/10)
#  843|           /* add a new floating task to read from the connection */
#  844|           _cleanup_(sd_event_source_unrefp) sd_event_source *s = NULL;
#  845|->         r = sd_event_add_io(event, &s, conn_fd, EPOLLIN, vmspawn_dispatch_notify_fd, d);
#  846|           if (r < 0)
#  847|                   return log_error_errno(r, "Failed to allocate notify connection event source: %m");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
systemd-258/src/vmspawn/vmspawn.c:1402:1: warning[-Wanalyzer-malloc-leak]: leak of ‘virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1335:12: enter_function: entry to ‘start_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1346:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1347:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1347:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1348:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1348:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1350:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1351:13: call_function: calling ‘find_virtiofsd’ from ‘start_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1351:13: return_function: returning to ‘start_virtiofsd’ from ‘find_virtiofsd’
systemd-258/src/vmspawn/vmspawn.c:1352:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1355:30: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1357:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1358:24: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1402:1: danger: ‘virtiofsd’ leaks here; was allocated at [(18)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/17)
# 1400|   
# 1401|           return 0;
# 1402|-> }
# 1403|   
# 1404|   static int kernel_cmdline_maybe_append_root(void) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def629]
systemd-258/src/vmspawn/vmspawn.c:1540:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*__unique_prefix_i47, 524288)’
systemd-258/src/vmspawn/vmspawn.c:1507:12: enter_function: entry to ‘merge_initrds’
systemd-258/src/vmspawn/vmspawn.c:1512:9: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1514:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1515:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1518:15: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1519:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1522:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1522:9: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1527:20: branch_false: following ‘false’ branch (when ‘off >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1530:32: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1536:23: acquire_resource: opened here
systemd-258/src/vmspawn/vmspawn.c:1537:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1540:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1540:21: call_function: calling ‘copy_bytes’ from ‘merge_initrds’
systemd-258/src/vmspawn/vmspawn.c:1540:21: danger: ‘open(*__unique_prefix_i47, 524288)’ leaks here; was opened at [(12)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/11)
# 1538|                           return log_error_errno(errno, "Failed to open %s: %m", *i);
# 1539|   
# 1540|->                 r = copy_bytes(ifd, ofd, UINT64_MAX, COPY_REFLINK);
# 1541|                   if (r < 0)
# 1542|                           return log_error_errno(r, "Failed to copy bytes from %s to %s: %m", *i, merged_initrd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def630]
systemd-258/src/vmspawn/vmspawn.c:2048:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(ovmf_vars_from, 524288)’
systemd-258/src/vmspawn/vmspawn.c:1643:12: enter_function: entry to ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1663:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1666:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1667:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1670:24: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1676:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1677:31: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1702:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1706:25: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1717:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1720:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1720:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:1721:26: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:1722:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1733:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1734:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1736:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1739:44: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1739:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1742:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1751:12: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1771:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1774:21: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1774:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1770:38: call_function: inlined call to ‘freep’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:1781:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1869:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:1873:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1873:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1897:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1914:19: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1920:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1924:18: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1925:12: branch_false: following ‘false’ branch (when ‘use_vsock == 0’)...
systemd-258/src/vmspawn/vmspawn.c:1954:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:1961:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:1966:9: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2019:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
systemd-258/src/vmspawn/vmspawn.c:2022:13: call_function: inlined call to ‘strv_extend’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2023:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2026:86: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2027:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2030:13: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2030:13: call_function: inlined call to ‘ovmf_config_format’ from ‘run_virtual_machine’
systemd-258/src/vmspawn/vmspawn.c:2031:12: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2034:43: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2035:12: branch_true: following ‘true’ branch...
systemd-258/src/vmspawn/vmspawn.c:2036:29: branch_true: ...to here
systemd-258/src/vmspawn/vmspawn.c:2041:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2044:29: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2044:29: acquire_resource: opened here
systemd-258/src/vmspawn/vmspawn.c:2045:20: branch_false: following ‘false’ branch...
systemd-258/src/vmspawn/vmspawn.c:2048:29: branch_false: ...to here
systemd-258/src/vmspawn/vmspawn.c:2048:29: throw: if ‘open’ throws an exception...
systemd-258/src/vmspawn/vmspawn.c:2048:29: danger: ‘open(ovmf_vars_from, 524288)’ leaks here; was opened at [(59)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/58)
# 2046|                           return log_error_errno(source_fd, "Failed to open OVMF vars file %s: %m", ovmf_vars_from);
# 2047|   
# 2048|->                 target_fd = open(ovmf_vars_to, O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0600);
# 2049|                   if (target_fd < 0)
# 2050|                           return log_error_errno(errno, "Failed to create regular file for OVMF vars at %s: %m", ovmf_vars_to);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-16.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesystemd-259-1.fc44
diffbase-store-results-to/tmp/tmpetr41jzv/systemd-259-1.fc44.tar.xz
diffbase-time-created2026-01-08 22:06:55
diffbase-time-finished2026-01-08 22:20:46
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpetr41jzv/systemd-259-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpetr41jzv/systemd-259-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-16.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesystemd-258-1.fc43
store-results-to/tmp/tmp5dt1p1ii/systemd-258-1.fc43.tar.xz
time-created2026-01-08 21:49:20
time-finished2026-01-08 22:04:05
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp5dt1p1ii/systemd-258-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5dt1p1ii/systemd-258-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9