VirtualBox

Changeset 90813 in vbox for trunk/src


Ignore:
Timestamp:
Aug 23, 2021 8:09:42 PM (3 years ago)
Author:
vboxsync
Message:

Storage/VDDumpImage: Don't crash if pDisk->pInterfaceError is NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VD.cpp

    r90812 r90813  
    94139413    AssertMsg(pDisk->u32Signature == VDISK_SIGNATURE, ("u32Signature=%08x\n", pDisk->u32Signature));
    94149414
    9415     if (!pDisk->pInterfaceError || !RT_VALID_PTR(pDisk->pInterfaceError->pfnMessage)) /** @todo r=bird: first test is boinkers. */
     9415    AssertPtrReturnVoid(pDisk->pInterfaceError);
     9416    if (!RT_VALID_PTR(pDisk->pInterfaceError->pfnMessage))
    94169417        pDisk->pInterfaceError->pfnMessage = vdLogMessage;
    94179418
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