[#] http://marc.info/?l=openbsd-cvs&m=140707625329287&w=2
openbsd-cvs(obsdave,2) — All
2014-08-03 18:55:09


Module name: src
Changes by: jsg@cvs.openbsd.org 2014/08/03 08:30:28

Modified files:
sys/dev/usb : ehci.c

Log message:
don't return unitialised memory on error in ehci_alloc_sqtd()

It seems mpi introduced a problem into ehci.c rev 1.162
two weeks ago. An error check that used to return NULL
now jumps to the end of the function, but sqtd isn't
initialised at that point.

ok miod@ deraadt@