VirtualBox

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


Ignore:
Timestamp:
Feb 8, 2024 11:56:18 AM (12 months ago)
Author:
vboxsync
Message:

Backed out r161549 again (not wanted / bloat).

File:
1 edited

Legend:

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

    r103260 r103275  
    280280    int rc = RTPathAppend(pszModule, cchModule, DBGF_PLUG_IN_PREFIX);
    281281    AssertRCReturn(rc, VERR_TRY_AGAIN);
    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);
     282    strcat(&pszModule[cchPath], pPlugIn->szName);
     283    strcat(&pszModule[cchPath + sizeof(DBGF_PLUG_IN_PREFIX) - 1 + pPlugIn->cchName], pszSuff);
    286284    Assert(strlen(pszModule) < cchModule - 4);
    287285
     
    482480    rc = RTPathAppend(szPath, sizeof(szPath) - cchSuff, DBGF_PLUG_IN_PREFIX "*");
    483481    AssertRCReturnVoid(rc);
    484     rc = RTStrCat(szPath, sizeof(szPath), pszSuff);
    485     AssertRCReturnVoid(rc);
     482    strcat(szPath, pszSuff);
    486483
    487484    RTDIR hDir;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette