mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user