VirtualBox

Changeset 103275 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Feb 8, 2024 11:56:18 AM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161567
Message:

Backed out r161549 again (not wanted / bloat).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvAudio.cpp

    r103260 r103275  
    48424842#define QUERY_VAL_RET(a_Width, a_szName, a_pValue, a_uDefault, a_ExprValid, a_szValidRange) \
    48434843            do { \
    4844                 rc = RTStrCopy(szNm, sizeof(szNm), a_szName); \
    4845                 AssertRCReturn(rc, PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, \
    4846                                                        N_("Configuration error: Name '%s' too long [1]"), szNm)); \
    4847                 rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pDirNode, szNm, a_pValue); \
     4844                rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pDirNode, strcpy(szNm, a_szName), a_pValue); \
    48484845                if (rc == VERR_CFGM_VALUE_NOT_FOUND || rc == VERR_CFGM_NO_PARENT) \
    48494846                { \
    4850                     rc = RTStrCat(szNm, sizeof(szNm), pszDir); \
    4851                     AssertRCReturn(rc, PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, \
    4852                                                            N_("Configuration error: Name '%s' too long [2]"), pszDir)); \
    4853                     rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pCfg, szNm, a_pValue); \
     4847                    rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pCfg, strcat(szNm, pszDir), a_pValue); \
    48544848                    if (rc == VERR_CFGM_VALUE_NOT_FOUND || rc == VERR_CFGM_NO_PARENT) \
    48554849                    { \
Note: See TracChangeset for help on using the changeset viewer.

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