diff options
author | des <des@FreeBSD.org> | 2004-08-23 12:41:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-08-23 12:41:29 +0000 |
commit | bf69a165581d2df18a7ae0a951e5879204f1b6fe (patch) | |
tree | 6f79c400df57d04c123588155a72c157c74bdd96 /lib/libc | |
parent | ef4abb9432cc1aafe7d102f1dad8c709ff741c86 (diff) | |
download | FreeBSD-src-bf69a165581d2df18a7ae0a951e5879204f1b6fe.zip FreeBSD-src-bf69a165581d2df18a7ae0a951e5879204f1b6fe.tar.gz |
Don't try to translate the control message unless we're certain it's
valid; otherwise a caller could trick us into changing any 32-bit word
in kernel memory to LINUX_SOL_SOCKET (0x00000001) if its previous value
is SOL_SOCKET (0x0000ffff).
MFC after: 3 days
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions