Page MenuHomeFreeBSD

Improve input validation for IPPROTO_IPV6 level socket option IPV6_CHECKSUM
ClosedPublic

Authored by tuexen on Apr 19 2019, 4:31 PM.

Details

Summary

When setting the offset, don't allow negative values except -1, since they are not supported.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tuexen created this revision.Apr 19 2019, 4:31 PM
thj accepted this revision.Apr 19 2019, 4:39 PM

Looks good to me

This revision is now accepted and ready to land.Apr 19 2019, 4:39 PM
bz accepted this revision.Apr 19 2019, 4:52 PM
This revision was automatically updated to reflect the committed changes.