Skip to content

unix,win: check nbufs argument is reasonable#5014

Merged
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:fix5012
Feb 1, 2026
Merged

unix,win: check nbufs argument is reasonable#5014
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:fix5012

Conversation

@bnoordhuis
Copy link
Copy Markdown
Member

Catch sign conversion bugs by introducing a bounds check that doubles as a sanity check.

Fixes: #5012

Catch sign conversion bugs by introducing a bounds check that doubles
as a sanity check.

Fixes: libuv#5012
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

@bnoordhuis bnoordhuis merged commit 91dc238 into libuv:v1.x Feb 1, 2026
44 checks passed
@bnoordhuis bnoordhuis deleted the fix5012 branch February 1, 2026 12:03
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.

uv_run hangs following memory allocation error in uv_write

4 participants