VirtualBox

Changeset 14461 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 21, 2008 2:11:03 PM (16 years ago)
Author:
vboxsync
Message:

HostServices/GuestProperties: reverted r39730

Location:
trunk/src/VBox/HostServices/GuestProperties
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r14459 r14461  
    409409        rc = RTStrValidateEncodingEx(pszValue, RT_MIN(cbValue, (uint32_t) MAX_VALUE_LEN),
    410410                                     RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED);
    411     for (unsigned i = 0; RT_SUCCESS(rc) && i < cbValue; ++i)
    412         if (pszValue[i] == '*' || pszValue[i] == '?' || pszValue[i] == '|')
    413             rc = VERR_INVALID_PARAMETER;
    414411    if (RT_SUCCESS(rc))
    415412        LogFlow(("    pszValue=%s\n", cbValue > 0 ? pszValue : NULL));
  • trunk/src/VBox/HostServices/GuestProperties/testcase/tstGuestPropSvc.cpp

    r14458 r14461  
    419419    { "Amber", "Caution!", "", false, false, true },
    420420    { "Green", "Go!", "readonly", true, true, true },
    421     { "Blue", "What on earth...", "", true, false, true },
     421    { "Blue", "What on earth...?", "", true, false, true },
    422422    { "/test/name", "test", "", false, true, false },
    423423    { "TEST NAME", "test", "", true, true, false },
     
    583583      sizeof("/test/value\0RDONLYGUEST"), true, true, UINT64_C(999999999999) },
    584584    { "Green", "Go!\0READONLY", sizeof("Go!\0READONLY"), true, false, 0 },
    585     { "Blue", "What on earth...\0", sizeof("What on earth...\0"), true,
     585    { "Blue", "What on earth...?\0", sizeof("What on earth...?\0"), true,
    586586      false, 0 },
    587587    { "Red", "", 0, false, false, 0 },
     
    677677    { "Amber\0Caution!\0", sizeof("Amber\0Caution!\0") },
    678678    { "Green\0Go!\0READONLY", sizeof("Green\0Go!\0READONLY") },
    679     { "Blue\0What on earth...\0", sizeof("Blue\0What on earth...\0") },
     679    { "Blue\0What on earth...?\0", sizeof("Blue\0What on earth...?\0") },
    680680    { "Red\0\0", sizeof("Red\0\0") },
    681681    { "Amber\0\0", sizeof("Amber\0\0") },
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