summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2016-12-20 15:38:46 +0000
committerpatrick <patrick@openbsd.org>2016-12-20 15:38:46 +0000
commit281272dced87a0416c6fdee125c6e622f9eeabf1 (patch)
tree63e449ee856e3c901c4306085fcf0d58197524a1 /sys/kern/uipc_socket.c
parentGroup identical close_in_jack() and close_out_jack() into a single (diff)
downloadwireguard-openbsd-281272dced87a0416c6fdee125c6e622f9eeabf1.tar.xz
wireguard-openbsd-281272dced87a0416c6fdee125c6e622f9eeabf1.zip
This commit removes bio_status() calls after a BIOCLOCATE since the
bio status will never be updated on a BIOCLOCATE. In addition with missed zeroing of the passed bio struct, this could lead to a print of uninitialized memory. While there, properly zero the bio struct before passing it to ioctl(). ok mikeb@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions