Changeset 88899 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 6, 2021 12:37:27 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r88880 r88899 1855 1855 return VERR_NO_MEMORY; 1856 1856 1857 if (!RTStrPrintf(pStreamCfg->szName, sizeof(pStreamCfg->szName), "%s", pCfg->szName)) 1858 { 1859 PDMAudioStrmCfgFree(pStreamCfg); 1860 return VERR_BUFFER_OVERFLOW; 1861 } 1857 AssertCompile(sizeof(pStreamCfg->szName) == sizeof(pCfg->szName)); 1858 RTStrCopy(pStreamCfg->szName, sizeof(pStreamCfg->szName), pCfg->szName); 1862 1859 1863 1860 LogFunc(("[LUN#%RU8] %s\n", pDrv->uLUN, pStreamCfg->szName)); -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r88880 r88899 1990 1990 return VERR_NO_MEMORY; 1991 1991 1992 if (!RTStrPrintf(pStreamCfg->szName, sizeof(pStreamCfg->szName), "%s", pCfg->szName)) 1993 { 1994 PDMAudioStrmCfgFree(pStreamCfg); 1995 return VERR_BUFFER_OVERFLOW; 1996 } 1992 AssertCompile(sizeof(pStreamCfg->szName) == sizeof(pCfg->szName)); 1993 RTStrCopy(pStreamCfg->szName, sizeof(pStreamCfg->szName), pCfg->szName); 1997 1994 1998 1995 LogFunc(("[LUN#%RU8] %s\n", pDrv->uLUN, pStreamCfg->szName));
Note:
See TracChangeset
for help on using the changeset viewer.