VirtualBox

Changeset 13364 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 17, 2008 8:16:58 AM (16 years ago)
Author:
vboxsync
Message:

Main(Guest Properties): missing null pointer check

File:
1 edited

Legend:

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

    r13356 r13364  
    28082808        return E_INVALIDARG;
    28092809    uint32_t fFlags = NILFLAG;
    2810     if (RT_FAILURE (validateFlags (Utf8Str(aFlags).raw(), &fFlags)))
     2810    if ((aFlags != NULL) && RT_FAILURE (validateFlags (Utf8Str(aFlags).raw(), &fFlags)))
    28112811        return setError (E_INVALIDARG, tr ("Invalid flag values: '%ls'"),
    28122812                aFlags);
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