Changeset 53692 in vbox for trunk/src/VBox/ExtPacks
- Timestamp:
- Jan 2, 2015 12:41:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0/VBoxDTraceR0.cpp
r53691 r53692 1530 1530 PSUPDRVVDTPROVIDERCORE pProv = (PSUPDRVVDTPROVIDERCORE)pvProv; 1531 1531 unsigned uArg = pArgDesc->dtargd_ndx; 1532 pArgDesc->dtargd_ndx = DTRACE_ARGNONE; 1532 1533 1533 1534 if (!pProv->TracerData.DTrace.fZombie) … … 1537 1538 PVTGDESCARGLIST pArgList = (PVTGDESCARGLIST)((uintptr_t)pProv->pHdr->paArgLists + pProbeDesc->offArgList); 1538 1539 1539 Assert (pProbeDesc->offArgList < pProv->pHdr->cbArgLists);1540 if ( pArgList->cArgs > uArg)1540 AssertReturnVoid(pProbeDesc->offArgList < pProv->pHdr->cbArgLists); 1541 if (uArg < pArgList->cArgs) 1541 1542 { 1542 1543 const char *pszType = vboxDtVtgGetString(pProv->pHdr, pArgList->aArgs[uArg].offType); … … 1545 1546 { 1546 1547 memcpy(pArgDesc->dtargd_native, pszType, cchType + 1); 1547 /** @todo mapping */ 1548 pArgDesc->dtargd_ndx = uArg; 1549 /** @todo mapping? */ 1548 1550 return; 1549 1551 } … … 1551 1553 } 1552 1554 1553 pArgDesc->dtargd_ndx = DTRACE_ARGNONE;1554 1555 } 1555 1556
Note:
See TracChangeset
for help on using the changeset viewer.