Epoll / IoUring: setTcpMg5Sig(...) might overflow by normanmaurer · Pull Request #16511 · netty/netty (original) (raw)
Motivation:
We did not check that the provided byte[] will fin into tcpm_key and so might overflow
Modifications:
Add length check and if it does not fit throw
Result:
No risk of overflow
normanmaurer added a commit that referenced this pull request
Motivation:
We did not check that the provided byte[] will fin into tcpm_key and so might overflow
Modifications:
Add length check and if it does not fit throw
Result:
No risk of overflow
netty-project-bot pushed a commit that referenced this pull request
Motivation:
We did not check that the provided byte[] will fin into tcpm_key and so might overflow
Modifications:
Add length check and if it does not fit throw
Result:
No risk of overflow
(cherry picked from commit cfd0d9a)
normanmaurer added a commit that referenced this pull request
Motivation:
We did not check that the provided byte[] will fin into tcpm_key and so might overflow
Modifications:
Add length check and if it does not fit throw
Result:
No risk of overflow
normanmaurer added a commit that referenced this pull request
Auto-port of #16511 to 5.0 Cherry-picked commit: cfd0d9a
Motivation:
We did not check that the provided byte[] will fin into tcpm_key and so might overflow
Modifications:
Add length check and if it does not fit throw
Result:
No risk of overflow
Co-authored-by: Norman Maurer norman_maurer@apple.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})