Changeset 95334 in vbox for trunk/src/VBox/Main/xml/Settings.cpp
- Timestamp:
- Jun 21, 2022 7:49:35 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151926
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r95325 r95334 4675 4675 /** @todo r=bird: Should add a RTCString method for this, as this may create a 4676 4676 * invalid UTF-8 encoding if we chop up a UTF-8 sequence. */ 4677 Assert(prop.strValue.length() + 1 > =GUEST_PROP_MAX_VALUE_LEN);4678 prop.strValue.mutableRaw()[GUEST_PROP_MAX_VALUE_LEN - 2] = '\0';4677 Assert(prop.strValue.length() + 1 > GUEST_PROP_MAX_VALUE_LEN); 4678 prop.strValue.mutableRaw()[GUEST_PROP_MAX_VALUE_LEN - 1] = '\0'; 4679 4679 prop.strValue.jolt(); 4680 4680 }
Note:
See TracChangeset
for help on using the changeset viewer.