VirtualBox

Changeset 57546 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 26, 2015 10:25:36 AM (9 years ago)
Author:
vboxsync
Message:

UsbCardReader: Clear the pointer to the driver or we might run into a use after free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/UsbCardReader.cpp

    r57358 r57546  
    18551855    }
    18561856
    1857     /** @todo r=bird: why doesn't this set pThis->pUsbCardReader->mpDrv to NULL like
    1858      *        everyone else? */
     1857    pThis->pUsbCardReader->mpDrv = NULL;
    18591858    pThis->pUsbCardReader = NULL;
    18601859    LogFlowFuncLeave();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette