Skip to content

unix: fix uv__udp_recvmsg crash#5131

Merged
juanarbol merged 1 commit into
libuv:v1.xfrom
theanarkh:UV_UDP_LINUX_RECVERR
May 3, 2026
Merged

unix: fix uv__udp_recvmsg crash#5131
juanarbol merged 1 commit into
libuv:v1.xfrom
theanarkh:UV_UDP_LINUX_RECVERR

Conversation

@theanarkh
Copy link
Copy Markdown
Contributor

@theanarkh theanarkh commented Apr 26, 2026

The handle can be actived when handle->recv_cb is NULL(interested in POLLOUT event, see uv__udp_recv_stop), so i think we should also check handle->recv_cb.

cc @juanarbol

assert failed: https://github.com/nodejs/node/actions/runs/24960336330/job/73085918658?pr=62971

image

@bnoordhuis
Copy link
Copy Markdown
Member

@juanarbol that suggests the fix from b030b02 is incomplete? Can you review?

@juanarbol
Copy link
Copy Markdown
Member

hat suggests the fix from b030b02 is incomplete?

Looks like it is.

Copy link
Copy Markdown
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@juanarbol juanarbol merged commit cafbb1a into libuv:v1.x May 3, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants