If a format descriptor doesn't contain any frame descriptors even if it
authormglocker <mglocker@openbsd.org>
Sat, 2 Aug 2008 12:32:23 +0000 (12:32 +0000)
committermglocker <mglocker@openbsd.org>
Sat, 2 Aug 2008 12:32:23 +0000 (12:32 +0000)
commit31dc8b5b3e917766c0e593f08677408cb7378645
tree635e76943e577fe4a5411273358514875febe4ba
parentc471df177168a9301a4d10a553958540dc6cd4b0
If a format descriptor doesn't contain any frame descriptors even if it
claims to (as seen on the M$ LifeCam NX6000), abort further processing.
Safes us from potential NULL pointer derefs.
sys/dev/usb/uvideo.c