VirtualBox

Changeset 78122 in vbox


Ignore:
Timestamp:
Apr 15, 2019 9:33:32 AM (6 years ago)
Author:
vboxsync
Message:

Main: bugref:9075: allow using an UTF-8 string in the IMachine::SetExtraData and IVirtualBox::SetExtraData

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r78098 r78122  
    48454845        {
    48464846            char ch = aKey[i];
    4847             if (!RTLocCIsPrint(ch))
     4847            if (RT_C_IS_CNTRL(ch))
    48484848                return E_INVALIDARG;
    48494849        }
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r78098 r78122  
    21492149        {
    21502150            char ch = strKey[i];
    2151             if (!RTLocCIsPrint(ch))
     2151            if (RT_C_IS_CNTRL(ch))
    21522152                return E_INVALIDARG;
    21532153        }
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