- Timestamp:
- Jul 2, 2018 11:42:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
r72139 r72803 434 434 } 435 435 /** @todo RTStrCopy not exported. */ 436 strncpy(pIns->szPrevDriver, currentDriver, sizeof(pIns->szPrevDriver)); 436 strncpy(pIns->szPrevDriver, currentDriver, sizeof(pIns->szPrevDriver) - 1); 437 pIns->szPrevDriver[sizeof(pIns->szPrevDriver) - 1] = '\0'; 437 438 } 438 439
Note:
See TracChangeset
for help on using the changeset viewer.