Daniel Zimmerman

- First check for NULL before reference a member in it.
See issue #3907 for more details.

svn path=/trunk/; revision=37636
This commit is contained in:
Aleksey Bragin 2008-11-25 15:57:03 +00:00
parent 22cbf57aad
commit af008eee80

View file

@ -1428,10 +1428,11 @@ ohci_generic_urb_completion(PURB purb, PVOID context)
if (old_irql < DISPATCH_LEVEL)
KeRaiseIrql(DISPATCH_LEVEL, &old_irql);
pdev = purb->pdev;
if (purb == NULL)
goto LBL_LOWER_IRQL;
pdev = purb->pdev;
if (pdev == NULL)
goto LBL_LOWER_IRQL;