- Fix potential uvm_fault crash in
authormglocker <mglocker@openbsd.org>
Wed, 23 Jul 2008 14:10:58 +0000 (14:10 +0000)
committermglocker <mglocker@openbsd.org>
Wed, 23 Jul 2008 14:10:58 +0000 (14:10 +0000)
commitccacf80b65b808d72ba36d1f44f75d6924e0d610
treebc72c6b51cf954bb6682d0109fbc5528988f1777
parent45d6f03d141585c79d84d15b06e61f971590e7f5
- Fix potential uvm_fault crash in
uvideo_vs_parse_desc_frame_uncompressed().

- If a VS alternate interface isn't valid (e.g. doesn't contain a
UE_ISOCHRONOUS endpoint), abort attachment with a corresponding error
message instead crashing the kernel.

Tested and OK maja@
sys/dev/usb/uvideo.c