- Timestamp:
- Feb 19, 2024 7:52:27 AM (12 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
r103165 r103415 1774 1774 pStartupInfo->psz##a_Str = (char *)RTMemRealloc(pStartupInfo->psz##a_Str, \ 1775 1775 RT_MIN(pStartupInfo->cb##a_Str * cGrowthFactor, a_cbMax)); \ 1776 AssertPtrBreakStmt(pStartupInfo->psz##a_Str, VERR_NO_MEMORY); \1776 AssertPtrBreakStmt(pStartupInfo->psz##a_Str, rc = VERR_NO_MEMORY); \ 1777 1777 pStartupInfo->cb##a_Str = RT_MIN(pStartupInfo->cb##a_Str * cGrowthFactor, a_cbMax); 1778 1778 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r103413 r103415 1440 1440 if (cbBufSize - cbBufUsed < cbTotal) /* Grow buffer, if needed. */ 1441 1441 { 1442 AssertBreakStmt(cbTotal <= cbGrowSize, VERR_BUFFER_OVERFLOW);1442 AssertBreakStmt(cbTotal <= cbGrowSize, rc = VERR_BUFFER_OVERFLOW); 1443 1443 pvBuf = RTMemRealloc(pvBuf, cbBufSize + cbGrowSize); 1444 AssertPtrBreakStmt(pvBuf, VERR_NO_MEMORY);1444 AssertPtrBreakStmt(pvBuf, rc = VERR_NO_MEMORY); 1445 1445 cbBufSize += cbGrowSize; 1446 1446 } -
trunk/src/VBox/Devices/Audio/AudioTest.cpp
r99739 r103415 2383 2383 } 2384 2384 2385 AssertBreakStmt(cbToCompare >= cbReadA, VERR_INTERNAL_ERROR);2385 AssertBreakStmt(cbToCompare >= cbReadA, rc = VERR_INTERNAL_ERROR); 2386 2386 cbToCompare -= cbReadA; 2387 2387 offCur += cbReadA; -
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r98103 r103415 1406 1406 1407 1407 uint32_t const cbBeaconRemaining = AudioTestBeaconGetRemaining(pBeacon); 1408 AssertBreakStmt(cbBeaconRemaining, VERR_WRONG_ORDER);1408 AssertBreakStmt(cbBeaconRemaining, rc = VERR_WRONG_ORDER); 1409 1409 1410 1410 /* Limit to exactly one beacon (pre or post). */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r102944 r103415 2283 2283 pszDstCur = RTStrDup(pszDst); 2284 2284 2285 AssertPtrBreakStmt(pszDstCur, VERR_NO_MEMORY);2285 AssertPtrBreakStmt(pszDstCur, hrc = E_OUTOFMEMORY); 2286 2286 2287 2287 if (pCtx->cVerbose) -
trunk/src/VBox/Main/glue/string.cpp
r98297 r103415 606 606 size_t cwcSrc; 607 607 int vrc = RTStrCalcUtf16LenEx(pszSrc, cchSrc, &cwcSrc); 608 AssertRC Stmt(vrc, E_INVALIDARG);608 AssertRCReturn(vrc, E_INVALIDARG); 609 609 610 610 size_t cwcOld = length(); … … 616 616 PRTUTF16 pwszDst = &m_bstr[cwcOld]; 617 617 vrc = RTStrToUtf16Ex(pszSrc, cchSrc, &pwszDst, cwcSrc + 1, NULL); 618 AssertRC Stmt(vrc, E_INVALIDARG);618 AssertRCReturn(vrc, E_INVALIDARG); 619 619 } 620 620 m_bstr[cwcTotal] = '\0'; -
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r98273 r103415 931 931 932 932 const char *pcszSource = DnDTransferObjectGetSourcePath(pObj); 933 AssertPtrBreakStmt(pcszSource, VERR_INVALID_POINTER);933 AssertPtrBreakStmt(pcszSource, vrc = VERR_INVALID_POINTER); 934 934 935 935 /** @todo Add sparse file support based on fFlags? (Use Open(..., fFlags | SPARSE). */ … … 1006 1006 1007 1007 const char *pcszSource = DnDTransferObjectGetSourcePath(pObj); 1008 AssertPtrBreakStmt(pcszSource, VERR_INVALID_POINTER);1008 AssertPtrBreakStmt(pcszSource, vrc = VERR_INVALID_POINTER); 1009 1009 1010 1010 AssertMsgReturn(DnDTransferObjectIsOpen(pObj), -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r98278 r103415 1008 1008 1009 1009 pvChunk += cbChunk; 1010 AssertBreakStmt(cbData >= cbChunk, VERR_BUFFER_UNDERFLOW);1010 AssertBreakStmt(cbData >= cbChunk, vrc = VERR_BUFFER_UNDERFLOW); 1011 1011 cbData -= cbChunk; 1012 1012 } -
trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
r103250 r103415 745 745 uint16_t off = *uCursor.pu16++; 746 746 uint16_t iSeg = *uCursor.pu16++; 747 /*uint16_t iType = */ *uCursor.pu16++;747 /*uint16_t iType = * */ uCursor.pu16++; 748 748 uint8_t cchName = *uCursor.pu8++; 749 749 RTDBGMODCV_CHECK_NOMSG_RET_BF(cchName > 0); … … 761 761 uint32_t off = *uCursor.pu32++; 762 762 uint16_t iSeg = *uCursor.pu16++; 763 /*uint16_t iType = */ *uCursor.pu16++;763 /*uint16_t iType = * */ uCursor.pu16++; 764 764 uint8_t cchName = *uCursor.pu8++; 765 765 RTDBGMODCV_CHECK_NOMSG_RET_BF(cchName > 0); … … 774 774 { 775 775 RTDBGMODCV_CHECK_NOMSG_RET_BF(cbRec > 2 + 4+4+4+2+2+2+2+2+2+1+1); 776 /*uint32_t uParent = */ *uCursor.pu32++;777 /*uint32_t uEnd = */ *uCursor.pu32++;778 /*uint32_t uNext = */ *uCursor.pu32++;776 /*uint32_t uParent = * */ uCursor.pu32++; 777 /*uint32_t uEnd = * */ uCursor.pu32++; 778 /*uint32_t uNext = * */ uCursor.pu32++; 779 779 uint16_t cbProc = *uCursor.pu16++; 780 /*uint16_t offDebugStart = */ *uCursor.pu16++;781 /*uint16_t offDebugEnd = */ *uCursor.pu16++;780 /*uint16_t offDebugStart = * */ uCursor.pu16++; 781 /*uint16_t offDebugEnd = * */ uCursor.pu16++; 782 782 uint16_t off = *uCursor.pu16++; 783 783 uint16_t iSeg = *uCursor.pu16++; 784 /*uint16_t iProcType = */ *uCursor.pu16++;785 /*uint8_t fbType = */ *uCursor.pu8++;784 /*uint16_t iProcType = * */ uCursor.pu16++; 785 /*uint8_t fbType = * */ uCursor.pu8++; 786 786 uint8_t cchName = *uCursor.pu8++; 787 787 RTDBGMODCV_CHECK_NOMSG_RET_BF(cchName > 0); … … 796 796 { 797 797 RTDBGMODCV_CHECK_NOMSG_RET_BF(cbRec > 2 + 4+4+4+4+4+4+4+2+2+1+1); 798 /*uint32_t uParent = */ *uCursor.pu32++;799 /*uint32_t uEnd = */ *uCursor.pu32++;800 /*uint32_t uNext = */ *uCursor.pu32++;801 /*uint32_t cbProc = */ *uCursor.pu32++;802 /*uint32_t offDebugStart = */ *uCursor.pu32++;803 /*uint32_t offDebugEnd = */ *uCursor.pu32++;798 /*uint32_t uParent = * */ uCursor.pu32++; 799 /*uint32_t uEnd = * */ uCursor.pu32++; 800 /*uint32_t uNext = * */ uCursor.pu32++; 801 /*uint32_t cbProc = * */ uCursor.pu32++; 802 /*uint32_t offDebugStart = * */ uCursor.pu32++; 803 /*uint32_t offDebugEnd = * */ uCursor.pu32++; 804 804 uint32_t off = *uCursor.pu32++; 805 805 uint16_t iSeg = *uCursor.pu16++; 806 /*uint16_t iProcType = */ *uCursor.pu16++;807 /*uint8_t fbType = */ *uCursor.pu8++;806 /*uint16_t iProcType = * */ uCursor.pu16++; 807 /*uint8_t fbType = * */ uCursor.pu8++; 808 808 uint8_t cchName = *uCursor.pu8++; 809 809 RTDBGMODCV_CHECK_NOMSG_RET_BF(cchName > 0); -
trunk/src/VBox/Runtime/common/log/tracelogreader.cpp
r99739 r103415 1181 1181 { 1182 1182 cbRet = pacbRawData[*pidxRawData]; 1183 *pidxRawData++;1183 pidxRawData++; 1184 1184 } 1185 1185 else -
trunk/src/VBox/Runtime/common/misc/fdt.cpp
r103344 r103415 572 572 return RTErrInfoSetF(pErrInfo, VERR_BUFFER_OVERFLOW, "Structs string too long to fit into target buffer"); 573 573 574 *pszStrSrc++;574 pszStrSrc++; 575 575 if (!cbLeft) 576 576 return RTErrInfoSetF(pErrInfo, VERR_FDT_DTB_STRUCTS_BLOCK_STRING_NOT_TERMINATED, "Structs block contains an unterminated string"); -
trunk/src/VBox/VMM/VMMR3/EM.cpp
r103194 r103415 880 880 if ( pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_RAW 881 881 || pVCpu->em.s.enmState == EMSTATE_DEBUG_HYPER) 882 AssertLogRelMsgFailedStmt(("Bad EM state."), VERR_EM_INTERNAL_ERROR);882 AssertLogRelMsgFailedStmt(("Bad EM state."), rc = VERR_EM_INTERNAL_ERROR); 883 883 #if !defined(VBOX_VMM_TARGET_ARMV8) 884 884 else if (pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_HM) -
trunk/src/VBox/VMM/VMMR3/VMMR3VTable.cpp
r98103 r103415 71 71 { 72 72 void * volatile pvCaller = ASMReturnAddress(); 73 AssertLogRel (("Reserved VMM function table entry called from %p!\n", pvCaller ));73 AssertLogRelMsgFailed(("Reserved VMM function table entry called from %p!\n", pvCaller )); 74 74 return VERR_INTERNAL_ERROR; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.