Changeset 103285 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 8, 2024 3:27:12 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGFR3PlugIn.cpp
r103275 r103285 280 280 int rc = RTPathAppend(pszModule, cchModule, DBGF_PLUG_IN_PREFIX); 281 281 AssertRCReturn(rc, VERR_TRY_AGAIN); 282 strcat(&pszModule[cchPath], pPlugIn->szName); 283 strcat(&pszModule[cchPath + sizeof(DBGF_PLUG_IN_PREFIX) - 1 + pPlugIn->cchName], pszSuff); 282 rc = RTStrCat(pszModule, cchModule, pPlugIn->szName); 283 AssertRCReturn(rc, VERR_TRY_AGAIN); 284 rc = RTStrCat(pszModule, cchModule, pszSuff); 285 AssertRCReturn(rc, VERR_TRY_AGAIN); 284 286 Assert(strlen(pszModule) < cchModule - 4); 285 287 … … 480 482 rc = RTPathAppend(szPath, sizeof(szPath) - cchSuff, DBGF_PLUG_IN_PREFIX "*"); 481 483 AssertRCReturnVoid(rc); 482 strcat(szPath, pszSuff); 484 rc = RTStrCat(szPath, sizeof(szPath), pszSuff); 485 AssertRCReturnVoid(rc); 483 486 484 487 RTDIR hDir;
Note:
See TracChangeset
for help on using the changeset viewer.