VirtualBox

Changeset 24355 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 4, 2009 8:30:10 PM (15 years ago)
Author:
vboxsync
Message:

AsyncCompletion: Fix crash when doing load balancing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp

    r23959 r24355  
    119119        pEpCurr->AioMgr.pEndpointNext = pNext;
    120120        pEpCurr->AioMgr.pEndpointPrev = pEpPrev;
    121         pNext->AioMgr.pEndpointPrev = pEpCurr;
     121
     122        if (pNext)
     123            pNext->AioMgr.pEndpointPrev = pEpCurr;
     124
    122125        if (pEpPrev)
    123126            pEpPrev->AioMgr.pEndpointNext = pEpCurr;
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