VirtualBox

Changeset 24779 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 19, 2009 9:50:47 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54990
Message:

DevVGA_VBVA: avoid crash if callback is NULL (xTracker 4461).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r24714 r24779  
    10381038static unsigned vbvaVHWAHandleCommand (PVGASTATE pVGAState, VBVACONTEXT *pCtx, PVBOXVHWACMD pCmd)
    10391039{
    1040     pVGAState->pDrv->pfnVHWACommandProcess(pVGAState->pDrv, pCmd);
     1040    if (pVGAState->pDrv->pfnVHWACommandProcess)
     1041        pVGAState->pDrv->pfnVHWACommandProcess(pVGAState->pDrv, pCmd);
     1042    else
     1043        AssertFailed();
    10411044    return 0;
    10421045}
Note: See TracChangeset for help on using the changeset viewer.

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