Skip to content

Auto-port 5.0: Epoll: Use correct value to initialize mmsghdr.msg_namelen#16466

Merged
normanmaurer merged 2 commits into
5.0from
auto-port-pr-16460-to-5.0
Mar 16, 2026
Merged

Auto-port 5.0: Epoll: Use correct value to initialize mmsghdr.msg_namelen#16466
normanmaurer merged 2 commits into
5.0from
auto-port-pr-16460-to-5.0

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16460 to 5.0
Cherry-picked commit: 29a5efc


Motivation:

We did use the incorrect value for the msg_namelen and so could in theory result in an overflow if the kernel really use this value for the last element.

Modifications:

Use correct value

Result:

No risk of overflow during recvmmsg

Motivation:

We did use the incorrect value for the msg_namelen and so could in
theory result in an overflow if the kernel really use this value for the
last element.

Modifications:

Use correct value

Result:

No risk of overflow during recvmmsg

(cherry picked from commit 29a5efc)
@normanmaurer normanmaurer added this to the 5.0.0.Final milestone Mar 16, 2026
@normanmaurer normanmaurer merged commit 22daae0 into 5.0 Mar 16, 2026
13 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16460-to-5.0 branch March 16, 2026 11:21
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.

2 participants