Changeset 103415 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 19, 2024 7:52:27 AM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161736
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 2 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 }
Note:
See TracChangeset
for help on using the changeset viewer.