VirtualBox

Changeset 15994 in vbox


Ignore:
Timestamp:
Jan 16, 2009 2:16:33 PM (16 years ago)
Author:
vboxsync
Message:

Fe/VBoxManage, Main: Enumerating guest properties did not work correctly (invalid parameter).

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp

    r15051 r15994  
    353353 * Pack the patterns
    354354 */
    355     Utf8Str Utf8Patterns(argc > 2 ? argv[2] : "");
     355    Utf8Str Utf8Patterns(argc > 2 ? argv[2] : "*");
    356356    for (ssize_t i = 3; i < argc; ++i)
    357357        Utf8Patterns = Utf8StrFmt ("%s,%s", Utf8Patterns.raw(), argv[i]);
  • trunk/src/VBox/Main/MachineImpl.cpp

    r15991 r15994  
    31703170    if (!VALID_PTR (aPatterns) && (aPatterns != NULL))
    31713171        return E_POINTER;
    3172     CheckComArgSafeArrayNotNull (aNames);
    3173     CheckComArgSafeArrayNotNull (aValues);
    3174     CheckComArgSafeArrayNotNull (aTimestamps);
    3175     CheckComArgSafeArrayNotNull (aFlags);
     3172
     3173    if (ComSafeArrayOutIsNull (aNames))
     3174        return E_POINTER;
     3175    if (ComSafeArrayOutIsNull (aValues))
     3176        return E_POINTER;
     3177    if (ComSafeArrayOutIsNull (aTimestamps))
     3178        return E_POINTER;
     3179    if (ComSafeArrayOutIsNull (aFlags))
     3180        return E_POINTER;
    31763181
    31773182    AutoCaller autoCaller (this);
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