diff options
author | 2008-03-31 21:15:20 +0000 | |
---|---|---|
committer | 2008-03-31 21:15:20 +0000 | |
commit | 021732e974e6c239bf1fa00248727f56f50c8e08 (patch) | |
tree | d4e25bb96d9929db7ab257677fd61e3720c54dd6 /sys/kern/subr_disk.c | |
parent | Fix format strings in a.out loader. (diff) | |
download | wireguard-openbsd-021732e974e6c239bf1fa00248727f56f50c8e08.tar.xz wireguard-openbsd-021732e974e6c239bf1fa00248727f56f50c8e08.zip |
strictly interpret msg_controllen to be the exact total length of the
cmsg's, including alignments, ie. the sum of CMSG_SPACE()'s. any other
interpretation would be in violation of various unix specifications.
RFC3542 section 20.2 is totally and completely wrong -- it is not
allowed to over-ride the specification of msg_controllen, since the
intent is that one could mix-and-match various types of cmsg's and an
exact match is therefore required. ok kettenis, tested by many
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions