VirtualBox

Changeset 33518 in vbox for trunk


Ignore:
Timestamp:
Oct 27, 2010 2:51:19 PM (14 years ago)
Author:
vboxsync
Message:

warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/HostHardwareLinux.cpp

    r33100 r33518  
    347347
    348348    /* 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)
    350350        if (   (pcszModel[i] >= '0' && pcszModel[i] <= '9')
    351351            || (pcszModel[i] >= 'A' && pcszModel[i] <= 'z'))
Note: See TracChangeset for help on using the changeset viewer.

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