Changeset 15109 in vbox
- Timestamp:
- Dec 8, 2008 1:55:37 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r15053 r15109 853 853 for (size_t i = 0; i < names.size(); ++ i) 854 854 { 855 rc = CFGMR3InsertString (pVDC, Utf8Str (names [i]), 856 Utf8Str (values [i])); RC_CHECK(); 855 if (values [i]) 856 rc = CFGMR3InsertString (pVDC, Utf8Str (names [i]), 857 Utf8Str (values [i])); RC_CHECK(); 857 858 } 858 859 } -
trunk/src/VBox/Main/HardDisk2Impl.cpp
r15051 r15109 3135 3135 return VERR_CFGM_VALUE_NOT_FOUND; 3136 3136 3137 memcpy (pszValue, value, value.length() );3137 memcpy (pszValue, value, value.length() + 1); 3138 3138 3139 3139 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.