Changeset 33518 in vbox for trunk/src/VBox/Main/linux
- Timestamp:
- Oct 27, 2010 2:51:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/linux/HostHardwareLinux.cpp
r33100 r33518 347 347 348 348 /* Create a cleaned version of the model string for the UDI string. */ 349 for (unsigned i = 0; pcszModel[i] != '\0' && i < sizeof(szCleaned); ++i)349 for (unsigned i = 0; i < sizeof(szCleaned) && pcszModel[i] != '\0'; ++i) 350 350 if ( (pcszModel[i] >= '0' && pcszModel[i] <= '9') 351 351 || (pcszModel[i] >= 'A' && pcszModel[i] <= 'z'))
Note:
See TracChangeset
for help on using the changeset viewer.