summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-11-07 20:37:33 +0000
committermpi <mpi@openbsd.org>2013-11-07 20:37:33 +0000
commitc020f0f683459b6460304c93a8190899bfb76d60 (patch)
treeeba6d131628b0f797e705acec49d1170bff14c51 /sys/kern/subr_hibernate.c
parentsync (diff)
downloadwireguard-openbsd-c020f0f683459b6460304c93a8190899bfb76d60.tar.xz
wireguard-openbsd-c020f0f683459b6460304c93a8190899bfb76d60.zip
In polling mode since r1.101 we could end up dereferencing an
uninitialized variable in case the transfer we were waiting for timed out; problem reported by oga@bitrig. So bring uhci_waitintr() in sync with its equivalent in ohci(4) and ehci(4), stop using an uhci_xfer, do not dereference it and set the correct status of the transfer.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions