diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-20 18:40:17 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-20 18:40:17 +0000 |
commit | 8cfcf013a6eca4eedd9113481528033099b1ec93 (patch) | |
tree | 1ec0c096c180f3246d8ce771dd7bba2f53d6ede7 /sys/kern/vfs_vops.c | |
parent | 596098ddd9b53eae29dc9c4d0fbfc839c61e0d9d (diff) |
When receiving a struct sockaddr from userland, enforce that memory
for sa_len and sa_family is provided. This will make handling of
socket name mbufs within the kernel safer.
issue reported by Ilja Van Sprundel; OK claudio@
Diffstat (limited to 'sys/kern/vfs_vops.c')
0 files changed, 0 insertions, 0 deletions