VirtualBox

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


Ignore:
Timestamp:
Jun 27, 2017 3:21:40 PM (8 years ago)
Author:
vboxsync
Message:

ConsoleImpl2.cpp: strDebugOptions.parseKeyValue can return empty key/value strings if the string ends with a comma, so don't assert and fail on empty return strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r67440 r67639  
    12761276                    else if (strKey == "hypercallinterface")
    12771277                        fGimHvHypercallIf = RT_BOOL(strVal.toUInt32());
    1278                     else
     1278                    else if (strKey.isNotEmpty() || strVal.isNotEmpty())
    12791279                    {
    12801280                        AssertMsgFailed(("Unrecognized Hyper-V debug option '%s'\n", strKey.c_str()));
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