Task #119189 - added.err
back to task #119189download
Error: GCC_ANALYZER_WARNING (CWE-775): libuv-v1.52.1/src/unix/pipe.c:174:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*handle.io_watcher.fd’ libuv-v1.52.1/src/unix/pipe.c:154:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/pipe.c:157:7: branch_false: ...to here libuv-v1.52.1/src/unix/pipe.c:157:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/pipe.c:169:7: branch_false: ...to here libuv-v1.52.1/src/unix/pipe.c:169:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/pipe.c:172:3: branch_false: ...to here libuv-v1.52.1/src/unix/pipe.c:174:10: danger: ‘*handle.io_watcher.fd’ leaks here # 172| handle->connection_cb = cb; # 173| uv__io_cb_set(&handle->io_watcher, UV__SERVER_IO); # 174|-> return uv__io_start(handle->loop, &handle->io_watcher, POLLIN); # 175| } # 176| Error: GCC_ANALYZER_WARNING (CWE-775): libuv-v1.52.1/src/unix/tcp.c:449:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*tcp.io_watcher.fd’ libuv-v1.52.1/src/unix/tcp.c:421:5: enter_function: entry to ‘uv__tcp_listen’ libuv-v1.52.1/src/unix/tcp.c:425:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/tcp.c:436:9: branch_false: ...to here libuv-v1.52.1/src/unix/tcp.c:436:9: call_function: calling ‘maybe_new_socket’ from ‘uv__tcp_listen’ libuv-v1.52.1/src/unix/tcp.c:436:9: return_function: returning to ‘uv__tcp_listen’ from ‘maybe_new_socket’ libuv-v1.52.1/src/unix/tcp.c:437:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/tcp.c:440:7: branch_false: ...to here libuv-v1.52.1/src/unix/tcp.c:440:6: branch_false: following ‘false’ branch... libuv-v1.52.1/src/unix/tcp.c:443:3: branch_false: ...to here libuv-v1.52.1/src/unix/tcp.c:449:10: danger: ‘*tcp.io_watcher.fd’ leaks here # 447| uv__io_cb_set(&tcp->io_watcher, UV__SERVER_IO); # 448| # 449|-> return uv__io_start(tcp->loop, &tcp->io_watcher, POLLIN); # 450| } # 451| Error: GCC_ANALYZER_WARNING (CWE-775): libuv-v1.52.1/test/test-poll.c:473:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_bound_socket(addr)’ libuv-v1.52.1/test/test-poll.c:523:13: enter_function: entry to ‘start_server’ libuv-v1.52.1/test/test-poll.c:529:3: branch_false: following ‘false’ branch (when ‘eval_a == 0’)... libuv-v1.52.1/test/test-poll.c:530:10: branch_false: ...to here libuv-v1.52.1/test/test-poll.c:530:10: call_function: calling ‘create_bound_socket’ from ‘start_server’ libuv-v1.52.1/test/test-poll.c:530:10: return_function: returning to ‘start_server’ from ‘create_bound_socket’ libuv-v1.52.1/test/test-poll.c:531:13: call_function: calling ‘create_server_context’ from ‘start_server’ libuv-v1.52.1/test/test-poll.c:531:13: return_function: returning to ‘start_server’ from ‘create_server_context’ libuv-v1.52.1/test/test-poll.c:473:7: danger: ‘create_bound_socket(addr)’ leaks here # 471| context->connections = 0; # 472| # 473|-> r = uv_poll_init_socket(uv_default_loop(), &context->poll_handle, sock); # 474| context->poll_handle.data = context; # 475| ASSERT_OK(r);