Commit 779fce7
Auto-port 4.1: Epoll: Use correct value to initialize mmsghdr.msg_namelen (#16467)
Auto-port of #16460 to 4.1
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
Co-authored-by: Norman Maurer <[email protected]>1 parent 56d84e1 commit 779fce7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| |||
0 commit comments