Changeset 48874 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win/mon
- Timestamp:
- Oct 4, 2013 5:07:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
r48742 r48874 326 326 VBOXUSBFLT_LOCK_ACQUIRE(); 327 327 pDevice = vboxUsbFltDevGetLocked(pPdo); 328 /* 329 * Prevent a host crash when vboxUsbFltDevGetLocked fails to locate the matching PDO 330 * in g_VBoxUsbFltGlobals.DeviceList (see @bugref{6509}). 331 */ 328 332 if (pDevice == NULL) 329 333 { … … 1368 1372 VBOXUSBFLT_LOCK_ACQUIRE(); 1369 1373 pDevice = vboxUsbFltDevGetLocked(pPdo); 1374 /* 1375 * Prevent a host crash when vboxUsbFltDevGetLocked fails to locate the matching PDO 1376 * in g_VBoxUsbFltGlobals.DeviceList (see @bugref{6509}). 1377 */ 1370 1378 if (pDevice == NULL) 1371 1379 { … … 1391 1399 { 1392 1400 PVBOXUSBFLT_DEVICE pDevice = (PVBOXUSBFLT_DEVICE)hDev; 1401 /* 1402 * Prevent a host crash when VBoxUsbFltProxyStarted fails, returning NULL. 1403 * See @bugref{6509}. 1404 */ 1405 if (pDevice == NULL) 1406 { 1407 WARN(("VBoxUsbFltProxyStopped called with NULL device pointer")); 1408 return; 1409 } 1393 1410 VBOXUSBFLT_LOCK_ACQUIRE(); 1394 1411 if (pDevice->enmState == VBOXUSBFLT_DEVSTATE_CAPTURED
Note:
See TracChangeset
for help on using the changeset viewer.