summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/mac.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-04-29 14:11:23 +0000
committermpi <mpi@openbsd.org>2014-04-29 14:11:23 +0000
commit12ec0f464cd12fecc3f098ab3e9250498090b714 (patch)
treeaa082abede4aeb82e0683d50fcc103258747d4de /usr.bin/ssh/mac.c
parentnginx dudes unrolled SSL_OP_ALL by hand so we also have to delete (diff)
downloadwireguard-openbsd-12ec0f464cd12fecc3f098ab3e9250498090b714.tar.xz
wireguard-openbsd-12ec0f464cd12fecc3f098ab3e9250498090b714.zip
Finally plug the public xfer leak #1 in our USB stack.
Every call to usbd_abort_pipe() on an interrupt pipe would simply reset the intrxfer pointer, which would prevent usbd_close_pipe() to free it. Since we abort pipes in a lot of situations: when a device is detached, when a USB-to-serial adapter is closed, when an error occurs, when the machine is suspended, etc, this would result in hundreds of leaked xfers in most of my machines. xhci(4) is not affected, but you can't enable it right now since the stack is not ready :) While here put a KASSERT() to make sure drivers are only calling the interrupt abort method for intrxfer, if that's not the case, please let met know.
Diffstat (limited to 'usr.bin/ssh/mac.c')
0 files changed, 0 insertions, 0 deletions