liburing-2.8-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
liburing-2.8-build/liburing-2.8/examples/helpers.c: scope_hint: In function ‘setup_listening_socket’
liburing-2.8-build/liburing-2.8/examples/helpers.c:29:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:69:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
liburing-2.8-build/liburing-2.8/examples/io_uring-test.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:58:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iovecs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
liburing-2.8-build/liburing-2.8/examples/proxy.c: scope_hint: In function ‘show_buckets’
liburing-2.8-build/liburing-2.8/examples/proxy.c:515:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sstat’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
liburing-2.8-build/liburing-2.8/examples/proxy.c:518:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rstat’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def6]
liburing-2.8-build/liburing-2.8/examples/proxy.c:534:30: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘rstat’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def7]
liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘sstat’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def8]
liburing-2.8-build/liburing-2.8/examples/proxy.c:547:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘rstat’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*<unknown>, 0)’
/usr/include/signal.h:328: included_from: Included from here.
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:14: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:214:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pbundle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:362:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: scope_hint: In function ‘queue_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘queue_read’
liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: scope_hint: In function ‘queue_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sqe’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: scope_hint: In function ‘io_prep_read’
liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:18: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:421:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: scope_hint: In function ‘test_io_uring_submit_enters’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_io_uring_submit_enters’
liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: scope_hint: In function ‘test_io_uring_submit_enters’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:422:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.8-build/liburing-2.8/test/short-read.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/short-read.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:424:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/recv-multishot.c: scope_hint: In function ‘test’
Error: CPPCHECK_WARNING (CWE-457): [#def17]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def18]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:898: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def19]
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008: warning[uninitvar]: Uninitialized variable: addr
Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
liburing-2.8-build/liburing-2.8/test/helpers.h:12: included_from: Included from here.
liburing-2.8-build/liburing-2.8/test/fpos.c:14: included_from: Included from here.
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".test_fpos_read", 0)’
liburing-2.8-build/liburing-2.8/test/fpos.c:12: included_from: Included from here.
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
liburing-2.8-build/liburing-2.8/src/setup.c:445:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
liburing-2.8-build/liburing-2.8/src/setup.c: scope_hint: In function ‘io_uring_queue_exit’
Error: GCC_ANALYZER_WARNING: [#def23]
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c: scope_hint: In function ‘rcv’
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:94:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘s0’
liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:12: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-479): [#def24]
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c: scope_hint: In function ‘sig_int’
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def25]
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c: scope_hint: In function ‘sig_int’
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: GCC_ANALYZER_WARNING: [#def26]
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: scope_hint: In function ‘start_accept_listen’
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def27]
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: scope_hint: In function ‘test_maccept’
liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:127:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fds’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING: [#def28]
liburing-2.8-build/liburing-2.8/test/accept.c: scope_hint: In function ‘start_accept_listen’
liburing-2.8-build/liburing-2.8/test/accept.c:204:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘fd’
Error: CPPCHECK_WARNING (CWE-401): [#def29]
liburing-2.8-build/liburing-2.8/test/buf-ring.c:353: error[memleak]: Memory leak: buffers
Error: CPPCHECK_WARNING (CWE-476): [#def30]
liburing-2.8-build/liburing-2.8/test/coredump.c:41: error[nullPointer]: Null pointer dereference: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
liburing-2.8-build/liburing-2.8/test/coredump.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/coredump.c:41:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/coredump.c: scope_hint: In function ‘test’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def32]
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c: scope_hint: In function ‘sig_alrm’
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: scope_hint: In function ‘test_exec’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:63:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c:54:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/eploop.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c:53:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/evloop.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c: scope_hint: In function ‘inject_fault’
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/thread-self/fail-nth", 2)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:54:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<return-value>’
Error: GCC_ANALYZER_WARNING (CWE-910): [#def38]
liburing-2.8-build/liburing-2.8/test/fd-install.c: scope_hint: In function ‘test_working’
liburing-2.8-build/liburing-2.8/test/fd-install.c:227:15: warning[-Wanalyzer-fd-use-after-close]: ‘read’ on closed file descriptor ‘fds[0]’
Error: CPPCHECK_WARNING (CWE-401): [#def39]
liburing-2.8-build/liburing-2.8/test/fdinfo.c:39: error[memleak]: Memory leak: buf
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c:39:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘fdinfo_read’
liburing-2.8-build/liburing-2.8/test/fdinfo.c: scope_hint: In function ‘fdinfo_read’
Error: CPPCHECK_WARNING (CWE-457): [#def41]
liburing-2.8-build/liburing-2.8/test/file-register.c:726: error[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
liburing-2.8-build/liburing-2.8/test/file-verify.c: scope_hint: In function ‘fill_pattern’
liburing-2.8-build/liburing-2.8/test/file-verify.c:532:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 1)’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def43]
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def44]
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: scope_hint: In function ‘alarm_sig’
liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def45]
liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:42:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(4096)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
liburing-2.8-build/liburing-2.8/test/fixed-link.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/fixed-link.c:42:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/zero", 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
liburing-2.8-build/liburing-2.8/test/helpers.c: scope_hint: In function ‘__t_create_file’
liburing-2.8-build/liburing-2.8/test/helpers.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘t_malloc(size)’
liburing-2.8-build/liburing-2.8/test/helpers.c:6: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
liburing-2.8-build/liburing-2.8/test/helpers.c: scope_hint: In function ‘t_create_socket_pair’
liburing-2.8-build/liburing-2.8/test/helpers.c:186:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
liburing-2.8-build/liburing-2.8/test/helpers.c:210:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*fd’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_dont_cancel_another_ring’
liburing-2.8-build/liburing-2.8/test/io-cancel.c: scope_hint: In function ‘test_dont_cancel_another_ring’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def52]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘test_max_fds’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:18: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
Error: COMPILER_WARNING: [#def54]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:410:9: warning[-Wstringop-overflow=]: ‘memset’ writing 63 bytes into a region of size 0 overflows the destination
cc1: note: destination object is likely at address zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘ioring_poll’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c:411:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘ioring_poll’
liburing-2.8-build/liburing-2.8/test/io_uring_register.c: scope_hint: In function ‘ioring_poll’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:110:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 65536)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_linked_files’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘test_linked_files’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
liburing-2.8-build/liburing-2.8/test/lfs-openat.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/tmp", 2097152)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_timeout_link_chain1’
liburing-2.8-build/liburing-2.8/test/link-timeout.c: scope_hint: In function ‘test_timeout_link_chain1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def62]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
liburing-2.8-build/liburing-2.8/test/min-timeout.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0][1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1][1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[2][1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: scope_hint: In function ‘test_local’
liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:168:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[i]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[1]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe2[i]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘test_simple_drain’
liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: scope_hint: In function ‘test_simple_drain’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
liburing-2.8-build/liburing-2.8/test/pipe-bug.c: scope_hint: In function ‘pipe_bug’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[i]’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
liburing-2.8-build/liburing-2.8/test/poll-cancel.c: scope_hint: In function ‘test_poll_cancel’
liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c: scope_hint: In function ‘test_downgrade’
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: scope_hint: In function ‘run’
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘run’
liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: scope_hint: In function ‘run’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_pipe_pollin_test’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:100:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_pipe_pollout_test’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:139:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
liburing-2.8-build/liburing-2.8/src/include/liburing.h: scope_hint: In function ‘do_test_epoll’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_test_epoll’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: scope_hint: In function ‘do_test_epoll’
liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
liburing-2.8-build/liburing-2.8/test/poll.c: scope_hint: In function ‘test_basic’
liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def86]
liburing-2.8-build/liburing-2.8/test/read-mshot.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c: scope_hint: In function ‘do_send’
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:273:24: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
liburing-2.8-build/liburing-2.8/test/recv-msgall.c: scope_hint: In function ‘do_send’
liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
liburing-2.8-build/liburing-2.8/test/register-restrictions.c: scope_hint: In function ‘test_restrictions_sqe_op’
liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe1[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
liburing-2.8-build/liburing-2.8/test/ring-leak.c: scope_hint: In function ‘test_scm_cycles’
liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Error: GCC_ANALYZER_WARNING: [#def95]
liburing-2.8-build/liburing-2.8/test/ring-leak2.c: scope_hint: In function ‘server_thread’
liburing-2.8-build/liburing-2.8/test/ring-leak2.c:115:13: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘sock_listen_fd’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c: scope_hint: In function ‘test’
liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c: scope_hint: In function ‘create_socketpair_ip’
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:293:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:5: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".short-read", 0)’
Error: GCC_ANALYZER_WARNING: [#def100]
liburing-2.8-build/liburing-2.8/test/shutdown.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
Error: GCC_ANALYZER_WARNING: [#def101]
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:47:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:9: included_from: Included from here.
Error: GCC_ANALYZER_WARNING: [#def102]
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:11: included_from: Included from here.
Error: GCC_ANALYZER_WARNING: [#def103]
liburing-2.8-build/liburing-2.8/test/socket-rw.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/socket-rw.c:49:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘recv_s0’
liburing-2.8-build/liburing-2.8/test/socket-rw.c:11: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
liburing-2.8-build/liburing-2.8/test/splice.c: scope_hint: In function ‘init_splice_ctx’
liburing-2.8-build/liburing-2.8/test/splice.c:111:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
liburing-2.8-build/liburing-2.8/test/sq-poll-share.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 16384)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
liburing-2.8-build/liburing-2.8/test/submit-reuse.c: scope_hint: In function ‘test_reuse’
liburing-2.8-build/liburing-2.8/test/submit-reuse.c:149:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname1, 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c: scope_hint: In function ‘main’
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/ttyS0", 2050)’
Error: CPPCHECK_WARNING (CWE-664): [#def109]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: scope_hint: In function ‘ublk_err’
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Error: CPPCHECK_WARNING (CWE-664): [#def111]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:171: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: scope_hint: In function ‘ublk_ctrl_init’
liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:356:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: scope_hint: In function ‘test_pipes’
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-85.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | liburing-2.8-1.fc42 |
store-results-to | /tmp/tmpcbb5rz77/liburing-2.8-1.fc42.tar.xz |
time-created | 2024-11-13 01:46:42 |
time-finished | 2024-11-13 01:50:18 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpcbb5rz77/liburing-2.8-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpcbb5rz77/liburing-2.8-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |