Fixed findings
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
liburing-2.9/src/include/liburing.h:443:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:409:12: enter_function: entry to ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:417:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:419:14: branch_true: ...to here
liburing-2.9/test/accept.c:419:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:419:14: return_function: returning to ‘test_accept_pending_on_exit’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:422:9: call_function: inlined call to ‘io_uring_prep_accept’ from ‘test_accept_pending_on_exit’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
liburing-2.9/src/include/liburing.h:1437:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:554:21: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:555:23: branch_true: ...to here
liburing-2.9/test/accept.c:555:23: call_function: calling ‘io_uring_wait_cqe’ from ‘test_accept_cancel’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.9/test/short-read.c:18:5: enter_function: entry to ‘main’
liburing-2.9/test/short-read.c:26:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/short-read.c:29:24: branch_false: ...to here
liburing-2.9/test/short-read.c:34:14: acquire_resource: opened here
liburing-2.9/test/short-read.c:38:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:43:15: branch_false: ...to here
liburing-2.9/test/short-read.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/short-read.c:49:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/test/short-read.c:49:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘main’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(".short-read", 0)’ leaks here; was opened at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def4]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".sync_file_range", 2)’
liburing-2.9/test/fsync.c:146:12: enter_function: entry to ‘test_sync_file_range’
liburing-2.9/test/fsync.c:154:14: acquire_resource: opened here
liburing-2.9/test/fsync.c:158:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fsync.c:163:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_sync_file_range’
liburing-2.9/test/fsync.c:163:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_sync_file_range’
liburing-2.9/src/include/liburing.h:1523:35: danger: ‘open(".sync_file_range", 2)’ leaks here; was opened at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
liburing-2.9/src/include/liburing.h:1523:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".test_fpos_read", 0)’
liburing-2.9/test/fpos.c:225:5: enter_function: entry to ‘main’
liburing-2.9/test/fpos.c:230:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/fpos.c:233:15: branch_false: ...to here
liburing-2.9/test/fpos.c:234:12: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/fpos.c:239:28: branch_true: following ‘true’ branch (when ‘test != 8’)...
liburing-2.9/test/fpos.c:240:21: branch_true: ...to here
liburing-2.9/test/fpos.c:242:33: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/fpos.c:244:23: branch_false: following ‘false’ branch (when ‘write == 0’)...
liburing-2.9/test/fpos.c:246:27: branch_false: ...to here
liburing-2.9/test/fpos.c:246:27: call_function: calling ‘test_read’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
liburing-2.9/src/setup.c:446:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.9/src/setup.c:587:16: enter_function: entry to ‘io_uring_mlock_size’
liburing-2.9/src/setup.c:593:16: call_function: calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
liburing-2.9/test/accept.c:186:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:554:21: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:555:23: branch_true: ...to here
liburing-2.9/test/accept.c:555:23: call_function: calling ‘io_uring_wait_cqe’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:555:23: return_function: returning to ‘test_accept_cancel’ from ‘io_uring_wait_cqe’
liburing-2.9/test/accept.c:186:14: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
liburing-2.9/test/accept.c:189:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.9/test/accept.c:446:12: enter_function: entry to ‘test_accept_many’
liburing-2.9/test/accept.c:457:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:462:9: branch_false: ...to here
liburing-2.9/test/accept.c:465:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:470:15: branch_false: ...to here
liburing-2.9/test/accept.c:471:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:473:15: branch_true: ...to here
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
liburing-2.9/test/accept.c:221:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(&addr, 0, <unknown>)’
liburing-2.9/test/accept.c:687:12: enter_function: entry to ‘test_accept_fixed’
liburing-2.9/test/accept.c:696:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:697:15: branch_true: ...to here
liburing-2.9/test/accept.c:698:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:704:15: branch_false: ...to here
liburing-2.9/test/accept.c:704:15: call_function: calling ‘test’ from ‘test_accept_fixed’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
liburing-2.9/test/accept.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(&addr, 0, <unknown>)’
liburing-2.9/test/accept.c:687:12: enter_function: entry to ‘test_accept_fixed’
liburing-2.9/test/accept.c:696:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:697:15: branch_true: ...to here
liburing-2.9/test/accept.c:698:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:704:15: branch_false: ...to here
liburing-2.9/test/accept.c:704:15: call_function: calling ‘test’ from ‘test_accept_fixed’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
liburing-2.9/test/accept.c:231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(&addr, 0, <unknown>)’
liburing-2.9/test/accept.c:687:12: enter_function: entry to ‘test_accept_fixed’
liburing-2.9/test/accept.c:696:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:697:15: branch_true: ...to here
liburing-2.9/test/accept.c:698:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:704:15: branch_false: ...to here
liburing-2.9/test/accept.c:704:15: call_function: calling ‘test’ from ‘test_accept_fixed’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def12]
liburing-2.9/test/accept.c:401:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(&addr, 0, <unknown>)’
liburing-2.9/test/accept.c:385:12: enter_function: entry to ‘test’
liburing-2.9/test/accept.c:390:27: call_function: calling ‘start_accept_listen’ from ‘test’
liburing-2.9/test/accept.c:390:27: return_function: returning to ‘test’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:394:24: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:400:9: branch_false: ...to here
liburing-2.9/test/accept.c:401:16: danger: ‘start_accept_listen(&addr, 0, <unknown>)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-479): [#def13]
liburing-2.9/test/accept.c:406:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.9/test/accept.c:409:12: enter_function: entry to ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:417:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:419:14: branch_true: ...to here
liburing-2.9/test/accept.c:419:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:419:14: return_function: returning to ‘test_accept_pending_on_exit’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:421:15: call_function: inlined call to ‘io_uring_get_sqe’ from ‘test_accept_pending_on_exit’
liburing-2.9/test/accept.c:424:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:426:9: branch_true: ...to here
liburing-2.9/test/accept.c:404:13: enter_function: entry to ‘sig_alrm’
liburing-2.9/test/accept.c:406:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def14]
liburing-2.9/test/accept.c:475:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, i, <unknown>)’
liburing-2.9/test/accept.c:446:12: enter_function: entry to ‘test_accept_many’
liburing-2.9/test/accept.c:457:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:462:9: branch_false: ...to here
liburing-2.9/test/accept.c:465:12: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:470:15: branch_false: ...to here
liburing-2.9/test/accept.c:471:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:473:15: branch_true: ...to here
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:475:21: branch_true: following ‘true’ branch (when ‘i < nr_socks’)...
liburing-2.9/test/accept.c:477:46: branch_true: ...to here
liburing-2.9/test/accept.c:476:26: call_function: calling ‘start_accept_listen’ from ‘test_accept_many’
liburing-2.9/test/accept.c:476:26: return_function: returning to ‘test_accept_many’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:475:35: danger: ‘start_accept_listen(0, i, <unknown>)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
liburing-2.9/test/accept.c:545:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:544:12: branch_true: following ‘true’ branch (when ‘usecs != 0’)...
liburing-2.9/test/accept.c:545:17: branch_true: ...to here
liburing-2.9/test/accept.c:545:17: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def16]
liburing-2.9/test/accept.c:587:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:587:9: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
liburing-2.9/test/accept.c:588:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:588:9: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
liburing-2.9/test/accept.c:591:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:554:21: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:555:23: branch_true: ...to here
liburing-2.9/test/accept.c:555:23: call_function: calling ‘io_uring_wait_cqe’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:555:23: return_function: returning to ‘test_accept_cancel’ from ‘io_uring_wait_cqe’
liburing-2.9/test/accept.c:556:17: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:567:24: branch_true: ...to here
liburing-2.9/test/accept.c:591:9: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
liburing-2.9/test/accept.c:592:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘start_accept_listen(0, 0, 0)’
liburing-2.9/test/accept.c:518:12: enter_function: entry to ‘test_accept_cancel’
liburing-2.9/test/accept.c:529:9: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:531:14: branch_true: ...to here
liburing-2.9/test/accept.c:531:14: call_function: calling ‘start_accept_listen’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:531:14: return_function: returning to ‘test_accept_cancel’ from ‘start_accept_listen’
liburing-2.9/test/accept.c:533:21: branch_false: following ‘false’ branch...
liburing-2.9/test/accept.c:544:12: branch_false: ...to here
liburing-2.9/test/accept.c:547:21: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/accept.c:554:21: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:555:23: branch_true: ...to here
liburing-2.9/test/accept.c:555:23: call_function: calling ‘io_uring_wait_cqe’ from ‘test_accept_cancel’
liburing-2.9/test/accept.c:555:23: return_function: returning to ‘test_accept_cancel’ from ‘io_uring_wait_cqe’
liburing-2.9/test/accept.c:556:17: branch_true: following ‘true’ branch...
liburing-2.9/test/accept.c:567:24: branch_true: ...to here
liburing-2.9/test/accept.c:592:9: danger: ‘start_accept_listen(0, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
liburing-2.9/test/fifo-nonblock-read.c:31:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:31:17: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
liburing-2.9/test/fifo-nonblock-read.c:31:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:31:17: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def22]
liburing-2.9/test/fifo-nonblock-read.c:37:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/fifo-nonblock-read.c:26:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:31:17: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:32:12: branch_false: following ‘false’ branch...
liburing-2.9/test/fifo-nonblock-read.c:36:9: branch_false: ...to here
liburing-2.9/test/fifo-nonblock-read.c:37:15: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
liburing-2.9/test/file-register.c:832:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[0]’
liburing-2.9/test/file-register.c:814:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:818:13: branch_false: ...to here
liburing-2.9/test/file-register.c:818:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:827:22: branch_false: ...to here
liburing-2.9/test/file-register.c:832:15: danger: ‘reg_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
liburing-2.9/test/file-register.c:832:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘reg_fds[1]’
liburing-2.9/test/file-register.c:814:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:818:13: branch_false: ...to here
liburing-2.9/test/file-register.c:818:12: branch_false: following ‘false’ branch...
liburing-2.9/test/file-register.c:827:22: branch_false: ...to here
liburing-2.9/test/file-register.c:832:15: danger: ‘reg_fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
liburing-2.9/test/fixed-hugepage.c:51:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.iov_len’
liburing-2.9/test/fixed-hugepage.c:342:12: enter_function: entry to ‘test_page_mixture’
liburing-2.9/test/fixed-hugepage.c:348:13: call_function: calling ‘mmap_mixture’ from ‘test_page_mixture’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def26]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[0][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[1][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
liburing-2.9/test/min-timeout.c:91:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][1]’
liburing-2.9/test/min-timeout.c:82:12: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:84:15: branch_false: ...to here
liburing-2.9/test/min-timeout.c:84:12: branch_false: following ‘false’ branch...
branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_false: following ‘false’ branch...
liburing-2.9/test/min-timeout.c:94:27: branch_false: ...to here
liburing-2.9/test/min-timeout.c:89:21: branch_true: following ‘true’ branch (when ‘i != 8’)...
liburing-2.9/test/min-timeout.c:90:26: branch_true: ...to here
liburing-2.9/test/min-timeout.c:90:20: branch_true: following ‘true’ branch...
liburing-2.9/test/min-timeout.c:91:25: branch_true: ...to here
liburing-2.9/test/min-timeout.c:91:25: danger: ‘fds[2][1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
liburing-2.9/test/pipe-bug.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-bug.c:82:5: enter_function: entry to ‘main’
liburing-2.9/test/pipe-bug.c:86:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
branch_false: ...to here
liburing-2.9/test/pipe-bug.c:89:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/pipe-bug.c:90:21: branch_true: ...to here
liburing-2.9/test/pipe-bug.c:90:21: call_function: calling ‘pipe_bug’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
liburing-2.9/test/pipe-bug.c:37:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.9/test/pipe-bug.c:82:5: enter_function: entry to ‘main’
liburing-2.9/test/pipe-bug.c:86:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
branch_false: ...to here
liburing-2.9/test/pipe-bug.c:89:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/pipe-bug.c:90:21: branch_true: ...to here
liburing-2.9/test/pipe-bug.c:90:21: call_function: calling ‘pipe_bug’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:40:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.9/test/pipe-bug.c:37:9: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-bug.c:39:9: branch_false: ...to here
liburing-2.9/test/pipe-bug.c:40:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
liburing-2.9/test/pipe-bug.c:40:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.9/test/pipe-bug.c:82:5: enter_function: entry to ‘main’
liburing-2.9/test/pipe-bug.c:86:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
branch_false: ...to here
liburing-2.9/test/pipe-bug.c:89:21: branch_true: following ‘true’ branch (when ‘i != 10000’)...
liburing-2.9/test/pipe-bug.c:90:21: branch_true: ...to here
liburing-2.9/test/pipe-bug.c:90:21: call_function: calling ‘pipe_bug’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def34]
liburing-2.9/test/pipe-eof.c:50:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fds[0]’
liburing-2.9/test/pipe-eof.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-eof.c:48:9: branch_false: ...to here
liburing-2.9/test/pipe-eof.c:50:9: danger: ‘d.fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
liburing-2.9/test/pipe-eof.c:50:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘d.fds[1]’
liburing-2.9/test/pipe-eof.c:44:12: branch_false: following ‘false’ branch...
liburing-2.9/test/pipe-eof.c:48:9: branch_false: ...to here
liburing-2.9/test/pipe-eof.c:50:9: danger: ‘d.fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
liburing-2.9/test/recv-msgall-stream.c:57:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:250:14: enter_function: entry to ‘recv_fn’
liburing-2.9/test/recv-msgall-stream.c:254:12: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:255:45: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:255:45: call_function: calling ‘recv_sync’ from ‘recv_fn’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
liburing-2.9/test/recv-msgall-stream.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
liburing-2.9/test/recv-msgall-stream.c:250:14: enter_function: entry to ‘recv_fn’
liburing-2.9/test/recv-msgall-stream.c:254:12: branch_true: following ‘true’ branch...
liburing-2.9/test/recv-msgall-stream.c:255:45: branch_true: ...to here
liburing-2.9/test/recv-msgall-stream.c:255:45: call_function: calling ‘recv_sync’ from ‘recv_fn’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
liburing-2.9/test/send-zerocopy.c:293:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
liburing-2.9/test/send-zerocopy.c:331:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_tx’
liburing-2.9/test/send-zerocopy.c:742:12: enter_function: entry to ‘test_sendzc_report’
liburing-2.9/test/send-zerocopy.c:750:15: call_function: calling ‘create_socketpair_ip’ from ‘test_sendzc_report’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
liburing-2.9/test/send-zerocopy.c:335:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sp[0]’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
liburing-2.9/test/send-zerocopy.c:337:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
liburing-2.9/test/send-zerocopy.c:359:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.9/test/send-zerocopy.c:838:12: enter_function: entry to ‘run_basic_tests’
liburing-2.9/test/send-zerocopy.c:844:15: call_function: calling ‘create_socketpair_ip’ from ‘run_basic_tests’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
liburing-2.9/test/shutdown.c:61:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:61:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
liburing-2.9/test/shutdown.c:65:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:65:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
liburing-2.9/test/shutdown.c:71:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:69:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:71:17: branch_true: ...to here
liburing-2.9/test/shutdown.c:71:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
liburing-2.9/test/shutdown.c:75:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/shutdown.c:35:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/shutdown.c:38:15: branch_false: ...to here
liburing-2.9/test/shutdown.c:40:19: acquire_resource: socket created here
liburing-2.9/test/shutdown.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:44:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:45:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:47:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:51:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:52:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:53:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:55:19: branch_true: ...to here
liburing-2.9/test/shutdown.c:59:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/shutdown.c:61:25: branch_true: ...to here
liburing-2.9/test/shutdown.c:62:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:64:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:66:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:68:15: branch_true: ...to here
liburing-2.9/test/shutdown.c:69:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:71:17: branch_true: ...to here
liburing-2.9/test/shutdown.c:72:9: branch_true: following ‘true’ branch...
liburing-2.9/test/shutdown.c:74:9: branch_true: ...to here
liburing-2.9/test/shutdown.c:75:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
liburing-2.9/test/socket-nb.c:54:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:54:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
liburing-2.9/test/socket-nb.c:58:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-nb.c:33:19: acquire_resource: socket created here
liburing-2.9/test/socket-nb.c:37:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:38:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:41:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:44:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:45:15: branch_true: ...to here
liburing-2.9/test/socket-nb.c:46:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:48:19: branch_true: ...to here
liburing-2.9/test/socket-nb.c:52:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-nb.c:54:17: branch_true: ...to here
liburing-2.9/test/socket-nb.c:55:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-nb.c:57:9: branch_true: ...to here
liburing-2.9/test/socket-nb.c:58:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
liburing-2.9/test/socket-rw-eagain.c:56:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:56:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def52]
liburing-2.9/test/socket-rw-eagain.c:60:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-eagain.c:31:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-eagain.c:34:15: branch_false: ...to here
liburing-2.9/test/socket-rw-eagain.c:36:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-eagain.c:39:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:40:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:43:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:46:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:47:15: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:48:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:50:19: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:54:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-eagain.c:56:25: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:57:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-eagain.c:59:9: branch_true: ...to here
liburing-2.9/test/socket-rw-eagain.c:60:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
liburing-2.9/test/socket-rw-offset.c:59:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:59:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def54]
liburing-2.9/test/socket-rw-offset.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:63:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
liburing-2.9/test/socket-rw-offset.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:69:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
liburing-2.9/test/socket-rw-offset.c:73:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw-offset.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw-offset.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw-offset.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw-offset.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw-offset.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw-offset.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw-offset.c:73:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
liburing-2.9/test/socket-rw.c:59:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:59:25: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
liburing-2.9/test/socket-rw.c:63:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:63:15: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
liburing-2.9/test/socket-rw.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:69:17: danger: ‘recv_s0’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
liburing-2.9/test/socket-rw.c:73:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘recv_s0’
liburing-2.9/test/socket-rw.c:33:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
liburing-2.9/test/socket-rw.c:36:15: branch_false: ...to here
liburing-2.9/test/socket-rw.c:38:19: acquire_resource: socket created here
liburing-2.9/test/socket-rw.c:41:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:42:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:43:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:45:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:48:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:49:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:50:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:53:19: branch_true: ...to here
liburing-2.9/test/socket-rw.c:57:9: branch_true: following ‘true’ branch (when ‘ret != -1’)...
liburing-2.9/test/socket-rw.c:59:25: branch_true: ...to here
liburing-2.9/test/socket-rw.c:60:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:62:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:64:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:66:15: branch_true: ...to here
liburing-2.9/test/socket-rw.c:67:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:69:17: branch_true: ...to here
liburing-2.9/test/socket-rw.c:70:9: branch_true: following ‘true’ branch...
liburing-2.9/test/socket-rw.c:72:9: branch_true: ...to here
liburing-2.9/test/socket-rw.c:73:15: danger: ‘recv_s0’ leaks here
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.90.0 |
| diffbase-analyzer-version-cppcheck | 2.18.3 |
| diffbase-analyzer-version-gcc | 15.2.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-226.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
| diffbase-project-name | liburing-2.12-1.fc44 |
| diffbase-store-results-to | /tmp/tmp5mu80gjc/liburing-2.12-1.fc44.tar.xz |
| diffbase-time-created | 2025-10-28 19:13:06 |
| diffbase-time-finished | 2025-10-28 19:15:18 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp5mu80gjc/liburing-2.12-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp5mu80gjc/liburing-2.12-1.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-226.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | liburing-2.9-2.fc43 |
| store-results-to | /tmp/tmpxffs5c56/liburing-2.9-2.fc43.tar.xz |
| time-created | 2025-10-28 19:10:00 |
| time-finished | 2025-10-28 19:12:33 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpxffs5c56/liburing-2.9-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxffs5c56/liburing-2.9-2.fc43.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |