- Timestamp:
- May 17, 2016 6:22:29 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/xml/Settings.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r61009 r61011 479 479 ssize_t cbOut = RTBase64DecodedSize(psz, NULL); 480 480 if (cbOut > DECODE_STR_MAX) 481 throw ConfigFileError(this, NULL, N_("Base64 encoded data too long. %d > %d"), cbOut, DECODE_STR_MAX); 481 throw ConfigFileError(this, NULL, N_("Base64 encoded data too long (%d > %d)"), cbOut, DECODE_STR_MAX); 482 else if (cbOut < 0) 483 throw ConfigFileError(this, NULL, N_("Base64 encoded data '%s' invalid"), psz); 482 484 binary.resize(cbOut); 483 485 int vrc = VINF_SUCCESS; … … 4973 4975 elmMachine.getAttributeValue("processPriority", machineUserData.strVMPriority); 4974 4976 4977 str.setNull(); 4975 4978 elmMachine.getAttributeValue("icon", str); 4976 4979 parseBase64(machineUserData.ovIcon, str);
Note:
See TracChangeset
for help on using the changeset viewer.

