Changeset 102544 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 8, 2023 2:45:15 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevQemuFwCfg.cpp
r100173 r102544 722 722 pThis->u.CfgFile.uCfgItem = RT_H2BE_U16(pEntry->Cfg.uCfgItem); 723 723 pThis->u.CfgFile.u16Rsvd = 0; 724 strncpy( &pThis->u.CfgFile.szFilename[0], pEntry->Cfg.pszItem, sizeof(pThis->u.CfgFile.szFilename));724 strncpy(pThis->u.CfgFile.szFilename, pEntry->Cfg.pszItem, sizeof(pThis->u.CfgFile.szFilename)); 725 725 pThis->u.CfgFile.szFilename[QEMU_FW_CFG_ITEM_FILE_NAME_MAX] = '\0'; 726 726
Note:
See TracChangeset
for help on using the changeset viewer.