VirtualBox

Changeset 25330 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 11, 2009 2:09:45 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55912
Message:

Main: fix parameter checking in AdoptSavedState

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r25310 r25330  
    21042104STDMETHODIMP Console::AdoptSavedState(IN_BSTR aSavedStateFile)
    21052105{
    2106     CheckComArgNotNull(aSavedStateFile);
     2106    CheckComArgStrNotEmptyOrNull(aSavedStateFile);
    21072107
    21082108    AutoCaller autoCaller(this);
  • trunk/src/VBox/Main/MachineImpl.cpp

    r25326 r25330  
    91609160    LogFlowThisFunc(("\n"));
    91619161
    9162     AssertReturn(aSavedStateFile, E_INVALIDARG);
     9162    CheckComArgStrNotEmptyOrNull(aSavedStateFile);
    91639163
    91649164    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