Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp,unix: fix sendmsg use-after-free (libuv#4321)
Issue: 1. uv__io_poll calls uv__udp_io with revents == POLLIN + POLLOUT 2. uv__udp_io calls your recv_cb 3. you close the handle in callback 4. uv__udp_io calls uv__udp_sendmsg 5. uv__udp_sendmsg calls uv__io_feed 6. kaboom!
- Loading branch information