VirtualBox

Changeset 93087 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Dec 27, 2021 10:02:49 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149099
Message:

VMM/PDMAsyncCompletionFile.cpp: Don't try to access pTask->pNext when allocating a new task structure failed on success pNext will be zeroed anyway when returning from MMR3HeapAllocZEx(), bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp

    r87766 r93087  
    148148            pTask = NULL;
    149149
    150         LogFlow(("Allocated task %p\n", pTask));
     150        LogFlow(("Allocated task %p -> %Rrc\n", pTask, rc));
    151151    }
    152152    else
     
    158158        pEndpoint->pTasksFreeHead = pTask->pNext;
    159159        ASMAtomicDecU32(&pEndpoint->cTasksCached);
    160     }
    161 
    162     pTask->pNext = NULL;
     160        pTask->pNext = NULL;
     161    }
    163162
    164163    return pTask;
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