VirtualBox

Changeset 87560 in vbox


Ignore:
Timestamp:
Feb 3, 2021 11:33:24 AM (4 years ago)
Author:
vboxsync
Message:

Devics/Storage/DrvRamDisk.cpp: Implement missing interface callback causing a NULL pointer access on VM suspend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvRamDisk.cpp

    r82968 r87560  
    11531153
    11541154/**
     1155 * @interface_method_impl{PDMIMEDIAEX,pfnNotifySuspend}
     1156 */
     1157static DECLCALLBACK(void) drvramdiskNotifySuspend(PPDMIMEDIAEX pInterface)
     1158{
     1159    RT_NOREF(pInterface);
     1160}
     1161
     1162
     1163/**
    11551164 * @interface_method_impl{PDMIMEDIAEX,pfnIoReqAllocSizeSet}
    11561165 */
     
    17101719    /* IMediaEx */
    17111720    pThis->IMediaEx.pfnQueryFeatures            = drvramdiskQueryFeatures;
     1721    pThis->IMediaEx.pfnNotifySuspend            = drvramdiskNotifySuspend;
    17121722    pThis->IMediaEx.pfnIoReqAllocSizeSet        = drvramdiskIoReqAllocSizeSet;
    17131723    pThis->IMediaEx.pfnIoReqAlloc               = drvramdiskIoReqAlloc;
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