VirtualBox

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


Ignore:
Timestamp:
Jun 30, 2011 9:07:33 AM (13 years ago)
Author:
vboxsync
Message:

Main/VRDEServer: fix GetVRDEProperty method, for unknown values it might return garbage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp

    r35638 r37700  
    476476    settings::StringsMap::const_iterator it = mData->mProperties.find(strKey);
    477477    if (it != mData->mProperties.end())
    478     {
    479478        value = it->second; // source is a Utf8Str
    480         value.cloneTo(aValue);
    481     }
     479    value.cloneTo(aValue);
    482480
    483481    return S_OK;
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