VirtualBox

Ignore:
Timestamp:
Jan 23, 2012 4:05:57 PM (13 years ago)
Author:
vboxsync
Message:

PDM: Initial driver chain transformation code (untested).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp

    r39078 r39839  
    222222                    VERR_PDM_UNKNOWN_USBREG_VERSION);
    223223    AssertMsgReturn(    pReg->szName[0]
    224                     &&  strlen(pReg->szName) < sizeof(pReg->szName),
    225                     ("Invalid name '%s'\n", pReg->szName),
     224                    &&  strlen(pReg->szName) < sizeof(pReg->szName)
     225                    &&  pdmR3IsValidName(pReg->szName),
     226                    ("Invalid name '%.s'\n", sizeof(pReg->szName), pReg->szName),
    226227                    VERR_PDM_INVALID_USB_REGISTRATION);
    227228    AssertMsgReturn(pReg->fFlags == 0, ("fFlags=%#x\n", pReg->fFlags), VERR_PDM_INVALID_USB_REGISTRATION);
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