Changeset 48742 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
- Timestamp:
- Sep 27, 2013 5:05:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
r38513 r48742 326 326 VBOXUSBFLT_LOCK_ACQUIRE(); 327 327 pDevice = vboxUsbFltDevGetLocked(pPdo); 328 if (pDevice->enmState > VBOXUSBFLT_DEVSTATE_ADDED) 328 if (pDevice == NULL) 329 { 330 WARN(("failed to get device for PDO(0x%p)", pPdo)); 331 } 332 else if (pDevice->enmState > VBOXUSBFLT_DEVSTATE_ADDED) 329 333 { 330 334 vboxUsbFltDevRetain(pDevice); … … 1364 1368 VBOXUSBFLT_LOCK_ACQUIRE(); 1365 1369 pDevice = vboxUsbFltDevGetLocked(pPdo); 1366 if (pDevice->enmState = VBOXUSBFLT_DEVSTATE_CAPTURING) 1370 if (pDevice == NULL) 1371 { 1372 WARN(("failed to get device for PDO(0x%p)", pPdo)); 1373 } 1374 else if (pDevice->enmState = VBOXUSBFLT_DEVSTATE_CAPTURING) 1367 1375 { 1368 1376 pDevice->enmState = VBOXUSBFLT_DEVSTATE_CAPTURED;
Note:
See TracChangeset
for help on using the changeset viewer.